Missing Page Language Check

RuleSets of AccessMonitor - the validator of web accessibility practices

Missing Page Language Check

Description

The “Missing Page Language Check” evaluates whether the lang attribute is present on the <html> element.

Example outcome

I noticed that the lang attribute is missing.

Impact

Fixes

To address missing page language:

  1. Determine the language in which the page’s content is mainly presented.
  2. Verify which is the correct language code for that language.
  3. Add the language code in the lang attribute of the <html> tag.

Resources