Skip to main content
WCAG success criterion · Understandable

3.1.1 Language of Page

Guideline 3.1 Readable. Level A, part of WCAG 2.0 and every later version.

ADA compliance guide

What this criterion requires

The default human language of every page must be programmatically set, via the lang attribute on the html element.

Who it helps

Screen reader users - the lang attribute selects the speech synthesizer voice and pronunciation rules.

Example: fails vs passes

Fails
<html>
Passes
<html lang="en">

The lang attribute selects the screen reader voice. Wrong or missing lang produces garbled speech.

How to meet and fix it

Common failures auditors find

Automated scanning catches a share of these instantly - run a free check - and a manual audit covers the judgement calls a tool cannot make.

In PDF documents

The document language must be set in the PDF metadata (the /Lang entry), and language changes inside the document on the relevant tags - otherwise screen readers pick the wrong voice.

Check any document against this and 80+ more automated checks with the free PDF accessibility checker.

Sources

Last updated . Reviewed by the EqualWeb accessibility team.

Does your site pass 3.1.1?

Run a free automated check now, or have certified IAAP/CPWA auditors test every criterion and document the result.

Book a meeting Start Free Trial