3.1.2 Language of Parts: The human language of each passage or phrase in the content can be programmatically determined except for proper names, technical terms, words of indeterminate language, and words or phrases that have become part of the vernacular of the immediately surrounding text. (Level AA).
This success criterion requires that the contents written in multiple languages on the same web page has the human language defined in a programmatically determinable way. In other words, where the default language of the page is, say English but the page has phrases, sentences, paragraphs or passages from any other language, then the secondary language of such texts must be programmatically determined.
Exceptions
Any words that are adopted into the default language and that is part of a phrase or immediately surrounding text need not meet this criterion technical terms can be ignored.
Benefits
Visual browsers would be able to display correct characters for the language of parts and change the reading order for the languages that have right to left reading
Braille translating software would be able to provide correct Braille characters and contractions
Screen readers would be able to switch to apt pronunciation rules
Traditional browsers would be able to process the texts aptly
Machine based translation technologies would be able to translate the texts from one language into another when there is a change of language
In the modern browsers, when such secondary language texts occur, users would be able to look up the meaning using a dictionary.
Points to Ponder
Ensure to use appropriate language code (lan=”fr”) wherever the text is in other language
Ensure appropriate language token is used in the lang attribute (lang=”pt-br”).
Digital accessibility is my passion. Working with as many industry leaders, striving to achieve digital inclusiveness and spread #a11y awareness in every
nuke and corner of the digital world!
2.1.1 Keyboard: All functionality of the content is operable through a keyboard interface without requiring specific timings for individual keystrokes, except where the underlying function requires input that depends on the path of the user’s movement and not just the endpoints. (Level A) Note 1: This exception relates to the underlying function, not the input…
2.3.1 Three Flashes or Below Threshold: Web pages do not contain anything that flashes more than three times in any one second period, or the flash is below the general flash and red flash thresholds. (Level A) Note: Since any content that does not meet this success criterion can interfere with a user’s ability to…
If a Web page can be navigated sequentially and the navigation sequences affect meaning or operation, focusable components receive focus in an order that preserves meaning and operability. (Level A) Intent of this Success Criterion The intent of this Success Criterion is to ensure that when users navigate sequentially through content, they encounter information in…
1.2.1 Audio-only and Video-only (Prerecorded): For prerecorded audio-only and prerecorded video-only media, the following are true, except when the audio or video is a media alternative for text and is clearly labeled as such: (Level A) Prerecorded Audio-only: An alternative for time-based media is provided that presents equivalent information for prerecorded audio-only content. Prerecorded Video-only:…
1.2.4 Captions (Live): Captions are provided for all live audio content in synchronized media. (Level AA) The intent of this success criterion is to provide captions for the live media content. Live media refers to the audio/video content that is relayed/broadcasted live on the internet platform. Live captioning is seen on live news broadcast, live…
2.4.6 Headings and Labels: Headings and labels describe topic or purpose. (Level AA) The intent of this success criteria is to provide descriptive headings & labels that are understood by all the users. Descriptive means clear, concise & easily understood content. Users with low vision, motor impaired & cognitive users will benefit most from this…