8.9 KiB
5.0.3 / 2017-05-16
- [fix] Remove
flowdirectory from.npmignoreto accommodate explicit imports fromv5.0.2.
5.0.2 / 2017-05-16
- [fix] Explicitly import flow types to resolve flow failures in consuming projects.
5.0.1 / 2017-05-07
- [fix] Polyfill Array.includes for node < 6 support.
5.0.0 / 2017-05-05
- [breaking] Refactor
img-has-altrule intoalt-textrule - [breaking] Rule
onclick-has-roleis removed. Replaced withno-static-element-interactionsandno-noninteractive-element-interactions. - [breaking] Rule
onclick-has-focusis removed. Replaced withinteractive-supports-focus. - [new] - Add rule
media-has-captionrule - [new] - Add
ignoreNonDOMoption tono-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-interactionsandno-noninteractive-element-interactions. Options allow for fine-tuning of elements and event handlers to check.
4.0.0 / 2017-02-04
Add new rules:
jsx-a11y/accessible-emojijsx-a11y/aria-activedescendant-has-tabindexjsx-a11y/iframe-has-titlejsx-a11y/no-autofocusjsx-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 - [dev] - Add script to scaffold new rule creation.
3.0.2 / 2016-12-14
- [fix] - make
aria-invalidvalues true and false pass for rulearia-proptypes
3.0.1 / 2016-10-11
- [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-hashaccepts new schema propertyspecialLinkto check for customhrefproperties on elements. (fixes #76) - [breaking][fix] -
img-has-altnow prefersalt=""overrole="presentation". You can set both, but not justrole="presentation"by itself to ensure a11y across all devices.
Note - see rule documentation for updated schemas.
2.2.3 / 2016-10-08
- [fix] - Add
switcharia role. - [devDependencies] - Updgrade dev dependencies and fix linting issues.
2.2.2 / 2016-09-12
- [fix]
x-has-contentrules now pass with children prop set.
2.2.1 / 2016-08-31
- [fix] Update
tablistrole to include missing propertyaria-multiselectable.
2.2.0 / 2016-08-26
- [new] Add
click-events-have-key-eventsrule. - [new] Add
no-static-element-interactionsrule. - [devDependencies] Upgrade
eslint,eslint-config-airbnb,mochato latest. - [lint] Fix all new linting errors with upgrade
- [nit] Use
errorsyntax over2syntax in recommended config.
2.1.0 / 2016-08-10
- [fix] Require
aria-checkedfor roles that are subclasses ofcheckbox - [new] Add
anchor-has-contentrule. - [refactor] Use new eslint rule syntax
- [new] Add support for custom words in
img-redundant-alt(mainly for i18n).
2.0.1 / 2016-07-13
- [fix] JSXElement support in expression handlers for prop types.
- [fix]
heading-has-content: dangerouslySetInnerHTML will pass.
2.0.0 / 2016-07-12
- [breaking] Scope
no-onchangerule to select menu elements only.
1.5.5 / 2016-07-05
- [fix] Add
eslintv3 as apeerDependency.
1.5.4 / 2016-07-05
- [fix] Add
eslintas apeerDependency.
1.5.3 / 2016-06-16
- [fix] Fix crash when
<ELEMENT role />forrole-supports-aria-props.
1.5.2 / 2016-06-16
- [fix] Fix
img-redundant-altrule to usegetLiteralPropValuefromjsx-ast-utils.
1.5.1 / 2016-06-16
- [fix] Fix checking for undefined in
heading-has-contentfor children content.
1.5.0 / 2016-06-16
- [new] Add heading-has-content rule.
- [new] Add html-has-lang rule.
- [new] Add lang rule.
- [new] Add no-marquee rule.
- [new] Add scope rule.
1.4.2 / 2016-06-10
- [new] Integrate with latest
jsx-ast-utilsto usepropNamefunction. More support for namespaced names on attributes and elements.
1.4.1 / 2016-06-10
- [fix] Handle spread props in
aria-unsupported-elementsandrole-supports-aria-propswhen reporting.
1.4.0 / 2016-06-10
- [dependency] Integrate jsx-ast-utils
- [fix] Better error reporting for aria-unsupported-elements indicating which prop to remove.
1.3.0 / 2016-06-05
- [new] Spelling suggestions for incorrect
aria-*props - [fix] Ensure
rolevalue is a string before converting to lowercase inimg-has-altrule.
1.2.3 / 2016-06-02
- [fix] Handle dynamic
tabIndexexpression values, but still retain validation logic for literaltabIndexvalues.
1.2.2 / 2016-05-20
- [fix] Fix checks involving the tabIndex attribute that do not account for integer literals
1.2.1 / 2016-05-19
- [fix] Avoid testing interactivity of wrapper components with same name but different casing
as DOM elements (such as
Buttonvsbutton).
1.2.0 / 2016-05-06
- [new] Import all roles from DPUB-ARIA.
1.1.0 / 2016-05-06
- [new] Add expression value handler for
BinaryExpressiontype. - [new] Add expression value handler for
NewExpressiontype. - [new] Add expression value handler for
ObjectExpressiontype. - [fix] Throws error when getting an expression of type without a handler function.
- This is for more graceful error handling and better issue reporting.
1.0.4 / 2016-04-28
- [fix] Add expression value handler for
ConditionalExpressiontype.
1.0.3 / 2016-04-25
- [fix] Fix typo in recommended rules for
onclick-has-focus.
1.0.2 / 2016-04-20
- [fix] Add expression value handler for
ThisExpressiontype.
1.0.1 / 2016-04-19
- [fix] Fix build to copy source JSON files to build output.
1.0.0 / 2016-04-19
-
[breaking] Rename
img-uses-alttoimg-has-alt -
[breaking] Rename
onlick-uses-roletoonclick-has-role -
[breaking] Rename
mouse-events-map-to-key-eventstomouse-events-have-key-events -
[breaking] Rename
use-onblur-not-onchangetono-onchange -
[breaking] Rename
label-uses-fortolabel-has-for -
[breaking] Rename
redundant-alttoimg-redundant-alt -
[breaking] Rename
no-hash-hreftohref-no-hash -
[breaking] Rename
valid-aria-roletoaria-role -
[new] Implement
aria-propsrule -
[new] Implement
aria-proptypesrule -
[new] Implement
aria-unsupported-elementsrule -
[new] Implement
onclick-has-focusrule -
[new] Implement
role-has-required-aria-propsrule -
[new] Implement
role-supports-aria-propsrule -
[new] Implement
tabindex-no-positiverule
0.6.2 / 2016-04-08
- [fix] Fix rule details for img-uses-alt: allow alt="" or role="presentation".
0.6.1 / 2016-04-07
- [fix] Do not infer interactivity of components that are not low-level DOM elements.
0.6.0 / 2016-04-06
- [breaking] Allow alt="" when role="presentation" on img-uses-alt rule.
- [new] More descriptive error messaging for img-uses-alt rule.
0.5.2 / 2016-04-05
- [fix] Handle token lists for valid-aria-role.
0.5.1 / 2016-04-05
- [fix] Handle null valued props for valid-aria-role.
0.5.0 / 2016-04-02
- [new] Implement valid-aria-role rule. Based on AX_ARIA_01
0.4.3 / 2016-03-29
- [fix] Handle LogicalExpression attribute types when extracting values. LogicalExpressions are of form
<Component prop={foo || "foobar"} />
0.4.2 / 2016-03-24
- [fix] Allow component names of form
Object.Propertyi.e.UX.Layout
0.3.0 / 2016-03-02
- [new] Implement no-hash-href rule.
- [fix] Fixed TemplateLiteral AST value building to get more exact values from template strings.
0.2.0 / 2016-03-01
- [new] Implement redunant-alt rule.
0.1.2 / 2016-03-01
- Initial pre-release.