Start scanning free

( Understandable / WCAG 3.1.1 )

Page language is not set

This check maps to Language of Page. Use the guidance below to confirm the issue, understand who it affects and ship a fix.

Serious Level A WCAG 3.1.1 — Language of Page

What’s wrong

The <html> element is missing a lang attribute.

Why it matters

Screen readers use the lang attribute to determine which language engine and pronunciation rules to use. Without it, a screen reader may read English text using French or German pronunciation rules, making it unintelligible.

How to fix it

Add a lang attribute to the <html> element with the correct BCP 47 language tag.

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

Learn more