WCAG 3.1.1 · Level A
Html Lang Valid
- What is broken
- The declared language is not a valid language code, so it is ignored.
- Who it affects
- Screen readers choose pronunciation from the language setting; when it is missing or wrong the page is read in the wrong accent, sometimes unintelligibly.
- How to fix it
- Use a valid BCP 47 language tag, such as lang="en" or lang="en-GB".
Check your site for this issue
Free scan — no signup required. Covers WCAG 2.1 AA across 64 rules including this one.
Scan my site →Automated testing detects roughly a third of WCAG 2.1 success criteria. This rule is detected automatically; issues such as keyboard traps, focus order, and screen-reader flow still require manual review. Not legal advice.