Catalog/Missing html lang attribute
SEO issue

Missing html lang attribute: why it matters

The html lang attribute tells browsers and screen readers your page's language. Find pages missing it and learn how to add it for SEO and accessibility.

1427
audited sites affected

What it means

The HTML document is missing the lang attribute on the root element, which means the browser and crawlers cannot determine the page's primary language.

Why it matters

Search engines use this attribute to serve the correct language version in results and to route content to the right regional index. Screen readers depend on it for pronunciation, and since Googlebot reads pages like a screen reader, a missing lang attribute can degrade accessibility signals that correlate with ranking. AI agents also rely on it to select the right language model and to avoid mis-parsing content.

How to fix it

  1. Add the lang attribute to the root element: <html lang="en">
  2. Verify the value matches the page's primary language (ISO 639-1 code like en, de, fr, ja).
  3. If the site serves multiple languages, ensure each language version has its own lang value and that the canonical URL points to the correct version.

Example

Before — HTML
<html>
  <head>...</head>
After — HTML
<html lang="en">
  <head>...</head>

Add a BCP-47 code to the <html> tag. It tells screen readers which pronunciation to use and helps Google confirm the page language.

When it's not a problem

This is not a problem if the page is a language-agnostic template (like a favicon-only redirect page) or if the site uses a single language consistently and the missing attribute does not affect the rendered HTML that Googlebot sees. It is also fine on pages where the language is explicitly declared via the Content-Language HTTP header and the page has no user-facing text content.

How Crawlinx detects it

We read the lang attribute on the <html> element. If it's absent or empty, we flag it. Use a valid code like en, en-US, or fr.

How common is it?

1427 audited sites in our corpus currently show this issue. The breakdowns below show which platforms, gatekeepers, verticals and countries are most exposed.

FAQ

Does the html lang attribute affect SEO?
It's a minor, supporting signal for language targeting and a real accessibility requirement (screen-reader pronunciation). Google mainly infers language from content, but the attribute removes ambiguity.

Related guides

Breakdowns

CMS

View breakdown →

Category

View breakdown →

Related
Catalog Category CMS Image alt text is keyword-stuffed (repetition / low variety) Image alt text is very long (possible keyword stuffing) Broken image (src returns 4xx/5xx) Image filename is generic/auto-generated (missed image-search signal) Likely hero image lacks fetchpriority=high

Audit your own site — free

157 checks, internal PageRank, render-diff. No signup, results in ~30s.

Scan your site →