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
Copy file name to clipboardExpand all lines: _rules/aria-state-or-property-permitted-5c01ea.md
+33-2Lines changed: 33 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,7 +110,7 @@ The `aria-busy` [state][] is a [global][] [state][] that is [supported][] by all
110
110
111
111
#### Passed Example 4
112
112
113
-
The `aria-label`[property][] is a [global][][property][]. It is allowed on any [semantic role][].
113
+
The `aria-label`[property][] is a [global][][property][]. It is allowed on any [semantic role][], except where specifically prohibited.
114
114
115
115
```html
116
116
<divrole="button"aria-label="OK">✓</div>
@@ -150,7 +150,7 @@ The `aria-controls` [property][] is [required][] for the [semantic][semantic rol
150
150
151
151
#### Passed Example 9
152
152
153
-
The `aria-label`[property][] is [global][]. It is allowed on any [semantic role][], including roles from the [WAI-ARIA Graphics Module](https://www.w3.org/TR/graphics-aria-1.0). This rule is applicable to SVG elements.
153
+
The `aria-label`[property][] is [global][]. It is allowed on any [semantic role][], except where specifically prohibited, including roles from the [WAI-ARIA Graphics Module](https://www.w3.org/TR/graphics-aria-1.0). This rule is applicable to SVG elements.
This `div` element has an [explicit role][] of `switch`; the `aria-required`[property][] is [inherited][] from the `checkbox`[superclass role](https://www.w3.org/TR/wai-aria-1.2/#superclassrole).
This `div` element has an [explicit role][] of `separator`. The `aria-valuemin`, `aria-valuemax` and `aria-valuenow`[properties][property] are [supported][] for the `separator` role when the element is [focusable][].
0 commit comments