Marcelo Paiva
A woman in a hijab and headphones looks down at an open book between two tall book stacks.

Success criterion 3.1.2 · Level AA

Language of Parts

“Don't switch languages on me mid-sentence! My brain isn't a real-time translator!”

Who this helps: Non-native Speakers, Cognitive Impairments

Success criterion 3.1.2 · Level AA

Language of Parts

The human language of each passage or phrase in the content can be programmatically determined except for proper names, technical terms, words of indeterminate language, and words or phrases that have become part of the vernacular of the immediately surrounding text.

Principle 3: Understandable · Guideline 3.1: Readable

What each role can do

Product manager
Indicate requirements for multi-language support if needed.
Designer
Design the UI to be consistent in language, or clearly indicate language switches.
Developer
Use the lang attribute to mark up sections of text that are in a different language.
Tester
Test that language changes within content are accurately marked and detectable.

Once it is fixed

“Thank you for keeping it consistent. Now I can actually understand what I'm reading!”

Next criterion: 3.1.3 Unusual Words