Skip to content

Commit 6222d6d

Browse files
authored
Correct id of img element in aria-labelledby test (#45854)
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.
1 parent d21ae82 commit 6222d6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accname/name/comp_name_from_content.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ <h3 data-expectedlabel="image link" data-testname="heading with link referencing
239239
<span class="note" id="crossref_link">link</span><!-- this text is skipped the first time around because of aria-labelledby on parent element -->
240240
</a>
241241
<!-- but it's picked up again in inverse order b/c of cross-referencial aria-labelledby edge case -->
242-
<img id="nested_image_label_3" alt="image" aria-labelledby="crossref_link" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==">
242+
<img id="nested_image_label3" alt="image" aria-labelledby="crossref_link" src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==">
243243
</h3>
244244

245245
<!-- self-referencial edge case-->

0 commit comments

Comments
 (0)