HTML Language Check
Verify that the document declares its primary human language on the root HTML element.
Check your websiteWhy this check matters
The language declaration helps screen readers choose pronunciation rules and helps browsers provide appropriate translation and typography behavior.
Passing evidence
<html lang="en">Common failing evidence
<html>Possible false positives
- The declared language must match the actual primary content language.
- Multilingual passages may need their own lang attributes.
How to fix it safely
- Set a valid BCP 47 language code on html.
- Derive the value from the active locale in multilingual applications.
- Mark substantial passages that switch languages.
How to verify the fix
- Inspect the rendered root element.
- Confirm the declared locale matches the page's primary content.
Related Accessibility checks
Run the complete audit
Check this signal together with the related category evidence on the current public page.
Open the accessibility audit tool