Conforma
Accessibility fix guide WCAG 4.1.2 Name, Role, Value

How to fix: ARIA references must point to unique IDs

When an id used by an ARIA attribute appears more than once, assistive tech resolves the wrong element and the relationship breaks.

The fix

Make sure any id referenced by an ARIA attribute is unique on the page.

Before and after

Fails
<input aria-describedby="hint"> … <p id="hint">…</p><p id="hint">…</p>
Passes
<input aria-describedby="hint-email"> … <p id="hint-email">…</p>

Related fixes

Does your site have this issue?

Scan any page free against WCAG 2.2 AA and get every issue with its fix.

Scan your site free
← All fix guides