SEO check
Language
Reads the lang attribute of the <html> element.
- Category
- SEO
- Importance
- Medium importance
- Check id
- language
How the result is decided
- PassA valid language code such as
en,en-GBortr-TR. - WarningA value that isn’t a valid language code.
- FailNo lang attribute.
Why it matters
The language tells browsers which language to offer translation from and tells screen readers how to pronounce the text.
How to fix it
<html lang="en">After the fix, open the page’s report and choose Run again to confirm it passes.