Page language code is not valid
Why it matters
A language code that does not exist is ignored, so assistive technology falls back to guessing.
How to fix it
Use a valid BCP 47 code such as en, en-GB or fr-CA.
<!-- Before -->
<html lang="english">
<!-- After -->
<html lang="en-GB"> Read the W3C guidance: Understanding 3.1.1 Language of Page.
Related rules
- Page has no language set (WCAG 3.1.1)
- Page has no title (WCAG 2.4.2)
- Several pages share the same title (WCAG 2.4.2)
- Page has no main heading (h1) (WCAG 2.4.6)
Find this on your own site. A11yMate scans every page and lists where it happens. See pricing or browse all rules.