Skip to content

Commit 8d2a751

Browse files
rahimabdiRahim Abdijnurthen
authored
Editorial: Update accname step 2E (Host Language Label) to specify empty string treatment (#2486)
Co-authored-by: Rahim Abdi <[email protected]> Co-authored-by: James Nurthen <[email protected]>
1 parent c6b03d0 commit 8d2a751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accname/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ <h4>Computation steps</h4>
640640
<span id="step2E"><!-- Don't link to this legacy numbered ID. --></span><em>Host Language Label:</em> Otherwise, if the <code>current node</code>'s native markup provides an
641641
[=attribute=] (e.g. <code>alt</code>) or [=element=] (e.g. HTML <code>label</code> or SVG <code>title</code>) that defines a text alternative, return that alternative in the form of
642642
a <code>flat string</code> as defined by the host language (e.g., <a href="https://www.w3.org/TR/html-aam-1.0/#accessible-name-and-description-computation">HTML-AAM</a>), unless the
643-
<code>current node</code> is exposed as presentational (<code>role="presentation"</code> or <code>role="none"</code>).
643+
<code>current node</code> is exposed as presentational (<code>role="presentation"</code> or <code>role="none"</code>, <code>alt=""</code>).
644644
<div class="note">
645645
Important! The accessible name for native HTML elements may be calculated differently depending on host language. Make sure to review
646646
<a href="https://www.w3.org/TR/html-aam-1.0/#accessible-name-and-description-computation">HTML-AAM</a> for more information.

0 commit comments

Comments
 (0)