Why it matters
Screen readers need language changes to pronounce words correctly.
Common violations
- Foreign phrases without lang attributes
- Localized snippets on English pages
- Mixed-language product names without markup
Code examples
Bad
<p>Bonjour et bienvenue</p>Good
<p lang="fr">Bonjour et bienvenue</p>How to fix
Wrap foreign language phrases in elements with the correct lang attribute.
Related criteria
Related resources
Test & fix this criterion
Use these free tools and guides to check and fix 3.1.2 Language of Parts violations:
Scan your site