MediumWCAG 3.1.2 · Level AAUnderstandable
Foreign Language Content Missing lang Attribute
Flags foreign-language text snippets on English pages missing explicit lang="..." attributes.
Rule ID: custom-language-of-parts · reported under Needs review, because a person should confirm it.
Who this affects
Screen readers mispronounce phrases written in another language.
WCAG 3.1.2 Language of Parts: read the W3C explanation of Language of Parts
How to fix it
Problem
<p>S'il vous plaît revoir ce document</p>Fixed
<p lang="fr">S'il vous plaît revoir ce document</p>These are short examples. In the extension, A11yEngine points to the element on your own page and can suggest a fix for your code (HTML, React, Vue or Tailwind).
Find this on your own pages
Check any page for this and 100+ other issues in your browser, free.