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
Use the `disabled` attribute on any element that is allowed the `disabled` attribute in HTML.
3653
3664
</p>
3654
3665
<p>
3655
-
Authors MAY use the <adata-cite="wai-aria-1.2#aria-disabled">`aria-disabled`</a> attribute on any element that is allowed the `disabled` attribute in HTML, or any element with a WAI-ARIA role which allows the `aria-disabled` attribute</a>.
3666
+
Authors MAY use the <adata-cite="wai-aria-1.2#aria-disabled">`aria-disabled`</a> attribute on any element that is allowed the `disabled` attribute in HTML,
3667
+
or any element with a WAI-ARIA role which allows the `aria-disabled` attribute</a>.
3656
3668
</p>
3657
3669
<p>
3658
3670
Authors SHOULD NOT use `aria-disabled="true"` on any element which also has a `disabled` attribute.
Authors MAY use the <adata-cite="wai-aria-1.2#aria-hidden">`aria-hidden`</a> attribute on any HTML element that allows <adata-cite="wai-aria-1.2#global_states">global `aria-*` attributes</a>, with the following exception:
3686
+
Authors MAY use the <adata-cite="wai-aria-1.2#aria-hidden">`aria-hidden`</a> attribute on any HTML element that allows <adata-cite="wai-aria-1.2#global_states">global `aria-*` attributes</a> to
3687
+
be specified, with the exception of focusable elements and the <ahref="#el-body">`body`</a> element.
3675
3688
</p>
3676
3689
<p>
3677
-
Authors SHOULD NOT use the `aria-hidden="true"` attribute on any element which also has a `hidden` attribute.
3690
+
It is generally NOT RECOMMENDED for authors to use `aria-hidden="true"` on any element which also has the `hidden` attribute specified. However, authors MUST NOT use `aria-hidden="true"` on any element which also has the `hidden` attribute specified in the `until-found` state.
3678
3691
</p>
3679
-
3680
-
<!-- this will be covered as part of issue 221 -->
3681
-
<!-- <p>
3682
-
Authors MUST NOT use `aria-hidden="true"` on an element that can receive keyboard focus, or on an ancestor element to an element or elements which can receive keyboard focus.
3683
-
</p>
3684
-
<p>
3685
-
Any elements which can receive keyboard focus, interactive elements or otherwise, MUST have their ability to receive keyboard focus removed while the `aria-hidden="true"` attribute is present. For instance, by using `tabindex="-1"` on any focusable elements with `aria-hidden="true"`, or setting `tabindex="-1"` to focusable elements that are descendants of an `aria-hidden="true"` containing element.
3686
-
</p> -->
3692
+
<divclass="note">
3693
+
A focusable element is any element which can be focused by use of keyboard or pointer device. Focusable elements are not always elements which
3694
+
can be tabbed to via a keyboard. For instance, an element with `tabindex="-1"` is focusable but is not a tabbable element.
3695
+
</div>
3696
+
<divclass="note">
3697
+
Using `aria-hidden="true"` on an element that has the `hidden` attribute is at best an unnecessary redundancy. At worst its usage can
3698
+
prevent access to the content if the `hidden` attribute's default UA style of `display: none` has been purposeuflly overwritten by an author or user style sheet.
3699
+
Finally, if the `hidden` attribute has the value of `until-found`, the use of `aria-hidden=true` will prevent this content from being discoverable to users of assistive
3700
+
technology when it is found via a browser's in-page find feature and visually rendered to users.
Authors MAY use the <adata-cite="wai-aria-1.2#aria-placeholder">`aria-placeholder`</a> attribute on any element that is allowed the `placeholder` attribute in HTML, or any element with a WAI-ARIA role which allows the `aria-placeholder` attribute.
3717
+
Authors MAY use the <adata-cite="wai-aria-1.2#aria-placeholder">`aria-placeholder`</a> attribute on any element that is allowed the `placeholder` attribute in HTML,
3718
+
or any element with a WAI-ARIA role which allows the `aria-placeholder` attribute.
3703
3719
</p>
3704
3720
<p>
3705
3721
Authors MUST NOT use the `aria-placeholder` attribute on any element which also has a `placeholder` attribute.
@@ -4002,7 +4018,7 @@ <h2>
4002
4018
Additionally, there are certain roles which [[[wai-aria-1.2]]] has specified specific requirements for their allowed descendants. These have been identified in column 3 (Descendant allowances) by indicating to "Refer to the 'Required Owned Elements'" for those particular roles.
4003
4019
</p>
4004
4020
4005
-
<tableid="aria-table" class="simple">
4021
+
<tableid="aria-table" class="data">
4006
4022
<caption>
4007
4023
Allowed descendants of ARIA roles
4008
4024
</caption>
@@ -4411,7 +4427,7 @@ <h2>
4411
4427
</tr>
4412
4428
<tr>
4413
4429
<thtabindex="-1" id="index-aria-img">
4414
-
<adata-cite="wai-aria-1.2#img">`img`</a>
4430
+
<adata-cite="wai-aria-1.2#img">`img` or `image`</a>
0 commit comments