Skip to content

Commit

Permalink
review feedback from spectranaut re: w3c/accname#193
Browse files Browse the repository at this point in the history
  • Loading branch information
cookiecrook committed Apr 25, 2023
1 parent 2594c29 commit f0421a9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion accname/name/comp_text_node.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,19 @@
<!-- I'm not certain whether #comp_text_node requires a lot of testing outside of the #comp_name_from_content contexts, -->
<!-- but I did think of one example where text node versus comment node may make a difference when joining text nodes with a space vs innerText. -->

<h2 class="ex" data-expectedlabel="heading label" data-testname="heading with text/comment/text nodes">
<!-- Skipped (class="ex" removed) until https://github.com/w3c/accname/issues/193 is resolved -->
<h2 class="ex-skipped" data-expectedlabel="heading label" data-testname="heading with text/comment/text nodes, no space">
heading<!-- with non-text node splitting concatenated text nodes -->label<!-- [sic] no extra spaces around first comment -->
</h2>


<h2 class="ex" data-expectedlabel="heading label" data-testname="heading with text/comment/text nodes, with space">
heading
<!-- comment node between text nodes with leading/trailing whitespace -->
label
</h2>


<!-- Todo: test all remaining cases of https://w3c.github.io/accname/#comp_text_node -->

<script>
Expand Down

0 comments on commit f0421a9

Please sign in to comment.