Skip to content

Commit 0c86412

Browse files
scottaoharaactions-user
authored andcommitted
chore: prettier
1 parent cd3356f commit 0c86412

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

html-aam/index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16353,9 +16353,8 @@ <h4>
1635316353
<a href="" class="accname">Accessible Name and Description: Computation and API Mappings</a>.
1635416354
</li>
1635516355
<li>
16356-
If the <a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a> is still empty: use the value of the associated
16357-
`label` element or elements <a data-cite="accname-1.2/#dfn-accessible-name">accessible name(s)</a> - if more than one
16358-
`label` element is associated; concatenate by DOM order, delimited by spaces.
16356+
If the <a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a> is still empty: use the value of the associated `label` element or elements
16357+
<a data-cite="accname-1.2/#dfn-accessible-name">accessible name(s)</a> - if more than one `label` element is associated; concatenate by DOM order, delimited by spaces.
1635916358
</li>
1636016359
<li>If no associated `label` is specified: use the control's `title` attribute.</li>
1636116360
<li>If a `title` attribute provides no accessible name: use the value of the element's <a href="#att-placeholder">placeholder</a> attribute.</li>

index.html

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13681,9 +13681,15 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
1368113681
<sdef>aria-expanded</sdef>
1368213682
<div class="state-description">
1368313683
<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>
13684+
<p>
13685+
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
13686+
<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
13687+
<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
13688+
that is expanding or collapsing. Rather, identify that relationship between the interactive element and the element being controlled using <pref>aria-controls</pref>.
13689+
</p>
1368513690
<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>
13686-
<pre class="example highlight">&lt;ul role="tree"&gt;
13691+
<pre class="example highlight">
13692+
&lt;ul role="tree"&gt;
1368713693
&lt;li role="treeitem" aria-expanded="false" aria-selected="false"&gt;
1368813694
&lt;span&gt;Fruits&lt;/span&gt;
1368913695
&lt;ul role="group" hidden&gt;
@@ -13692,12 +13698,15 @@ <h2>Definitions of States and Properties (all aria-* attributes)</h2>
1369213698
&lt;li role="treeitem" aria-selected="false"&gt;Yuzu&lt;/li&gt;
1369313699
&lt;/ul&gt;
1369413700
&lt;/li&gt;
13695-
&lt;/ul&gt;</pre>
13701+
&lt;/ul&gt;</pre
13702+
>
1369613703
<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>
13697-
<pre class="example highlight">&lt;button type="button" aria-controls="mangosteen" aria-expanded="false"&gt;Mangosteen&lt;/button&gt;
13704+
<pre class="example highlight">
13705+
&lt;button type="button" aria-controls="mangosteen" aria-expanded="false"&gt;Mangosteen&lt;/button&gt;
1369813706
&lt;div id="mangosteen" hidden&gt;
1369913707
An edible fruit native to tropical lands surrounding the Indian Ocean.
13700-
&lt;/div&gt;</pre>
13708+
&lt;/div&gt;</pre
13709+
>
1370113710
</div>
1370213711
<table class="def">
1370313712
<caption>

0 commit comments

Comments
 (0)