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: index.html
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -349,6 +349,7 @@ <h4>Computation steps</h4>
349
349
<li>Otherwise, if the <code>aria-valuenow</code> property is present, return its value,</li>
350
350
<li>Otherwise, use the value as specified by a host language attribute. </li>
351
351
</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>
352
353
</li>
353
354
</ul>
354
355
<div><details>
@@ -390,8 +391,18 @@ <h4>Computation steps</h4>
390
391
<liid="step2F.i">Set the <code>accumulated text</code> to the empty string.</li>
391
392
<liid="step2F.ii">Check for <abbrtitle="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 <abbrtitle="Cascading Style Sheets">CSS</abbr><ahref="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.
392
393
<ul>
393
-
<li>For <code>:before</code> pseudo elements, <aclass="termref">User agents</a> MUST prepend <abbrtitle="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, <aclass="termref">User agents</a> MUST append <abbrtitle="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, <aclass="termref">User agents</a> MUST prepend <abbrtitle="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>, <aclass="termref">User agents</a> MUST prepend <abbrtitle="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, <aclass="termref">User agents</a> MUST prepend <abbrtitle="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, <aclass="termref">User agents</a> MUST append <abbrtitle="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, <aclass="termref">User agents</a> MUST append <abbrtitle="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, <aclass="termref">User agents</a> MUST append <abbrtitle="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>
395
406
</ul>
396
407
</li>
397
408
<liid="step2F.iii">For each child node of the <code>current node</code>:
@@ -410,7 +421,7 @@ <h4>Computation steps</h4>
410
421
</details></div>
411
422
</li>
412
423
<liid="step2G">Otherwise, if the <code>current node</code> is a Text [=Node=], return its textual contents.</li>
413
-
<liid="step2H">Otherwise, if the <code>current node</code> is a descendant of an element whose <aclass="termref">Accessible Name</a> or <aclass="termref">Accessible Description</a> is being computed, and contains descendants, proceed to 2F.</li>
424
+
<liid="step2H">Otherwise, if the <code>current node</code> is a descendant of an element whose <aclass="termref">Accessible Name</a> or <aclass="termref">Accessible Description</a> is being computed, and contains descendants, proceed to 2F.i.</li>
414
425
<liid="step2I">Otherwise, if the <code>current node</code> has a <aclass="termref">Tooltip attribute</a>, return its value.
0 commit comments