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
Visual Impairments: Screen readers will ignore invalid lang tags and fall back to the default document language, resulting in incorrect pronunciation (especially in multilingual content). Mispronunciation can hinder understanding, especially with foreign names, phrases, or entire sections.
Cognitive Disabilities: Unexpected reading behavior (e.g., wrong language pronunciation) can be distracting or confusing, increasing cognitive load.
Fixes
To address inappropriate language attributes:
Locate the HTML element with an inappropriate language attribute.