Page language
The language a page is written in, declared in code so screen readers pronounce it correctly.
Page language is the main language of a page, declared with the lang attribute on the html element, such as lang="en". WCAG success criterion 3.1.1, “Language of Page”, is Level A and requires it. Success criterion 3.1.2, at Level AA, asks the same for passages in another language.
Screen readers use the declared language to choose a voice and pronunciation rules. Without it, a French page read with English rules is close to impossible to follow. Browsers also use it to offer translation and to hyphenate. The fix is one attribute.
Source
Related terms
Get help with every step.
We can work with organizations of every size and industry, from a startup serving its first customers to a bank. We find where you stand, help your team fix what matters, and keep checking as your product changes. That work is evidence of your effort, not a legal guarantee.