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: html-aam/index.html
+37-1Lines changed: 37 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16816,7 +16816,43 @@ <h4>`iframe` Element Accessible Name Computation</h4>
16816
16816
</p>
16817
16817
</section>
16818
16818
<section>
16819
-
<h4>Section and Grouping Element Accessible Name Computation</h4>
16819
+
<h4>`dialog` Element Accessible Name Computation</h4>
16820
+
<ol>
16821
+
<li>
16822
+
If the `dialog` element has an <a data-cite="wai-aria-1.2/#aria-label">`aria-label`</a> or an <a data-cite="wai-aria-1.2/#aria-labelledby">`aria-labelledby`</a>
16823
+
attribute the <a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a> is to be calculated using the algorithm defined in
16824
+
<a class="accname">Accessible Name and Description: Computation and API Mappings</a>.
16825
+
</li>
16826
+
<li>
16827
+
If the <a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a> is still empty, then: if the `dialog` element has a
16828
+
<a href="https://dom.spec.whatwg.org/#concept-tree-descendant">descendant</a> element with a role of `heading`, then use the
16829
+
<a data-cite="accname-1.2/#mapping_additional_nd_te">text equivalent computation</a> of the element as defined in
16830
+
<a data-cite="accname-1.2/#comp_name_from_heading">accname: Name from Heading</a>.
16831
+
</li>
16832
+
<li>Otherwise, use the `title` attribute.</li>
16833
+
<li>If none of the above yield a usable text string there is no <a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a>.</li>
16834
+
</ol>
16835
+
</section>
16836
+
<section>
16837
+
<h4>`article` Element Accessible Name Computation</h4>
16838
+
<ol>
16839
+
<li>
16840
+
If the `article` element has an <a data-cite="wai-aria-1.2/#aria-label">`aria-label`</a> or an <a data-cite="wai-aria-1.2/#aria-labelledby">`aria-labelledby`</a>
16841
+
attribute the <a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a> is to be calculated using the algorithm defined in
16842
+
<a class="accname">Accessible Name and Description: Computation and API Mappings</a>.
16843
+
</li>
16844
+
<li>
16845
+
If the <a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a> is still empty, then: if the `dialog` element has a
16846
+
<a href="https://dom.spec.whatwg.org/#concept-tree-descendant">descendant</a> element with a role of `heading`, then use the
16847
+
<a data-cite="accname-1.2/#mapping_additional_nd_te">text equivalent computation</a> of the element as defined in
16848
+
<a data-cite="accname-1.2/#comp_name_from_heading">accname: Name from Heading</a>.
16849
+
</li>
16850
+
<li>Otherwise, use the `title` attribute.</li>
16851
+
<li>If none of the above yield a usable text string there is no <a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a>.</li>
16852
+
</ol>
16853
+
</section>
16854
+
<section>
16855
+
<h4>Other Section and Grouping Element Accessible Name Computation</h4>
16820
16856
<ol>
16821
16857
<li>
16822
16858
If the element has an <a data-cite="wai-aria-1.2/#aria-label">`aria-label`</a> or an <a data-cite="wai-aria-1.2/#aria-labelledby">`aria-labelledby`</a> attribute the
0 commit comments