- Success Criterion 3.1.2
- Conformance level AA
3.1.2 · Language of Parts
Lesson overview · Language of Parts
In plain language
Passages in another language must be marked with their own lang attribute.
Who it affects
Screen-reader users hearing mixed-language content with the wrong voice rules.
How to check
Find foreign-language phrases/sections and inspect them for a correct lang attribute.
Common misconception
This is easy to forget on multilingual marketing pages. A single foreign phrase or slogan dropped into an otherwise English page needs its own lang attribute, or it gets mispronounced.
Learn more
Scenarios in this lesson
- No Way to Programmatically Tell Which Language a Passage Uses
- Foreign-Language Quote or Phrase With No Language Attribute
- Language Switcher Link With No Language Tag of Its Own
- Mixed-Language Legal or Product Text Left Entirely Unmarked
- Language Attribute Copy-Pasted Onto the Wrong Piece of Text
- Bilingual Layout Where One Column’s Language Goes Unmarked
- User-Generated Content in Another Language Never Tagged
- Language Attribute Applied to the Wrong Element Entirely