Parsing · WCAG 2.0 Level A
IDs used in ARIA and labels must be unique
Ensure every id attribute value used in ARIA and in labels is unique.
What it means
The duplicate-id-aria rule flags elements that fail this check. It maps to WCAG success criterion 4.1.2.
Who it affects
Assistive technology users, whose tools can misread duplicate IDs or obsolete elements.
How to fix it
IDs referenced by ARIA or labels must be unique on the page.
<label for="q1">Name</label><input id="q1">
Check it on your site
Run a free scan. If this rule fails, the results list the affected elements. Deque, which maintains axe-core, also documents this rule in detail: Deque University: duplicate-id-aria.
Quick answers
What does the axe rule "duplicate-id-aria" check?
Ensure every id attribute value used in ARIA and in labels is unique.
How do I fix "IDs used in ARIA and labels must be unique"?
IDs referenced by ARIA or labels must be unique on the page.
Who is affected by duplicate-id-aria failures?
Assistive technology users, whose tools can misread duplicate IDs or obsolete elements.
Automated accessibility scan. Results are informational and may not identify every accessibility issue. This service is not legal advice, a compliance certification, or a substitute for comprehensive manual accessibility testing.