Eslint Plugin Jsx A11y Versions Save

Static AST checker for a11y rules on JSX elements.

v6.0.1

6 years ago

See #277

v6.0.0

6 years ago
  • [new] Add rule anchor-is-valid. See documentation for configuration options. Thanks @AlmeroSteyn.
  • [breaking] href-no-hash replaced with anchor-is-valid in the recommended and strict configs. Use the invalidHref aspect (active by default) in anchor-is-valid to continue to apply the behavior provided by href-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 a for 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.

v5.1.0

6 years ago

5.0.3

7 years ago

for explicit imports in v5.0.2

5.0.2

7 years ago

Explicitly import flow types to resolve flow failures in consuming projects.

5.0.1

7 years ago

Swapped Array.includes for array-includes polyfill to support node versions <4

v5.0.0

7 years ago

[breaking] Refactor img-has-alt rule into alt-text rule [breaking] Rule onclick-has-role is removed. Replaced with no-static-element-interactions and no-noninteractive-element-interactions. [breaking] Rule onclick-has-focus is removed. Replaced with interactive-supports-focus. [new] - Add rule media-has-caption rule [new] - Add ignoreNonDOM option to no-autofocus. [new] - Add rule no-interactive-element-to-noninteractive-role [new] - Add rule no-noninteractive-element-to-interactive-role [new] - Add rule no-noninteractive-tabindex [new] - Configs split into "recommended" and "strict". [enhanced] - Configuration options added to no-static-element-interactions and no-noninteractive-element-interactions. Options allow for fine-tuning of elements and event handlers to check.

4.0.0

7 years ago

Add new rules:

jsx-a11y/accessible-emoji jsx-a11y/aria-activedescendant-has-tabindex jsx-a11y/iframe-has-title jsx-a11y/no-autofocus jsx-a11y/no-distracting-elements (breaking: consolidated no-marquee and no-blink into this rule.) jsx-a11y/no-redundant-roles

[fix] - redundant-alt to only check full words [docs] - Documentation upgrades across the board. [new] - Add ignoreNonDom option to aria-role [dev] - Add script to scaffold new rule creation.

3.0.2

7 years ago

Fixes #125

v3.0.1

7 years ago
  • [breaking] - Update all rule schemas to accept objects. This allows a future schema expansion to not be a breaking change.
  • [breaking] - All rules with schemas that accepted a string OR array, now only allows an array.
  • [new] - href-no-hash accepts new schema property specialLink to check for custom href properties on elements. (fixes #76)
  • [breaking][fix] - img-has-alt now prefers alt="" over role="presentation". You can set both, but not just role="presentation" by itself to ensure a11y across all devices.

Note - see rule documentation for updated schemas.