Skip to content

Commit

Permalink
Correct id of img element in aria-labelledby test (#45854)
Browse files Browse the repository at this point in the history
This test includes an aria-labelledby reference to id "nested_image_label3"
but that id doesn't exist. Instead, "nested_image_label_3" exists. This commit
updates the id, removing the underscore to fit the pattern of the test file.
  • Loading branch information
nmlapre authored Apr 24, 2024
1 parent d21ae82 commit 6222d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion accname/name/comp_name_from_content.html
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ <h3 data-expectedlabel="image link" data-testname="heading with link referencing
<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_label_3" alt="image" aria-labelledby="crossref_link" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==">
<img id="nested_image_label3" alt="image" aria-labelledby="crossref_link" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==">
</h3>

<!-- self-referencial edge case-->
Expand Down

0 comments on commit 6222d6d

Please sign in to comment.