The declared page language is not valid
Automated check html-lang-valid, run with axe-core
- WCAG
- 3.1.1 Language of Page (Level A)
- Severity
- Serious: completable, but painful
- Typical effort
- Quick win, under 1 hour
- Category
- Page structure
Who this affects
Screen reader users.
Why it matters
An invalid code is treated as no declaration at all, producing the wrong pronunciation.
How to fix it
Use a valid BCP 47 code such as en, nl, de, fr, en-GB.
Check your own website
The free scan tests 3 pages against WCAG 2.2 A and AA in about 30 seconds. No sign-up.