Marcelo Paiva
A wide eyed man in glasses, headphones, and a patterned shirt at a laptop, with a parrot perched behind him.

Success criterion 3.1.1 · Level A

Language of Page

“Ahoy matey! Why's this site talkin' like a pirate? Set the language, will ya?”

Who this helps: Non-native Speakers, Cognitive Impairments

Success criterion 3.1.1 · Level A

Language of Page

The default human language of each web page can be programmatically determined.

Principle 3: Understandable · Guideline 3.1: Readable

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!”

Next criterion: 3.1.2 Language of Parts