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: index.html
+18-10Lines changed: 18 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -13680,16 +13680,24 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
13680
13680
<div class="state" id="aria-expanded">
13681
13681
<sdef>aria-expanded</sdef>
13682
13682
<div class="state-description">
13683
-
<p><a>Indicates</a> whether a grouping element that is the <a>accessibility child</a> of or is controlled by this element is expanded or collapsed.</p>
13684
-
<p>
13685
-
The <sref>aria-expanded</sref> attribute is applied to a focusable, interactive element that toggles visibility of content in another element. For example, it is applied to a parent
13686
-
<rref>treeitem</rref> to indicate whether its child branch of the tree is shown. Similarly, it can be applied to a <rref>button</rref> that controls visibility of a section of page
13687
-
content.
13688
-
</p>
13689
-
<p>
13690
-
If a grouping container that can be expanded or collapsed is not the <a>accessibility child</a> of the element that has the <sref>aria-expanded</sref> attribute, the author SHOULD
13691
-
identify the controlling relationship by referencing the container from the element that has <sref>aria-expanded</sref> with the <pref>aria-controls</pref> property.
13692
-
</p>
13683
+
<p><a>Indicates</a> whether a related element is expanded (shown) or collapsed (hidden).</p>
13684
+
<p>The <sref>aria-expanded</sref> attribute is applied to a focusable, interactive element that toggles visibility of content of a different element. If the element with <sref>aria-expanded</sref> is also a <rref>treeitem</rref> in a <rref>tree</rref> or a <rref>row</rref> in a <rref>treegrid</rref>, then it SHOULD also be the <a>accessibility parent</a> of the content it expands and collapses. Otherwise, the element with <sref>aria-expanded</sref> SHOULD NOT be the <a>accessibility parent</a> of the content that is expanding or collapsing. Rather, identify that relationship between the interactive element and the element being controlled using <pref>aria-controls</pref>.</p>
13685
+
<p>For example, <sref>aria-expanded</sref> is applied to a parent <rref>treeitem</rref> to indicate whether its child branch of the tree is shown.</p>
0 commit comments