Test 1437: One or more elements, not intentionally hidden in the DOM and available to assistive technologies, has an aria-labelledby attribute that is set to a duplicate id.
Elements with aria-labelledby are outlined in purple. Duplicate IDs are highlighted in red, unique IDs in green.
aria-labelledby attribute pointing to IDs that appear multiple times in the DOMaria-labelledby values are ignoredaria-labelledby are supported - fails if any referenced ID is duplicatedElements without aria-labelledby are not tested
Empty aria-labelledby values are ignored
Hidden elements are excluded from testing
Visibility hidden elements are not tested
aria-hidden elements are not available to assistive technologies
Input labeled by unique span ID
Each input has its own unique label ID
Are you sure?
Dialog labeled by its unique heading ID
News content here...
Section labeled by its unique heading
Input labeled by two unique IDs - accessible name = "Billing Address"
Non-existent IDs are still considered unique (no duplicates)
Icon button gets accessible name from unique label
Slider labeled by unique text element
Label ID appears twice - input FAILS
Two inputs both reference duplicate ID - both FAIL (2 failures)
Two dialogs with duplicate title ID - second dialog FAILS
One of the referenced IDs is duplicated - input FAILS
Both referenced IDs are duplicated - input FAILS
Two sections with duplicate heading ID - second section FAILS
Button references duplicate label ID - FAILS
Progressbar references duplicate label ID - FAILS
Whitespace is trimmed - still detects duplicate ID
Any element can use aria-labelledby - FAILS with duplicate ID
Textarea references duplicate label ID - FAILS
ID appears in both visible and hidden elements - still duplicated, FAILS
Three elements all reference duplicate ID - 3 failures
First input FAILS (duplicate), second input PASSES (unique)
Each input references a different duplicate ID - both FAIL (2 failures)
Each input has unique label ID - PASSES
Two forms reuse same label ID - both inputs FAIL (2 failures)
This action cannot be undone.
Dialog properly labeled by unique title - PASSES
Input labeled by three unique IDs - accessible name = "Billing Address Line 1" - PASSES
Product list...
Another product list...
Two sections with duplicate heading ID - second section FAILS
Two icon buttons reference duplicate label ID - both FAIL (2 failures)