Docs SEO
Language declared
Checks that your html tag declares the page language with a lang attribute, which helps screen readers, translation and search engines.
What it checks
It passes when the <html> tag has a non-empty lang attribute. The value itself is not checked.
- PassA lang attribute is set.
- WarningNo lang attribute, or an empty one.
Why it matters
Screen readers use it to pick the right voice and pronunciation. Browsers use it to decide when to offer translation. Search engines use it as one of several signals about who the page is for.
How to fix it
Set it to the main language of the page, such as en, en-GB or de. On a site with several languages, each version sets its own.
Platform notes
Set the Site Language under Settings, General. Most themes print it on the html tag for you.
The language comes from the site or store language setting.
Put the lang attribute on the html tag in the root layout.
Your report shows what this check found on your site. Pro shows the exact fix for your site. See pricing.
Free, about 30 seconds, with every other check included.