Success Criterion 3.1.1 Language of Page Level A

How to Meet this Success Criterion

To be compliant you will need to define the default language of a web page by properly setting the language attribute in the HTML tag.

This ensures that browsers, closed captions and assisted technologies such as screen readers represent content in the correct language with proper characters and pronunciation rules.

Recommended Technique for SC 3.1.1 Language of Page

Set the ISO language attribute on your opening HTML tag to define the default language:

 
<html lang="en">

Please Note: Failure of this success criterion would be if you don't define the default language in the HTML tag.

Examples of ISO Language Codes

"de" for German, "es" for Spanish, "fr" for French. To see other ISO language codes check out the complete online HTML Language Code Reference

Common Questions on SC 3.1.1 Language of Page

What if a web page uses multiple languages?

Well, then the default language you would set for that page is the language which is used the most.

What if several languages are used equally?

Well, then the first language rendered on that page should be chosen as the default language.

Additional Resources for SC 3.1.1 Language of Page