Goal
Ensure assistive technologies can use the correct language rules for the page.
Loading ...
Success Criterion · WCAG 3.1.1
The default human language of each Web page can be programmatically determined.
Goal
Ensure assistive technologies can use the correct language rules for the page.
What to do
Set the default human language of each page (e.g., using `lang` on the root element).
Why it matters
Screen readers, translation tools, and spell checkers need the page language to pronounce and interpret text correctly.
Success criterion
Summarized directly from the official Understanding document so teams can quote the requirement accurately.
The default human language of each Web page can be programmatically determined.
Intent
Benefits
Why it matters
Summaries drawn from the Understanding document help you socialize impact statements with product stakeholders.
Screen readers may mispronounce words if the language is not declared.
Braille output may be incorrect when language rules are unknown.
Translation tools may choose wrong defaults.
Every page must declare its primary language so assistive technologies can select correct pronunciation and processing rules. Commonly this is done with `lang` on the `<html>` element.
Reference: All summaries and highlights originate from Understanding WCAG 3.1.1 and the W3C quick reference.
Examples
Share pass/fail snapshots to coach designers, engineers, QA, and content authors.
Pass
<html lang="en">…</html>
Fail
No `lang` attribute set on the page.
Pass
<html lang="es">…</html>
Fail
<html lang="en">…</html> for a Spanish-only page.
Evidence to keep
Capture artifacts for VPATs, procurement reviews, and regression testing.
Official resources
Keep these links handy when writing acceptance criteria or responding to audits.
Implementation checklist
Testing ideas
Related success criteria