ARIA reference to an id that does not exist
WCAG 4.1.2, 1.3.1 (A) · EN 301 549 9.4.1.2
The attribute {attr} points at the ids {ids}, which are not on the page.
Why it matters
The broken reference leaves the element with no name or description. It is particularly treacherous because the code looks right: someone renamed or removed the target element and the reference was left pointing at nothing.
How to fix it
Check the id exists and matches exactly, case included. If the target is gone, replace the reference with an aria-label.
Related
- Image button with no alternative text
- Embedded frame with no title
- Form fields with no label
- Buttons with no name
Does your shop have this failure?
Check for free, along with the other 54 rules. No sign-up.