Invalid language declaration on a passage
The message
- Identifier
-
valid-lang - Type of check
- automatic
- Severity
- moderate
- Success criterion
- Meaning
- A passage carries a lang attribute whose value is not a valid language tag.
- Impact
- The screen reader does not switch to the right pronunciation; foreign-language passages are read out unintelligibly.
- Fix
- Use a valid BCP 47 language tag, such as "en" or "fr-CA".
How does your website stand?
The free check shows what can be measured automatically, with the location. No account.
Check website for free