3.1.1 Language of Page
Level A
The default human language of each web page can be programmatically determined.Who This Helps
- People who use screen readers or other technologies that convert text into synthetic speech;
- People who find it difficult to read written material with fluency and accuracy, such as recognising characters and alphabets or decoding words;
- People with certain cognitive, language and learning disabilities who use text-to-speech software
- People who rely on captions for synchronized media.
Example
A Web page with content in two languagesA Web page produced in Germany and written in HTML includes content in both German and English, but most of the content is in German. The default human language is identified as German (de) by the lang attribute on the html element.