Example for Checkpoint
4.1 - Clearly identify changes in the natural language of a document's text and any text equivalents

Slide 40 of 120
Previous slide. Next slide.

Priority 1

Use the "lang" attribute to clearly identify changes in the language of text.

When mixing languages in a sentence or paragraph, notate the language changes like this:

Mother, he's asking you to go.
He's saying, "Allons, Madame plaisante!"

And the code would be:

Mother, he's asking you to go.
He's saying,<SPAN lang="fr"> "Allons, Madame plaisante!"</SPAN>

For a complete list of language codes, check out:
Code for the Representation of the Names of Languages. From ISO 639, revised 1989. Source: OASIS - the Organization for the Advancement of Structured Information Standards.

Up one level To Checkpoints for Guideline 4.
Next slide: Example for Checkpoint 4.2

Introduction: Overview Guidelines: Overview Checkpoints: Overview Examples: Overview

Previous page. Next page.

Chuck Letourneau & Geoff Freed

W3C Web Accessibility Initiative

Copyright © 2000 W3C