Skip to content

WCAG 4.1.1: Parsing

In European law this criterion is EN 301 549 clause 9.4.1.1 — chapter 9, the part of the harmonised standard that applies to websites under the European Accessibility Act.

How to test by hand

Automated checks find only some failures of this criterion. These steps cover the rest.

You need

  • Browser developer tools

Steps

  1. Open the page source and look for broken tags, such as a tag missing its closing angle bracket or an attribute value with mismatched quotation marks.
  2. Check that elements are properly nested, with each element closed inside the element that contains it, as the HTML specification requires.
  3. In the developer tools console or a markup validator, check that no element repeats the same attribute and that every id value is used only once on the page.
  4. For anything you find, check its real effect under 1.3.1 Info and Relationships and 4.1.2 Name, Role, Value, for example a duplicate id that breaks a label or ARIA reference.
Passes when
The markup has complete start and end tags, correct nesting, no duplicated attributes and unique id values, except where the specification allows otherwise.
Fails when
The source contains broken or unclosed tags, wrongly nested elements, an attribute repeated on one element, or the same id used more than once.

Note: W3C marks 4.1.1 Parsing as obsolete and removed in WCAG 2.2, because assistive technology no longer parses HTML directly; its Understanding text is kept for historical purposes. EN 301 549 V3.2.1, which our criteria list follows, still includes it as clause 9.4.1.1, so these steps follow the original WCAG 2.0/2.1 wording.

Steps are based on W3C’s Understanding WCAG 2.2: 4.1.1 Parsing, which explains the intent, examples and exceptions in full. A manual check by you is a first look, not an audit: it does not make a site conformant and is not a substitute for testing by an experienced auditor with real assistive technology users. How we separate what a machine can and cannot check is explained in our methodology; for a full audit, see the directory of accessibility agencies.

What automation checks

2 axe-core rules test failures of this criterion. Our scanner runs them on every page it visits:

  • duplicate-id-active
  • duplicate-id

What automation cannot prove

An automated test finds some failures of WCAG 4.1.1; it cannot confirm the criterion is met. Whether the result actually works for people — in context, with real content — is a judgement call that needs a human auditor. Nothing on this page is a statement of conformance or legal advice. The full map of what our scanner covers and where it stops is on what our scanner checks.

Related guides

Does your site pass these checks?

Free instant scan. No signup required. WCAG 4.1.1 is one of the criteria it tests.

Scan website