SC-3.1.2: Foreign phrase without lang on element

Corpus WCAG 2.2Applies to WCAG 2.0, 2.1, 2.2Level AAAutomatable: partial

Summary: A French quotation appears in an English page without lang markup.

Why it fails: Screen readers may use English pronunciation rules for French text because the language change is not marked.


Failure technique

Synthetic specimen — no W3C failure technique.

Understanding

Quickref

Intentional failure — audit this region

SC-3.1.2

The French quote Bonjour le monde is marked as English.

<p>The French quote <q lang="en">Bonjour le monde</q> is marked as English.</p>
Expected audit result

Manual check: Confirm the foreign phrase has no lang attribute on itself or a parent element.