Skip to content
A11ySignal
Level AWCAG 2.0WCAG 2.1WCAG 2.2EN 301 549 § 9.3.1.1

3.1.1
Language of Page

The page has to declare what language it is in.

What the standard says

The default human language of each web page can be programmatically determined.

Why it matters

A screen reader picks its pronunciation rules from `lang`. English text read by a German voice is close to unintelligible.

What a failure looks like

  • fails`<html>` with no `lang`.
  • fails`lang="en"` on a page that is actually in French.

How to fix it

  • doSet `<html lang="en">` — the real language, and the right subtag for regional variants.

How A11ySignal checks it

3 automated checks run against this criterion on every scan.

Also under 3.1 Readable