Inappropriate Language Attribute Check

RuleSets of AccessMonitor - the validator of web accessibility practices

Inappropriate Language Attribute Check

Description

The “Inappropriate Language Attribute Check” evaluates whether there is any element with an invalid lang tag.

Example outcome

I found 1 element with a lang attribute that uses an invalid language tag.

Impact

Fixes

To address inappropriate language attributes:

  1. Locate the HTML element with an inappropriate language attribute.
  2. Replace the language code by a valid one.

Resources