# WCAG 4.1.1 Parsing: explained simply

WCAG 2.2 no longer contains this criterion. It required content in markup languages such as HTML to have complete start and end tags, properly nested elements, no duplicate attributes and unique IDs, except where the specification allows otherwise. For 2.0 and 2.1 the W3C says it should be considered always satisfied for HTML or XML.

## What does the criterion require?

In WCAG 2.2, nothing any more: the W3C has removed it there. It comes from WCAG 2.0 and is also part of
WCAG 2.1. There it required of content in markup languages, meaning languages such as HTML, that

- elements have complete start and end tags, the marks in the code that begin and end an element,
- elements are nested according to their specification,
- elements do not contain duplicate attributes,
- all IDs are unique, an ID being an identifier for an element on the page.

Whatever the specification of the language allows was exempt.

The aim was that browsers and assistive technology can read the code correctly. The difficulty at the time was that
assistive technology interpreted HTML by itself and that different programs repaired faulty code in different ways.

## Why was it removed?

In WCAG 2.2 a note stands in its place. It says the criterion was adopted to address problems that assistive technology
had directly parsing HTML. Assistive technology no longer needs to do that. So the problems no longer exist or are
addressed by other criteria, and the criterion no longer has utility. The Understanding document adds that
specifications and browsers have improved their handling of faulty code, and that assistive technology now relies on the
browser.

The W3C has commented on the earlier versions too:

- **WCAG 2.1** now carries a note saying that the criterion should be considered as always satisfied for
  any content using HTML or XML. A second one gives the reason: the HTML standard specifies how browsers
  must handle incomplete tags, incorrect nesting, duplicate attributes and non-unique IDs. For this
  criterion that counts as "allowed", even where the standard treats such code as non-conforming for
  authors. Both notes were added by a correction dated 18 April 2023 (WCAG 2.1 Errata); the original
  version of 5 June 2018 does not contain them.
- **For WCAG 2.0** the W3C's list of corrections, the Errata, says the same.

In practice, it says there, the criterion no longer provides any benefit to people with disabilities in itself. In the
introduction to WCAG 2.2 the W3C also points out that authors who are required by policy to conform with WCAG 2.0 or 2.1
may need to continue to test and report 4.1.1.

## Common failures

The W3C lists no failure technique for the removed criterion. Faults in the code can fail other
criteria, though. The W3C says they should then be reported there rather than under 4.1.1. It names two
cases:

- **Missing roles because of incorrect nesting.** If an element is somewhere it does not belong, assistive technology may
  lose track of what it is.
- **Incorrect names or states because of a duplicate ID.** If a form field refers to an ID that occurs twice, it may be
  given the name of another element.

According to the Understanding document, many issues that would have failed 4.1.1 will fail
[1.3.1 Info and Relationships](https://barrierepruefung.de/en/knowledge/wcag/1-3-1-info-and-relationships) or
[4.1.2 Name, Role, Value](https://barrierepruefung.de/en/knowledge/wcag/4-1-2-name-role-value). So if an HTML checker reports a duplicate ID, it is worth
asking whether that gives a control the wrong name.

## Checked automatically and checked by you

### What the automated check detects

The automated check does not measure this criterion. It is covered by a question in the manual checks.

### What you check yourself

You answer this question in the manual checks of your scan.

#### Is the markup free of errors that disturb assistive technology?

1. Establish whether your pages are written in HTML: right-click an empty spot on the page and choose "View page source". If it starts with "DOCTYPE html" or an html element, it is HTML; that is true of nearly every website.
2. If it is HTML, choose "met". The W3C has added a note to the criterion that it should be considered always satisfied for content in HTML or XML: the HTML standard now prescribes how browsers must handle incomplete tags, incorrect nesting, duplicate attributes and non-unique IDs consistently.
3. Consequences of such errors remain defects but belong to other questions: if a control lacks its name because of a duplicate ID, or its role because of incorrect nesting, answer that under the question on name, role and state (WCAG 4.1.2) in this group.
4. For context: the note comes from a correction the W3C published in April 2023; the standard EN 301 549 V3.2.1 refers to the June 2018 version of WCAG 2.1, which did not yet carry it. If you prefer to judge by the older wording, check a page with the W3C's markup validator and choose "not met" only if the validator reports an unclosed or wrongly nested element, a duplicate attribute or a duplicate ID. Other validator messages – such as obsolete attributes – do not concern this criterion.

## Classification

- Level: A
- Introduced in: WCAG 2.0
- Removed in: WCAG 2.2
- W3C explanation: [Understanding 4.1.1](https://www.w3.org/WAI/WCAG22/Understanding/parsing)

## Sources

- [WCAG 2.2, W3C Recommendation](https://www.w3.org/TR/WCAG22/)
- [Understanding 4.1.1](https://www.w3.org/WAI/WCAG22/Understanding/parsing)
- [Web Content Accessibility Guidelines (WCAG) 2.1](https://www.w3.org/TR/WCAG21/), retrieved on 2026-12-04
- [Web Content Accessibility Guidelines (WCAG) 2.1 Errata](https://www.w3.org/WAI/WCAG21/errata/), retrieved on 2026-12-03
- [Web Content Accessibility Guidelines (WCAG) 2.0 Errata](https://www.w3.org/WAI/WCAG20/errata/), retrieved on 2026-12-04

---

As of: 2026-12-04 · https://barrierepruefung.de/en/knowledge/wcag/4-1-1-parsing
