You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[a11y-aria-label-is-well-formatted](docs/rules/a11y-aria-label-is-well-formatted.md)|[aria-label] text should be formatted as you would visual text.| ⚛️ |||
120
+
|[a11y-aria-label-is-well-formatted](docs/rules/a11y-aria-label-is-well-formatted.md)|enforce [aria-label] text to be formatted as you would visual text. | ⚛️ |||
121
121
|[a11y-no-generic-link-text](docs/rules/a11y-no-generic-link-text.md)| disallow generic link text ||| ❌ |
122
-
|[a11y-no-title-attribute](docs/rules/a11y-no-title-attribute.md)|Guards against developers using the title attribute | ⚛️ |||
123
-
|[a11y-no-visually-hidden-interactive-element](docs/rules/a11y-no-visually-hidden-interactive-element.md)|Ensures that interactive elements are not visually hidden | ⚛️ |||
124
-
|[a11y-role-supports-aria-props](docs/rules/a11y-role-supports-aria-props.md)|Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`. | ⚛️ |||
125
-
|[a11y-svg-has-accessible-name](docs/rules/a11y-svg-has-accessible-name.md)| SVGs must have an accessible name| ⚛️ |||
122
+
|[a11y-no-title-attribute](docs/rules/a11y-no-title-attribute.md)|disallow using the title attribute| ⚛️ |||
123
+
|[a11y-no-visually-hidden-interactive-element](docs/rules/a11y-no-visually-hidden-interactive-element.md)|enforce that interactive elements are not visually hidden | ⚛️ |||
124
+
|[a11y-role-supports-aria-props](docs/rules/a11y-role-supports-aria-props.md)|enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`. | ⚛️ |||
125
+
|[a11y-svg-has-accessible-name](docs/rules/a11y-svg-has-accessible-name.md)|require SVGs to have an accessible name | ⚛️ |||
126
126
|[array-foreach](docs/rules/array-foreach.md)| enforce `for..of` loops over `Array.forEach`| ✅ |||
description: 'Ensures that interactive elements are not visually hidden',
62
+
description: 'enforce that interactive elements are not visually hidden',
62
63
url: require('../url')(module),
64
+
recommended: false,
63
65
},
64
66
schema: [schema],
67
+
messages: {
68
+
avoid:
69
+
'Avoid visually hidding interactive elements. Visually hiding interactive elements can be confusing to sighted keyboard users as it appears their focus has been lost when they navigate to the hidden element.',
'Avoid visually hidding interactive elements. Visually hiding interactive elements can be confusing to sighted keyboard users as it appears their focus has been lost when they navigate to the hidden element.',
description: 'require SVGs to have an accessible name',
8
9
url: require('../url')(module),
10
+
recommended: false,
9
11
},
10
12
schema: [],
13
+
messages: {
14
+
accessibleName:
15
+
'`<svg>` must have an accessible name. Set `aria-label` or `aria-labelledby`, or nest a `<title>` element. However, if the `<svg>` is purely decorative, hide it with `aria-hidden="true"` or `role="presentation"`.',
'`<svg>` must have an accessible name. Set `aria-label` or `aria-labelledby`, or nest a `<title>` element. However, if the `<svg>` is purely decorative, hide it with `aria-hidden="true"` or `role="presentation"`.',
0 commit comments