3.1.2 Language of Parts
Official description of the success criterion
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.
What to do?
Identify the language of each passage or phrase.
Why is it important?
Ensures proper pronunciation by screen readers.
Common pitfalls
Adding content to a page in another language without adding the lang attribute for that content.
How to test for it?
Check if there is content in another language on the page. Check those for the correct lang attribute.
Exception: proper names, technical terms, words of indeterminate language and words or phrases that have become part of the vernacular of the immediately surrounded text.
How to take this criterion into account in development?
Ensure that the user can mark the language of the content in the UI of the content editor.