IDs used in ARIA and label associations must be unique to avoid broken references
labels-and-names/duplicate-id-aria · WCAG 4.1.2 · Level A
IDs used in ARIA and label associations must be unique to avoid broken references.
When aria-labelledby, aria-describedby, aria-controls, or label[for] reference a duplicate ID, only the first matching element is used. This breaks the intended relationship and may leave controls unnamed or descriptions missing. Ensure IDs referenced by ARIA attributes and label associations are unique throughout the document.
Scan a page or repo for issues like this · All rules
Introduced in @accesslint/core v0.8.0