Default font size Increase font size  |   Decrease font size   |  
Skip to main content

Success Criteria 3.1.2 Language of Parts: [Level AA]

Although similar to SC 3.1.1, this goes one step further in identifying specific pieces of text and phrases which are in a different language.

Techniques

Using lang attribute to identify specific text

A web page may be specified as English by setting lang="en" in the html tag. However if the page contains a phrase in a different language it is of assistance to screen readers and the like to identify the language of the phrase.

<p>The French officer raised his sword and raced towards the enemy shouting <span lang="fr">Allons mes enfants!</span></p>

Failures

No failures currently documented

Top