Skip to content

Commit bb65de3

Browse files
committed
Temporary revert within step 2H to reference 2F.i instead of 2F until logic can be drafted to correctly handle roles that should not be traversed.
1 parent dc724e5 commit bb65de3

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

index.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,7 @@ <h4>Computation steps</h4>
349349
<li>Otherwise, if the <code>aria-valuenow</code> property is present, return its value,</li>
350350
<li>Otherwise, use the value as specified by a host language attribute. </li>
351351
</ul>
352+
<p>Append the <code>result</code> of each step above, with a space preceding and following, to the <code>accumulated text</code>.</p>
352353
</li>
353354
</ul>
354355
<div><details>
@@ -390,8 +391,18 @@ <h4>Computation steps</h4>
390391
<li id="step2F.i">Set the <code>accumulated text</code> to the empty string.</li>
391392
<li id="step2F.ii">Check for <abbr title="Cascading Style Sheets">CSS</abbr> generated textual content associated with the <code>current node</code> and include it in the <code>accumulated text</code>. The <abbr title="Cascading Style Sheets">CSS</abbr> <a href="https://www.w3.org/TR/CSS2/generate.html#before-after-content"><code>:before</code> and <code>:after</code></a> pseudo elements [[!CSS2]] can provide textual content for [=element|elements=] that have a content model.
392393
<ul>
393-
<li>For <code>:before</code> pseudo elements, <a class="termref">User agents</a> MUST prepend <abbr title="Cascading Style Sheets">CSS</abbr> textual content, without a space, to the textual content of the <code>current node</code>. </li>
394-
<li>For <code>:after</code> pseudo elements, <a class="termref">User agents</a> MUST append <abbr title="Cascading Style Sheets">CSS</abbr> textual content, without a space, to the textual content of the <code>current node</code>. </li>
394+
<li>For <code>:before</code> pseudo elements, <a class="termref">User agents</a> MUST prepend <abbr title="Cascading Style Sheets">CSS</abbr> textual content to the textual content of the <code>current node</code> as follows:
395+
<ul>
396+
<li>If the pseudo element includes spacing between it and the textual content of the <code>current node</code>, <a class="termref">User agents</a> MUST prepend <abbr title="Cascading Style Sheets">CSS</abbr> textual content, with a space following, to the textual content of the <code>current node</code>. </li>
397+
<li>Otherwise, <a class="termref">User agents</a> MUST prepend <abbr title="Cascading Style Sheets">CSS</abbr> textual content, without a space following, to the textual content of the <code>current node</code>. </li>
398+
</ul>
399+
</li>
400+
<li>For <code>:after</code> pseudo elements, <a class="termref">User agents</a> MUST append <abbr title="Cascading Style Sheets">CSS</abbr> textual content to the textual content of the <code>current node</code> as follows:
401+
<ul>
402+
<li>If the pseudo element includes spacing between the textual content of the <code>current node</code> and itself, <a class="termref">User agents</a> MUST append <abbr title="Cascading Style Sheets">CSS</abbr> textual content, with a space preceding, to the textual content of the <code>current node</code>. </li>
403+
<li>Otherwise, <a class="termref">User agents</a> MUST append <abbr title="Cascading Style Sheets">CSS</abbr> textual content, without a space preceding, to the textual content of the <code>current node</code>. </li>
404+
</ul>
405+
</li>
395406
</ul>
396407
</li>
397408
<li id="step2F.iii">For each child node of the <code>current node</code>:
@@ -410,7 +421,7 @@ <h4>Computation steps</h4>
410421
</details></div>
411422
</li>
412423
<li id="step2G">Otherwise, if the <code>current node</code> is a Text [=Node=], return its textual contents.</li>
413-
<li id="step2H">Otherwise, if the <code>current node</code> is a descendant of an element whose <a class="termref">Accessible Name</a> or <a class="termref">Accessible Description</a> is being computed, and contains descendants, proceed to 2F.</li>
424+
<li id="step2H">Otherwise, if the <code>current node</code> is a descendant of an element whose <a class="termref">Accessible Name</a> or <a class="termref">Accessible Description</a> is being computed, and contains descendants, proceed to 2F.i.</li>
414425
<li id="step2I">Otherwise, if the <code>current node</code> has a <a class="termref">Tooltip attribute</a>, return its value.
415426
<div><details>
416427
<summary>Comment:</summary>

0 commit comments

Comments
 (0)