All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
2.0.0 - 2022-10-30
labelComponents
options to add custom label components inform-control-has-label
.controlComponents
options to add custom control components inform-control-has-label
.
- Require
aria-query
version 5.0.0 or higher. This is a breaking change for this dependency, meaning it's a breaking change for this package.
1.1.1 - 2021-12-23
- Deprecate the accessible-emoji rule. See jsx-eslint/eslint-plugin-jsx-a11y#627 for details.
- Fix the
alt-text
handling of different element case names. - Fix the
anchor-has-content
handling for content directives (v-html, v-text) on child elements.
1.1.0 - 2021-10-14
- Change the peer dependency to allow ESLint 8 without a warning.
1.0.0 - 2021-10-14
- Major bump because of the
aria-query
dependency major bump.
0.7.1 - 2021-07-15
- Reduce overall bundle size by ignoring a lot more files in
.npmignore
.
0.7.0 - 2021-07-15
- The
accessibleDirectives
option to bothheading-has-content
andanchor-has-content
.
- Ensure directives that have identifiers for values are counted as present in the element.
- Convert over to using TypeScript for development.
0.6.2 - 2021-05-26
- Fix
iframe-has-title
such that if the attribute is ommitted completely that it fires correctly. - Fix
form-control-has-label
to ignore form controls nested insidearia-hidden
elements.
0.6.1 - 2021-01-21
- Fix up the extra quote at the end of the doc links.
0.6.0 - 2020-10-29
- For the
heading-has-content
and theanchor-has-content
rules, add anaccessibleChildren
option that always marks certain children as being accessible.
- Handle non string literal role values and
role-has-required-aria-props
and non string literal value forkind
attribute inmedia-has-caption
.
0.5.1 - 2020-09-08
- When you pass a conditional expression into an
:is
, thengetElementType
would not be able to handle it. It doesn't truly handle it now, as it just ends up returningnull
for the value of the:is
expression, but at least now it doesn't break.
0.5.0 - 2020-09-05
- Ensure all rules that allow configuring extra components that should match certain conditions support both forms of casing (
VFoo
andv-foo
). - For the
anchor-has-content
rule, we're now going to allow images with analt
tag as the screen reader should pick that up as the content.
0.4.0 - 2020-08-15
- The
controlComponents
option for thelabel-has-for
rule, which allows you to configure the rule to allow additional control components.
0.3.1 - 2020-07-10
- When emojis are hidden from the a11y tree, don't warn with the
accessible-emoji
rule.
0.3.0 - 2020-07-03
- For the
anchor-has-content
rule, allow anchors with explicit aria labels to pass. - For the
label-has-for
rule when validating that there is correct nesting, ensure that we're actually checking for form controls and not just checking for VElement nodes.
0.2.0 - 2020-06-26
- Bump the dependency on
aria-query
to4.2.2
.
0.1.3 - 2020-05-27
- Support deeply nested
input
controls for theform-control-has-label
rule.
0.1.2 - 2020-05-11
- Support using
v-bind
to pass an object, as inv-bind:$attrs
. - The
hasContent
check should be assume slots will have content.
0.1.1 - 2020-04-27
- Fix checking for directives when they don't have any arguments.
- Fix
aria-props
rule when checking custom directives.
0.1.0 - 2020-04-27
- Initial release 🎉.