Reviewed December 3, 2026
Language of page and parts: causes, diagnosis, and the fix order that works
The complaint arrives as a symptom: a shopper cannot finish, a reviewer flags a page, a letter names a barrier. Language of page and parts: causes, diagnosis, and the fix order that works is the work of tracing that symptom to its cause, and fixing causes in the order that stops the next complaint, not just this one.
What is being asked, exactly
WCAG 2.2 Success Criterion 3.1.1 Language of Page is Level A: the default human language of each page must be programmatically determinable, which in HTML means a correct lang attribute on the html element.
Criterion 3.1.2 Language of Parts is Level AA: a passage in a different language must be marked with its own lang attribute, with exceptions for proper names and technical terms.
How it breaks on a real store
The patterns repeat across audits: lang set to the theme's default instead of the storefront's locale; translated pages that keep the English lang value.
And just as often: product names and care terms left unmarked inside translated copy; hreflang maintained carefully while lang is ignored, though they do different jobs. Each one is cheap to create and expensive to defend, because each one is visible in the page source or in one keyboard pass.
The detail that decides it
The lang attribute drives more than pronunciation. It selects hyphenation, quotation marks, and in some screen readers the speech synthesiser voice itself, so a French product name read by an English voice can be unintelligible.
A store selling into Quebec or the EU rarely has one language per store. Locale subfolders with a copied template and an untranslated lang value are the standard failure.
Checking your own pages
Check the html element on every locale, then listen to a mixed-language page with a screen reader. Pronunciation failures point straight at the missing attributes.
Write down what you tested, on which template, and on what date. An undated pass is an opinion, and in a dispute the other side will treat it as one.
Fix order and ownership
Fix the template before the pages. One corrected product template repairs every product on the store; one corrected page repairs one page and leaves the catalogue broken.
Then retest the exact path that failed, with the same tool, and record the result next to the original finding. That pair of records, before and after, is what a settlement report, a procurement reviewer, or a judge actually wants to see.
Related reading
Earlier posts on this site cover ground that this one builds on: At 320 Pixels Wide, Your Product Page Should Not Scroll Sideways, Heading Order on Product Pages: One H1 and a Ladder, Not a Pile, Accessible Order Tracking: Status Pages and Delivery Updates That Work for Everyone.
Frequently asked questions
What does language of page and parts require, in one sentence?
WCAG 2.2 Success Criterion 3.1.1 Language of Page is Level A: the default human language of each page must be programmatically determinable, which in HTML means a correct lang attribute on the html element.
How do I test for problems with language of page and parts on my own store?
Check the html element on every locale, then listen to a mixed-language page with a screen reader. Pronunciation failures point straight at the missing attributes.
Does an automated scan settle this?
No. A scan checks the machine-readable slice of the criteria and misses judgement calls like whether a text alternative is equivalent or a focus order preserves meaning. Use the scan as the first pass, then test manually with a keyboard and a screen reader.
What should I fix first if my store fails on language of page and parts?
Fix the shared template or component causing the failure, starting with the pages on the purchase path: product, cart, and checkout. Then retest that path and record the before and after results with dates.