Page language code not valid

page/lang-invalid

The lang on <html> is not a language code, for example "english" instead of en. Browsers, screen readers and translation tools then cannot tell the page's language.

Severity
Medium
Area
Pages & meta
Checked
Weekly, and with Check now
Health score
Weight 2
Scope
Each page; past 10 pages, one finding for the site

How Talewright checks it

The weekly crawl reads the lang attribute of every page.

How to fix it

Set lang on <html> to a language code such as en or en-GB.

Rule version 1.

Get early access.

Talewright is invite-only. Tell us about your team and the marketing you want to win.