Releases: jsx-eslint/eslint-plugin-jsx-a11y
Releases · jsx-eslint/eslint-plugin-jsx-a11y
v6.5.0
What's Changed
- Upgrade jsx-ast-utils dependency to v3.1.0 by @jessebeach in #754
- Remove no-onchange from recommended and strict by @karlhorky in #757
- Turn off label-has-for in strict rule set by @janmonschke in #734
- Ran npm update; latest packages by @jessebeach in #763
- [New]
label-has-associated-control
: Add glob support by @hallzac2 in #749 - [doc] Add link to MDN Aria documentation by @arjansingh in #762
- [Tests] migrate tests to Github Actions by @ljharb in #764
- docs: Add example for tabIndex on seemingly non-interactive element by @eps1lon in #760
- Add Next.js case to anchor-is-valid rule docs by @zackdotcomputer in #769
- [Docs]
no-redundant-roles
: Adds missing closing square bracket by @mikeriley131 in #775 - [Docs]
anchor-is-valid
: general cleanup by @Anima-t3d in #728 - Update flow-bin version to support aarch64 by @odidev in #784
- Fully deprecate accessible-emoji rule by @backwardok in #782
- Fix Flow warnings by @jessebeach in #785
- [Docs] Document the similarity between html-has-lang and lang by @denis-sokolov in #778
- [Docs] Clarify the title of the strictness table in the main doc by @denis-sokolov in #786
- Update recommended config to allow fieldset to have the radiogroup role by @hallzac2 in #746
- Update focus/hover style for link-button by @mdvorscak in #662
- Support img role for canvas. Fix for #648. by @markwoon in #796
- Fix no-access-key wording and grammar by @breadadams in #800
- [Docs]
scope
: replace duplicate scope word by @rafaelss95 in #799 - [Tests] use
@babel/eslint-parser
instead ofbabel-eslint
by @MichaelDeBoey in #811 - Switch to
export default
syntax for exporting rules by @bmish in #819 - Add
eslint-plugin-eslint-plugin
by @bmish in #818 - add missing close / for jsx succeed example by @adamrhunter in #821
- [Docs] HTTP => HTTPS by @Schweinepriester in #823
- [New] support ESLint 8.x by @MichaelDeBoey in #810
New Contributors
- @karlhorky made their first contribution in #757
- @janmonschke made their first contribution in #734
- @hallzac2 made their first contribution in #749
- @arjansingh made their first contribution in #762
- @zackdotcomputer made their first contribution in #769
- @mikeriley131 made their first contribution in #775
- @Anima-t3d made their first contribution in #728
- @odidev made their first contribution in #784
- @denis-sokolov made their first contribution in #778
- @mdvorscak made their first contribution in #662
- @markwoon made their first contribution in #796
- @breadadams made their first contribution in #800
- @rafaelss95 made their first contribution in #799
- @bmish made their first contribution in #819
- @adamrhunter made their first contribution in #821
- @Schweinepriester made their first contribution in #823
Full Changelog: v6.4.1...v6.5.0
v6.4.1
What's Changed
- Adding test cases for label tests by @jessebeach in #709
- docs: fix travis badge by @AviVahl in #711
- Account for additional control elements in label-has-associated-control by @jessebeach in #710
- Additional test case for no-redundant-roles by @jessebeach in #707
- Negative tabindex is allowed in aria-activedescendant-has-tabindex rule by @jessebeach in #708
- Add a testcase for tablist to interactive supports focus by @jessebeach in #714
- Deprecate the accessible-emoji rule by @jessebeach in #713
- Update to [email protected] by @jessebeach in #712
- Add failing test for autocomplete with dynamic type by @lencioni in #721
- Add WCAG guidelines to rule documentation by @backwardok in #719
- [fix:635] Ignore control elements that are hidden by @jessebeach in #723
- Fixed rule name in comments by @chiragswadia in #724
- Fix screenreader -> screen reader by @piperchester in #725
- Adds translations directory, Spanish README -- linked in original README by @ari-os310 in #737
- CHANGELOG update for v6.4.0 by @jessebeach in #753
New Contributors
- @AviVahl made their first contribution in #711
- @chiragswadia made their first contribution in #724
- @piperchester made their first contribution in #725
- @ari-os310 made their first contribution in #737
Full Changelog: v6.3.1...v6.4.1
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 [email protected], which includes new ARIA 1.1 properties. Previously, the
aria-props
rule incorrectly threw errors for these new properties.