Language: EN

Page language is not set

Message shown by axe and Lighthouse: <html> element must have a lang attribute · html-has-lang · WCAG 3.1.1

What it means and why it matters

Screen readers pick the wrong pronunciation when the page language is missing (WCAG 3.1.1).

How to fix it

Set the language on the <html> element, e.g. <html lang="en">.

Code example

Before

<html>

After

<html lang="en">

Find this error on your website

Run a free check of any page — results in seconds, with fix instructions.

Check a page for free

All accessibility errors

Order a paid plan

Leave your email and we'll contact you as soon as the plan can be ordered.