WCAG 3.1.1
Language of Page
8.4%
of the 609 sites we scanned fail this
Ranging from 1.3% of Shopify DTC stores to 13.5% of US healthcare providers. Pooled across five targeted cohorts, so treat it as a convenience sample rather than a rate for the web.
Separately, 30.6% of the 941 county government PDFs we scanned fail it (288 documents). That is a different population from the sites above, so the two figures are not comparable. How we scanned the PDFs
What it means and how to fix it
What 3.1.1 covers
- We detect this: A missing language attribute on the html element
- We detect this: A language value that is not a valid code
- We detect this: The declared language of a PDF document
- No engine can detect this: A language that is declared but wrongA French page declaring lang="en" passes every automated check and is read aloud in the wrong accent throughout. Detecting it means identifying the language of the text.
Of that, one failure is detectable automatically, and these are what the rates on this page measure. Each needs its own fix. The percentage is the share of all 609 scanned sites affected. These do not sum to the 8.4% above: a site can fail more than one of them, and most that fail any fail several. A further 1 failure was detected on fewer than five sites each and are not listed.
- The page doesn't declare its language8.2%
Screen readers may not announce content in the correct language, affecting pronunciation and comprehension.
What it looks like in code
HTML<html xmlns="http://www.w3.org/1999/xhtml"></html><html lang="en">The language attribute tells a screen reader which pronunciation rules to use. Without it the text is read in the user's default voice, which can make an English page unintelligible.
Shown for The page doesn't declare its language. The failing example is real markup from a site in our research cohorts. Class, style and data attributes are removed, and ... marks a value we elided. The structure is unchanged, because the structure is the failure.
For what the criterion formally requires, read the W3C Understanding document.
How often it fails
Share of scanned sites in each cohort. These are five targeted studies, not a random sample of the web, so read the contrast between cohorts rather than any one figure as a web-wide rate.
Who fails it most3 cuts by CMS vendor, country, state
By CMS vendor
By country
By state
Groups smaller than 8 sites are not shown: a rate over a handful of sites moves by tens of points on a single result.
What the numbers do not say
This is a criterion your platform passes for you. Across 158 US city sites, every single one running a known CMS declared a page language: 0 of 32 on CivicPlus, 0 of 37 on Granicus, 0 of 20 on Drupal, 0 of 8 on WordPress. The failures are concentrated almost entirely in the sites where we could not identify a platform at all, where 6 of 15 fail. A hand-rolled template is the one place a one-line attribute gets forgotten, because nothing is filling it in.
What this does not measureLimits of these figures, and where the corpus came from
- These are five targeted cohorts, not a random sample of the web. Per-cohort rates are the figure to quote; the pooled rate is a convenience sample.
- Denominators count sites that produced a result. Sites that were blocked or errored are excluded rather than counted as passing.
- Occurrence counts are floors: the engine records at most 25 occurrences of a rule per page.
- The EU and Indian cohorts retained only the primary success criterion per finding, so a rule mapping to several criteria contributes to one of them in those two cohorts and to all of them in the other three.
| Cohort | Scanned | Attempted |
|---|---|---|
| Shopify DTC stores | 75 | 75 |
| US local government | 158 | 221 |
| US healthcare providers | 208 | 218 |
| EU e-commerce | 107 | 170 |
| Indian financial services | 61 | 72 |
Corpus generated 2026-09-18.
Check your own site
A free scan reports WCAG 3.1.1 alongside everything else, with the exact elements that fail.
Run a free scan
