3.1.2 Language of Parts
Level AA Since WCAG 2.0 How it is checked: AI pre-review + person
In plain language
Passages in another language (a Vietnamese quote, a French name…) need their own language declared.
Who is affected
- Blind people using screen readers
Examples
Fails
<p>Our motto: Không ai bị bỏ lại phía sau.</p> <!-- screen reader reads it with an English voice -->Passes
<p>Our motto: <span lang="vi">Không ai bị bỏ lại phía sau.</span></p>How to fix
- Wrap the other-language passage in an element with the matching lang.
- Not needed for proper names or terms already in common use.
How to test it yourself
- Listen to a screen reader read the foreign-language passages: does the voice switch?
What WCAG.win checks
WCAG.win checks part of this criterion automatically. The rest still needs a person.
- Automated checker – rule
valid-lang: lang attribute must have a valid value
W3C documentation: Understanding Success Criterion 3.1.2: Language of Parts