SC-3.1.1: Page language attribute missing
Corpus WCAG 2.2Applies to WCAG 2.0, 2.1, 2.2Level AAutomatable: yes
Summary: The document has no lang attribute on the html element.
Why it fails: Assistive technology may pronounce content incorrectly because the default document language is not declared.
Failure technique
Synthetic specimen — no W3C failure technique.
Understanding
Quickref
Intentional failure — audit this region
SC-3.1.1
Page content is English but the document language is wrong.
<p>Page content is English but the document language is wrong.</p>Expected audit result
- 3.1.1: fail — Specimen demonstrates failure of 3.1.1.
Manual check: View source and confirm html lacks a lang attribute.