DIRECTIVE (EU) 2019/882 · IN FORCE SINCE 28 JUNE 2025 EU-HOSTED · GDPR-CLEAN
EAA Compliance

Rules · valid-lang

Failure reference

Language changes marked with an invalid code.

A screen reader switches voice when the page says a passage is in another language. With a bad code, the German address is read in an English accent, or not switched at all.

01

What fails — and who it fails

The failure, in plain language.

lang attributes on parts of a page using codes that are not valid language tags ("en-UK", "ge", "english"). Multilingual sites, legal notices in a second language and quoted product names are where this shows.

02

Detection — what the machine can and cannot judge

How the scanner finds it.

  • Every lang attribute below the html element is checked against valid BCP 47 primary language codes.
  • An invalid code is flagged with its selector and value.
  • What automation cannot judge: passages in another language with no lang attribute at all. Telling which words are in which language is a reading, so it stays with the guided audit.
03

The legal reading — factual, not fearful

Where this sits in enforcement.

3.1.2 is Level AA. In a single market where one site serves several languages, a cross-border complaint can lean on it, and the fix is a corrected code.

04

The fix — by pattern

2 patterns cover nearly every instance.

Use a valid language tag- <p lang="ge">Widerrufsbelehrung</p> + <p lang="de">Widerrufsbelehrung</p>
Region codes follow the language- <span lang="en-UK">colour</span> + <span lang="en-GB">colour</span>

Fix the template, not the page — one change typically clears every instance at once. The triage engine groups findings by template pattern for exactly that reason.

05

Verification — resolution is evidence, not a checkbox

Fixed means a scan said so.

On monitored domains, mark the finding fixed and the next scan verifies it: zero remaining instances converts the finding to Resolved, and both the claim and the confirmation land in the append-only ledger. Criteria that need human judgement close through sign-off in the coverage matrix — covered by the right method, never by assumption.

Related failures:

See where your templates stand.

A complimentary assessment renders up to 25 public pages in an EU-hosted browser and shows every instance of this failure — grouped, ranked, and honest about what still needs a human.