Skip to content

Commit 09e6f26

Browse files
scottaoharaactions-user
authored andcommitted
chore: prettier
1 parent 2d13c7e commit 09e6f26

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

index.html

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13679,9 +13679,15 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
1367913679
<sdef>aria-expanded</sdef>
1368013680
<div class="state-description">
1368113681
<p><a>Indicates</a> whether a related element is expanded (shown) or collapsed (hidden).</p>
13682-
<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>
13682+
<p>
13683+
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
13684+
<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
13685+
<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
13686+
that is expanding or collapsing. Rather, identify that relationship between the interactive element and the element being controlled using <pref>aria-controls</pref>.
13687+
</p>
1368313688
<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>
13684-
<pre class="example highlight">&lt;ul role="tree"&gt;
13689+
<pre class="example highlight">
13690+
&lt;ul role="tree"&gt;
1368513691
&lt;li role="treeitem" aria-expanded="false" aria-selected="false"&gt;
1368613692
&lt;span&gt;Fruits&lt;/span&gt;
1368713693
&lt;ul role="group" hidden&gt;
@@ -13690,12 +13696,15 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
1369013696
&lt;li role="treeitem" aria-selected="false"&gt;Yuzu&lt;/li&gt;
1369113697
&lt;/ul&gt;
1369213698
&lt;/li&gt;
13693-
&lt;/ul&gt;</pre>
13699+
&lt;/ul&gt;</pre
13700+
>
1369413701
<p>Similarly, it can be applied to a <rref>button</rref> to control the visibility of another element and its content on the current page.</p>
13695-
<pre class="example highlight">&lt;button type="button" aria-controls="mangosteen" aria-expanded="false"&gt;Mangosteen&lt;/button&gt;
13702+
<pre class="example highlight">
13703+
&lt;button type="button" aria-controls="mangosteen" aria-expanded="false"&gt;Mangosteen&lt;/button&gt;
1369613704
&lt;div id="mangosteen" hidden&gt;
1369713705
An edible fruit native to tropical lands surrounding the Indian Ocean.
13698-
&lt;/div&gt;</pre>
13706+
&lt;/div&gt;</pre
13707+
>
1369913708
</div>
1370013709
<table class="def">
1370113710
<caption>

0 commit comments

Comments
 (0)