Matan · WCAG · Robust
Unique IDs
WCAG 4.1.1 (and good HTML): id values must be unique in a document.
Pass condition in our engine: No duplicate id attributes on the page.
1. Problem description
Duplicate ids break label for=, aria-labelledby, skip links and fragment navigation. They often come from repeating a widget without namespacing ids.
2. Most common causes
- A slider partial included three times with id="slide".
- Server-rendered lists using a constant id.
3. How to fix it
- Generate unique ids (include an index or entity id).
- Prefer classes for styling, ids only when you must target one node.
Test this check
We fetch only this URL (plus robots.txt / llms.txt at the domain root when the check needs them). We do not crawl the rest of the site like a full report.
Scoring rules for the full site crawl are documented in methodology. Want every category at once? Generate a free report.
Get your free SEO & GEO report
Enter your URL and receive a full audit with scoring and recommendations. No sign-up required.