Understanding Language of Page

Intent of Language of Page

The intent of this Success Criterion is to ensure that content developers provide information in the Web page that user agents need to present text and other linguistic content correctly. Both assistive technologies and conventional user agents can render text more accurately when the language of the Web page is identified. Screen readers can load the correct pronunciation rules. Visual browsers can display characters and scripts correctly. Media players can show captions correctly. As a result, users with disabilities will be better able to understand the content.

The default human language of the Web page is the default text-processing language as discussed in Internationalization Best Practices: Specifying Language in XHTML & HTML Content. When a Web page uses several languages, the default text-processing language is the language which is used most. (If several languages are used equally, the first language used should be chosen as the default human language.)

For multilingual sites targeting Conformance Level A, the Working Group strongly encourages developers to follow Success Criterion 3.1.2 as well even though that is a Level AA Success Criterion.

Benefits of Language of Page

This Success Criterion helps:

Examples of Language of Page

Resources for Language of Page

Techniques for Language of Page

Sufficient Techniques for Language of Page

  1. Using the lang attribute of the html element
  2. Using HTML language attributes to specify language in Flash content

Additional Techniques (Advisory) for Language of Page

Failures for Language of Page