Bug 1893745 [wpt PR 45933] - Fix typo in aria-element-reflection.html, a=testonly

Automatic update from web-platform-tests
Fix typo in aria-element-reflection.html (#45933)

Rename aria-labeledby to aria-labelledby.
--

wpt-commits: fe03367322a07bc34134a6311b9fc1e33c7cbb2b
wpt-pr: 45933
This commit is contained in:
Eitan Isaacson 2024-04-30 16:05:14 +00:00 committed by moz-wptsync-bot
parent 1e4714c0c2
commit 05fe9c0ab6

View File

@ -611,7 +611,7 @@
</script>
<div id="sameScopeContainer">
<div id="labeledby" aria-labeledby="headingLabel1 headingLabel2">Misspelling</div>
<div id="labelledby" aria-labelledby="headingLabel1 headingLabel2">Misspelling</div>
<div id="headingLabel1">Wonderful</div>
<div id="headingLabel2">Fantastic</div>
@ -626,7 +626,7 @@
const headingLabel2 = document.getElementById("headingLabel2")
shadowRoot.appendChild(headingElement);
assert_array_equals(labeledby.ariaLabelledByElements, [headingLabel1, headingLabel2], "aria-labeled by is supported by IDL getter.");
assert_array_equals(labelledby.ariaLabelledByElements, [headingLabel1, headingLabel2], "aria-labelledby is supported by IDL getter.");
// Explicitly set elements are in a lighter shadow DOM, so that's ok.
headingElement.ariaLabelledByElements = [headingLabel1, headingLabel2];