File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -54,17 +54,6 @@ The following elements are visually distracting: `<marquee>` and `<blink>`.
5454
5555---
5656
57- ### ` role-has-required-aria-props `
58-
59- Elements with ARIA roles must have all required attributes for that role.
60-
61- ``` sv
62- <!-- A11y: A11y: Elements with the ARIA role "checkbox" must have the following attributes defined: "aria-checked" -->
63- <span role="checkbox" aria-labelledby="foo" tabindex="0"></span>
64- ```
65-
66- ---
67-
6857### ` a11y-hidden `
6958
7059Certain DOM elements are useful for screen reader navigation and should not be hidden.
@@ -272,6 +261,17 @@ Avoid positive `tabindex` property values. This will move elements out of the ex
272261
273262---
274263
264+ ### ` a11y-role-has-required-aria-props `
265+
266+ Elements with ARIA roles must have all required attributes for that role.
267+
268+ ``` sv
269+ <!-- A11y: A11y: Elements with the ARIA role "checkbox" must have the following attributes defined: "aria-checked" -->
270+ <span role="checkbox" aria-labelledby="foo" tabindex="0"></span>
271+ ```
272+
273+ ---
274+
275275### ` a11y-structure `
276276
277277Enforce that certain DOM elements have the correct structure.
You can’t perform that action at this time.
0 commit comments