
Success criterion 3.1.1
Language of Page
The default human language of each web page can be programmatically determined.
- Level A
- Principle 3: Understandable
- Guideline 3.1: Readable
In a user’s words
“Ahoy matey! Why's this site talkin' like a pirate? Set the language, will ya?”
What each role can do
- Product manager
- Specify the default language of the site in the project requirements.
- Designer
- Ensure UI text adheres to the specified language and locale settings.
- Developer
- Set the lang attribute on the HTML element to indicate the default language.
- Tester
- Test that the default language is programmatically determinable and matches user expectations.
Once it is fixed
“Arr, thanks for speakin' my language! Now I don't need a translator to find the X marks the spot!”
Share this with your team
The quotes are written to illustrate the criterion. They are not testimonials from real people. For the official wording, find 3.1.1 in the W3C quick reference for WCAG 2.2 (opens in a new tab).
Or press ←the left arrow and →the right arrow.