Skip to content
SEO Audit Checker

Page language not declared

Medium priorityOn-page SEO

The <html> tag has no lang attribute, so browsers, screen readers and search engines have to guess the page’s language.

What triggers this issue

  • The <html> element has no lang attribute.

Why it matters

Screen readers use lang to choose the right voice and pronunciation. Browsers use it to offer translation, and it helps search engines serve the page to the right audience.

It is a WCAG accessibility requirement and a one-line fix.

How to fix it

  1. Add a lang attribute with the page’s language code to the <html> tag.
  2. Use a region if it matters, like en-GB or pt-BR.
Declare the language
<html lang="en">

See all 82 SEO issues →