Skip to content

Commit d13ea25

Browse files
authored
revise text to match other pr
i have this other PR #2395 which is trying to make the language between the element naming steps consistent. pulling over the text from that to reduce text conflicts
1 parent 0c86412 commit d13ea25

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

html-aam/index.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16353,11 +16353,17 @@ <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 `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.
16356+
If the <a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a> is still empty: use the
16357+
<a data-cite="accname-1.2/#mapping_additional_nd_te">text equivalent computation</a> of the associated `label` element's subtree - if more than one `label`
16358+
is associated; concatenate their subtrees by DOM order, delimited by spaces.
16359+
<p>
16360+
If the control is encapsulated by its `label` element, exclude the control's author specified or user-entered value from its computed
16361+
<a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a>.
16362+
</p>
1635816363
</li>
16359-
<li>If no associated `label` is specified: use the control's `title` attribute.</li>
16360-
<li>If a `title` attribute provides no accessible name: use the value of the element's <a href="#att-placeholder">placeholder</a> attribute.</li>
16364+
<li>If the <a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a> is still empty: use the value of the control's `title` attribute.</li>
16365+
<li>If the <a data-cite="accname-1.2/#dfn-accessible-name">accessible name</a> is still empty: use the value of the control's
16366+
<a href="#att-placeholder">placeholder</a> attribute.</li>
1636116367
<li>Otherwise, use the value of the element's <a data-cite="wai-aria-1.2/#aria-placeholder">`aria-placeholder`</a> attribute.</li>
1636216368
<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>
1636316369
</ol>

0 commit comments

Comments
 (0)