Skip to content

Commit

Permalink
Remove (for now) tentative accname tests conflicting with current spec
Browse files Browse the repository at this point in the history
This change drops two subtests from the tentative accname test at
accname/name/comp_name_from_content.tentative.html. Gecko, WebKit, and
Chromium all fail those, and the tests don’t conform to the current spec
requirements, nor to any WIP PR for changing the spec requirements. And
there seems to have been no indication so far from Gecko, WebKit, or
Chromium that they’re interested in implementing the change that’d be
required to get their implementations passing those tests.

So let’s remove them for now. If circumstances change, we can add them
back later.
  • Loading branch information
sideshowbarker committed Nov 28, 2024
1 parent 89c9cc2 commit 5c711b5
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions accname/name/comp_name_from_content.tentative.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,6 @@
</head>
<body>

<!--
These aria-labelledby tests may not be valid, pending spec discussion.
See https://github.com/w3c/accname/issues/209
-->

<!-- cross-referencial edge case-->
<h1>heading with link referencing image using aria-labelledby, that in turn references text element via aria-labelledby</h1>
<h3 data-expectedlabel="image link" data-testname="heading with link referencing image using aria-labelledby, that in turn references text element via aria-labelledby" class="ex">
<a href="#" aria-labelledby="nested_image_label3">
<span class="note" id="crossref_link">link</span><!-- this text is skipped the first time around because of aria-labelledby on parent element -->
</a>
<!-- but it's picked up again in inverse order b/c of cross-referencial aria-labelledby edge case -->
<img id="nested_image_label3" alt="image" aria-labelledby="crossref_link" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==">
</h3>

<!-- self-referencial edge case-->
<h1>heading with link referencing image using aria-labelledby, that in turn references itself and another element via aria-labelledby</h1>
<h3 data-expectedlabel="image link" data-testname="heading with link referencing image using aria-labelledby, that in turn references itself and another element via aria-labelledby" class="ex">
<a href="#" aria-labelledby="nested_image_label4">
<span class="note" id="crossref_link2">link</span><!-- this text is skipped the first time around because of aria-labelledby on parent element -->
</a>
<!-- but it's picked up again (after the self-referencial image alt) in inverse order b/c of cross-referencial aria-labelledby edge case -->
<img id="nested_image_label4" alt="image" aria-labelledby="nested_image_label4 crossref_link2" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==">
</h3>

<!-- “びょういんのかんじゃサービス” means “Hospital patient services” -->
<!-- text-transform:full-size-kana visually changes: -->
<!-- 1. びょういん (byōin = hospital) into びよういん (biyōin = beauty parlor) -->
Expand Down

0 comments on commit 5c711b5

Please sign in to comment.