Releases: jsx-eslint/eslint-plugin-jsx-a11y
Releases · jsx-eslint/eslint-plugin-jsx-a11y
v6.2.0
6.2.0 / 2019-01-25
- 5650674 [new rule] control-has-associated-label checks interactives for a label
- f234698 [docs] add How to manage IDs
- 9924d03 [docs] document jsx-a11y/label-has-associated-control assert option
- 77b9870 [docs] Add newlines below headings
- 8244e43 [docs] Add syntax highlighting to example
- 26f41c8 [docs] Change explanation for role="presentation" escape hatch
- 33a1f94 [fix] - Purely decorative emojis do not need descriptions.
- 29d20f7 [fix] (package): update emoji-regex to version 7.0.2
- 0b63f73 [chore] (package): update flow-bin to version 0.88.0
- baa1344 [fix] Disable jsx-a11y/label-has-for in recommended
- 2c5fb06 [chore] (package): update jscodeshift to version 0.6.0
- 87debc0 [fix] corrected no-noninteractive-element-to-interactive-role.md file
- d56265b [chore] (package): update flow-bin to version 0.87.0
- 477966f [fix] Update test for implicit role of
img
- f484ce3 [fix] No implicit role for
<img>
withalt=""
- 6c33bcb [fix] Add select to the list of default control elements in label-has-associated-control
- 011f8d9 [fix] Dialog and Alert roles can host keyboard listeners
- 0f6a8af [fix] More easier
plugin:jsx-a11y/{recommended,strict}
configs - 3844248 [fix] Mark the replacement for label-has-for
- 93265cb [fix] normalizedValues to values
- 651366c [fix] Make aria-role case sensitive
- 56d3b9a [fix] [484] Fix role-has-required-aria-props for semantic elements like input[checkbox]
- 46e9abd [fix] Handle the type={truthy} case in jsx
Minor fixes and documentation updates
Bugfixes
Support eslint v5
6.1.0 / 2018-06-26
- [new] Support for eslint v5, #451
- [new] aria-query updated to latest version
- [new] eslint-config-airbnb-base updated to the latest version
- [deprecate] The rule label-has-for is deprecated and replaced with label-has-associated-control
- [fix] heading-has-content updated to work with custom components, #431
- [fix] aria-errormessage prop is now a valid ARIA property, #424
Republish with correct dependency versioning
jsx-ast-utils
was using incorrect major version for v6.0.2 of this plugin. This version republishes the same code with jsx-ast-utils@^2.0.0
Fix .npmignore
See #279
Remove src and and flow from tarball
Lots of updates!
- [new] Add rule
anchor-is-valid
. See documentation for configuration options. Thanks @AlmeroSteyn. - [breaking]
href-no-hash
replaced withanchor-is-valid
in the recommended and strict configs. Use theinvalidHref
aspect (active by default) inanchor-is-valid
to continue to apply the behavior provided byhref-no-hash
. - [breaking] Removed support for ESLint peer dependency at version ^2.10.2.
- [update] The rule
label-has-for
now allows inputs nested in label tags. Previously it was strict about requiring afor
attribute. Thanks @ignatiusreza and @mjaltamirano. - [update] New configuration for
interactive-supports-focus
. Recommended and strict configs for now contain a trimmed-down whitelist of roles that will be checked. - [fix] Incompatibility between node version 4 and 5. Thanks @evilebottnawi.
- [fix] Missing README entry for
media-has-caption
. Thanks @ismail-syed. - [fix] README updates explaining recommended and strict configs. Thanks @Donaldini.
- [fix] Updated to aria-query@0.7.0, which includes new ARIA 1.1 properties. Previously, the
aria-props
rule incorrectly threw errors for these new properties.
Support eslint v4
v5.1.0 Added thanks to mjaltamirano in CHANGELOG
Include flow directory in published package
for explicit imports in v5.0.2