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: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# ARIA in HTML Specification
2
2
3
-
This is the repository for [ARIA in HTML (html-aria)](https://w3c.github.io/html-aria/).
3
+
This is the repository for [ARIA in HTML (html-aria)](https://w3c.github.io/html-aria/). This is developed by the [ARIA Working Group](http://www.w3.org/WAI/ARIA/). The W3C staff contact is Daniel Montalvo.
4
4
5
5
If you would like to contribute, please [read the contributing document](https://github.com/w3c/html-aria/blob/gh-pages/CONTRIBUTING.md), and review the [W3C Code of Ethics and Professional Conduct](https://www.w3.org/Consortium/cepc/).
Use the `disabled` attribute on any element that is allowed the `disabled` attribute in HTML.
3647
3668
</p>
3648
3669
<p>
3649
-
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>.
3670
+
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,
3671
+
or any element with a WAI-ARIA role which allows the `aria-disabled` attribute</a>.
3650
3672
</p>
3651
3673
<p>
3652
3674
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:
3690
+
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
3691
+
be specified, with the exception of focusable elements and the <ahref="#el-body">`body`</a> element.
3669
3692
</p>
3670
3693
<p>
3671
-
Authors SHOULD NOT use the `aria-hidden="true"` attribute on any element which also has a `hidden` attribute.
3672
-
</p>
3673
-
3674
-
<!-- this will be covered as part of issue 221 -->
3675
-
<!-- <p>
3676
-
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.
3694
+
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.
3677
3695
</p>
3678
-
<p>
3679
-
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.
3680
-
</p> -->
3696
+
<divclass="note">
3697
+
A focusable element is any element which can be focused by use of keyboard or pointer device. Focusable elements are not always elements which
3698
+
can be tabbed to via a keyboard. For instance, an element with `tabindex="-1"` is focusable but is not a tabbable element.
3699
+
</div>
3700
+
<divclass="note">
3701
+
Using `aria-hidden="true"` on an element that has the `hidden` attribute is at best an unnecessary redundancy. At worst its usage can
3702
+
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.
3703
+
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
3704
+
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.
3721
+
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,
3722
+
or any element with a WAI-ARIA role which allows the `aria-placeholder` attribute.
3697
3723
</p>
3698
3724
<p>
3699
3725
Authors MUST NOT use the `aria-placeholder` attribute on any element which also has a `placeholder` attribute.
@@ -3996,7 +4022,7 @@ <h2>
3996
4022
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.
3997
4023
</p>
3998
4024
3999
-
<tableid="aria-table" class="simple">
4025
+
<tableid="aria-table" class="data">
4000
4026
<caption>
4001
4027
Allowed descendants of ARIA roles
4002
4028
</caption>
@@ -4405,7 +4431,7 @@ <h2>
4405
4431
</tr>
4406
4432
<tr>
4407
4433
<thtabindex="-1" id="index-aria-img">
4408
-
<adata-cite="wai-aria-1.2#img">`img`</a>
4434
+
<adata-cite="wai-aria-1.2#img">`img` or `image`</a>
0 commit comments