The page does not declare its language
The <html> element has no lang attribute, or it is empty. It states the language of the page for browsers, screen readers and other tools. Add the right language code, for example lang="en" or lang="pt-BR".
What it means
Without <html lang>, search engines and screen readers have to guess the language.
Why it matters for AI search
Screen readers use lang to choose the voice and pronunciation, and browsers use it to offer translation and to choose hyphenation and fonts. Without it, they guess from the text or fall back to the user's own language.
Google has said it detects a page's language from its visible text and does not use the lang attribute for that; other search engines and tools may use it as a hint. So this is mainly an accessibility fix, which is why it is P3.
How to fix it
- Add
langto the<html>tag with a language code such asen,deorpt-BR; add the region only when it matters. - On a multilingual site, set it on each page from that page's language, not once for the whole site.
- In WordPress, the value comes from Settings → General → Site Language through
language_attributes()in the theme header. In Next.js, setlangon<html>in the root layout. - Run "Check again" on the page report to confirm the result.
Example
<html lang="en"> How to confirm the fix
After the change, press "Check again" on the report: it lists what was fixed and how the score changed.