Goal
Ensure markup can be interpreted reliably by user agents and assistive technologies.
Loading ...
Success Criterion · WCAG 4.1.1
In content implemented using markup languages, elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features. Note: This criterion is obsolete and always considered to pass in WCAG 2.2.
Goal
Ensure markup can be interpreted reliably by user agents and assistive technologies.
What to do
Avoid malformed markup and ensure elements are properly nested and have unique IDs where required.
Why it matters
Parsing errors can break accessibility trees and cause assistive technologies to misinterpret content.
Success criterion
Summarized directly from the official Understanding document so teams can quote the requirement accurately.
In content implemented using markup languages, elements have complete start and end tags, elements are nested according to their specifications, elements do not contain duplicate attributes, and any IDs are unique, except where the specifications allow these features.
Intent
Benefits
Why it matters
Summaries drawn from the Understanding document help you socialize impact statements with product stakeholders.
Invalid nesting can cause screen readers to announce content in unexpected ways.
Duplicate IDs can break label associations and ARIA references.
This criterion is marked as obsolete in WCAG 2.2 because modern browsers recover from many parsing issues, but it can still be useful to avoid malformed markup. Ensure valid nesting, no duplicate attributes, and unique IDs.
Reference: All summaries and highlights originate from Understanding WCAG 4.1.1 and the W3C quick reference.
Examples
Share pass/fail snapshots to coach designers, engineers, QA, and content authors.
Pass
Each form field has a unique id used by its label.
Fail
Multiple inputs share id="email", breaking label association.
Pass
List items are inside `<ul>`/`<ol>` and headings are properly nested.
Fail
A `<div>` is placed directly inside `<ul>` without `<li>`.
Evidence to keep
Capture artifacts for VPATs, procurement reviews, and regression testing.
Official resources
Keep these links handy when writing acceptance criteria or responding to audits.
Implementation checklist
Testing ideas
Related success criteria