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.

SEOWeight 1In reports as lang

What it checks

It passes when the <html> tag has a non-empty lang attribute. The value itself is not checked.

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

WordPress

Set the Site Language under Settings, General. Most themes print it on the html tag for you.

Shopify, Wix, Squarespace and Webflow

The language comes from the site or store language setting.

Next.js, Vercel and Netlify

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.

See what this check finds on your site

Free, about 30 seconds, with every other check included.