Skip to content

Commit

Permalink
[accname] Explicitly state UAs must ignore “aria-label” for slots
Browse files Browse the repository at this point in the history
This change updates the AriaLabel substep of the “Computation steps”
section of the “Accessible Name and Description Computation” spec to
explicitly state that the step must not be performed if the node being
visited is a slot element.
  • Loading branch information
sideshowbarker committed Nov 25, 2024
1 parent b1ac2e2 commit aa1a22b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accname/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ <h4>Computation steps</h4>
</aside>
</li>
<li id="comp_label">
<span id="step2D"><!-- Don't link to this legacy numbered ID. --></span><em>AriaLabel:</em> Otherwise, if the <code>current node</code> has an <code>aria-label</code> [=attribute=]
<span id="step2D"><!-- Don't link to this legacy numbered ID. --></span><em>AriaLabel:</em> Otherwise, if the <code>current node</code> is not a [=slot=] element and has an <code>aria-label</code> [=attribute=]
whose value is not undefined, not the empty string, nor, when trimmed of [=ascii whitespace|whitespace=], is not the empty string:
<ol>
<li>
Expand Down

0 comments on commit aa1a22b

Please sign in to comment.