eslint-plugin-vuejs-accessibility icon indicating copy to clipboard operation
eslint-plugin-vuejs-accessibility copied to clipboard

An eslint plugin for checking Vue.js files for accessibility

Results 21 eslint-plugin-vuejs-accessibility issues
Sort by recently updated
recently updated
newest added

In `anchor-has-content` we can allow a Vue directive to take the place of content. I have a custom `v-tooltip` directive that automatically adds an `aria-label` (or other appropriate aria prop)...

## background The flat config will be supported officially in eslint v9 release, and the current config style will be removed in eslint v10. We can already use flat config...

Closes #932 As described in the issue #932 and the [Switch ARIA pattern](https://www.w3.org/WAI/ARIA/apg/patterns/switch/#wai-ariaroles,states,andproperties), the `aria-checked` attribute is not required when the target element is a native `` element with `type="checkbox"`.

I noticed that logical expressions are not being resolved when getting attribute values, and thus simple bindings that should not raise a failed rule are raising, example: ```html ``` This...

Fixes https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility/issues/683 Vue bootstrap makes use of a parent component that requires a `label` attribute before it actually has a label. This PR allows to specifically check for this use...

Hello there! I just started using this ESLint extension, and I noticed it is flagging a lot of stuff of which I doubt is valid. I have HTML like: ```html...

I have a custom switch built with ``: ```vue ``` After enabling role-has-required-aria-props, the following problem is reported: ``` Elements with the ARIA role "switch" must have the following attributes...

bug
help wanted
good first issue

For example, with [Font Awesome Icons](https://fontawesome.com/), the resulting svg is (by default) aria-hidden, so if they are used inside a button, I want to force people to have an alt...

Hi everyone, First of all thanks for creating this tool, it really helps too much! I recently came to an issue about how labels should control the addition of id/for...

Vue bootstrap makes use of a parent component that requires a `label` attribute before it actually has a label. This is currently not enforcable with the configuration options allowed by...