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
|[accessible-emoji](docs/rules/accessible-emoji.md)| Enforce emojis are wrapped in `<span>` and provide screen reader access. ||| ❌ |
240
+
|[accessible-emoji](docs/rules/accessible-emoji.md)| Enforce emojis are wrapped in `<span>` and provide screen reader access. ||☑️ 🔒| ❌ |
241
241
|[alt-text](docs/rules/alt-text.md)| Enforce all elements that require alternative text have meaningful information to relay back to end user. | ☑️ 🔒 |||
242
-
|[anchor-ambiguous-text](docs/rules/anchor-ambiguous-text.md)| Enforce `<a>` text to not exactly match "click here", "here", "link", or "a link". || ☑️||
242
+
|[anchor-ambiguous-text](docs/rules/anchor-ambiguous-text.md)| Enforce `<a>` text to not exactly match "click here", "here", "link", or "a link". |☑️ 🔒 |||
243
243
|[anchor-has-content](docs/rules/anchor-has-content.md)| Enforce all anchors to contain accessible content. | ☑️ 🔒 |||
244
244
|[anchor-is-valid](docs/rules/anchor-is-valid.md)| Enforce all anchors are valid, navigable elements. | ☑️ 🔒 |||
245
245
|[aria-activedescendant-has-tabindex](docs/rules/aria-activedescendant-has-tabindex.md)| Enforce elements with aria-activedescendant are tabbable. | ☑️ 🔒 |||
@@ -249,29 +249,29 @@ To restrict polymorphic linting to specified components, additionally set `polym
249
249
|[aria-unsupported-elements](docs/rules/aria-unsupported-elements.md)| Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes. | ☑️ 🔒 |||
250
250
|[autocomplete-valid](docs/rules/autocomplete-valid.md)| Enforce that autocomplete attributes are used correctly. | ☑️ 🔒 |||
251
251
|[click-events-have-key-events](docs/rules/click-events-have-key-events.md)| Enforce a clickable non-interactive element has at least one keyboard event listener. | ☑️ 🔒 |||
252
-
|[control-has-associated-label](docs/rules/control-has-associated-label.md)| Enforce that a control (an interactive element) has a text label. || ☑️ 🔒||
252
+
|[control-has-associated-label](docs/rules/control-has-associated-label.md)| Enforce that a control (an interactive element) has a text label. |☑️ 🔒 |||
|[html-has-lang](docs/rules/html-has-lang.md)| Enforce `<html>` element has `lang` prop. | ☑️ 🔒 |||
255
255
|[iframe-has-title](docs/rules/iframe-has-title.md)| Enforce iframe elements have a title attribute. | ☑️ 🔒 |||
256
256
|[img-redundant-alt](docs/rules/img-redundant-alt.md)| Enforce `<img>` alt prop does not contain the word "image", "picture", or "photo". | ☑️ 🔒 |||
257
257
|[interactive-supports-focus](docs/rules/interactive-supports-focus.md)| Enforce that elements with interactive handlers like `onClick` must be focusable. | ☑️ 🔒 |||
258
258
|[label-has-associated-control](docs/rules/label-has-associated-control.md)| Enforce that a `label` tag has a text label and an associated control. | ☑️ 🔒 |||
259
259
|[label-has-for](docs/rules/label-has-for.md)| Enforce that `<label>` elements have the `htmlFor` prop. || ☑️ 🔒 | ❌ |
260
-
|[lang](docs/rules/lang.md)| Enforce lang attribute has a valid value. ||||
260
+
|[lang](docs/rules/lang.md)| Enforce lang attribute has a valid value. |☑️ 🔒|||
261
261
|[media-has-caption](docs/rules/media-has-caption.md)| Enforces that `<audio>` and `<video>` elements must have a `<track>` for captions. | ☑️ 🔒 |||
262
262
|[mouse-events-have-key-events](docs/rules/mouse-events-have-key-events.md)| Enforce that `onMouseOver`/`onMouseOut` are accompanied by `onFocus`/`onBlur` for keyboard-only users. | ☑️ 🔒 |||
263
263
|[no-access-key](docs/rules/no-access-key.md)| Enforce that the `accessKey` prop is not used on any element to avoid complications with keyboard commands used by a screen reader. | ☑️ 🔒 |||
264
-
|[no-aria-hidden-on-focusable](docs/rules/no-aria-hidden-on-focusable.md)| Disallow `aria-hidden="true"` from being set on focusable elements. ||||
264
+
|[no-aria-hidden-on-focusable](docs/rules/no-aria-hidden-on-focusable.md)| Disallow `aria-hidden="true"` from being set on focusable elements. |☑️ 🔒|||
265
265
|[no-autofocus](docs/rules/no-autofocus.md)| Enforce autoFocus prop is not used. | ☑️ 🔒 |||
266
266
|[no-distracting-elements](docs/rules/no-distracting-elements.md)| Enforce distracting elements are not used. | ☑️ 🔒 |||
267
267
|[no-interactive-element-to-noninteractive-role](docs/rules/no-interactive-element-to-noninteractive-role.md)| Interactive elements should not be assigned non-interactive roles. | ☑️ 🔒 |||
268
268
|[no-noninteractive-element-interactions](docs/rules/no-noninteractive-element-interactions.md)| Non-interactive elements should not be assigned mouse or keyboard event listeners. | ☑️ 🔒 |||
269
269
|[no-noninteractive-element-to-interactive-role](docs/rules/no-noninteractive-element-to-interactive-role.md)| Non-interactive elements should not be assigned interactive roles. | ☑️ 🔒 |||
270
270
|[no-noninteractive-tabindex](docs/rules/no-noninteractive-tabindex.md)|`tabIndex` should only be declared on interactive elements. | ☑️ 🔒 |||
271
-
|[no-onchange](docs/rules/no-onchange.md)| Enforce usage of `onBlur` over `onChange` on select menus for accessibility. ||| ❌ |
271
+
|[no-onchange](docs/rules/no-onchange.md)| Enforce usage of `onBlur` over `onChange` on select menus for accessibility. ||☑️ 🔒| ❌ |
272
272
|[no-redundant-roles](docs/rules/no-redundant-roles.md)| Enforce explicit role property is not the same as implicit/default role property on element. | ☑️ 🔒 |||
273
273
|[no-static-element-interactions](docs/rules/no-static-element-interactions.md)| Enforce that non-interactive, visible elements (such as `<div>`) that have click handlers use the role attribute. | ☑️ 🔒 |||
274
-
|[prefer-tag-over-role](docs/rules/prefer-tag-over-role.md)| Enforces using semantic DOM elements over the ARIA `role` property. ||||
274
+
|[prefer-tag-over-role](docs/rules/prefer-tag-over-role.md)| Enforces using semantic DOM elements over the ARIA `role` property. |☑️ 🔒|||
275
275
|[role-has-required-aria-props](docs/rules/role-has-required-aria-props.md)| Enforce that elements with ARIA roles must have all required attributes for that role. | ☑️ 🔒 |||
276
276
|[role-supports-aria-props](docs/rules/role-supports-aria-props.md)| Enforce that elements with explicit or implicit roles defined contain only `aria-*` properties supported by that `role`. | ☑️ 🔒 |||
277
277
|[scope](docs/rules/scope.md)| Enforce `scope` prop is only used on `<th>` elements. | ☑️ 🔒 |||
Copy file name to clipboardExpand all lines: docs/rules/accessible-emoji.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
❌ This rule is deprecated.
4
4
5
+
🚫 This rule is _disabled_ in the following configs: ☑️ `recommended`, 🔒 `strict`.
6
+
5
7
<!-- end auto-generated rule header -->
6
8
7
9
Emoji have become a common way of communicating content to the end user. To a person using a screen reader, however, they may not be aware that this content is there at all. By wrapping the emoji in a `<span>`, giving it the `role="img"`, and providing a useful description in `aria-label`, the screen reader will treat the emoji as an image in the accessibility tree with an accessible name for the end user.
Copy file name to clipboardExpand all lines: docs/rules/no-onchange.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
❌ This rule is deprecated.
4
4
5
+
🚫 This rule is _disabled_ in the following configs: ☑️ `recommended`, 🔒 `strict`.
6
+
5
7
<!-- end auto-generated rule header -->
6
8
7
9
⚠️ **Deprecated:** This rule is based on reports of behavior of [old browsers (eg. IE 10 and below)](https://www.quirksmode.org/dom/events/change.html#t05). In the meantime, this behavior has been corrected, both in newer versions of browsers as well as [in the DOM spec](https://bugzilla.mozilla.org/show_bug.cgi?id=969068#c2).
0 commit comments