
Indicate changes in natural language -- spoken, written, or signed human language-in a document. Also, provide expansions of abbreviations and acronyms.
Identifying changes in the language enables text-to-speech screen readers and Braille displays to automatically switch to the new language to enhance pronunciation. When changes are not marked, the synthesizer will try its best to speak the words in the primary language it works in. Thus, a speech synthesizer that uses English as its primary language would pronounce the French word for car, "voiture", as "voter". Natural language markup also allows search engines to find text in a desired language.
1. Identify changes in natural languageFor example, in HTML use the LANG attribute:
<P>A great motto for living life is <SPAN LANG="la">carpe diem</SPAN> -- seize the day!</P>
TIP The International Standardization Organization (ISO) defines the language codes at http://www.oasis-open.org/cover/iso639a.html.
2. Expand abbreviationsFor example:
<ABBR TITLE="association">assoc.</ABBR>
<ACRONYM TITLE="Labour Market Information">LMI</ACRONYM>
For example:
<P>Labour Market Information (LMI) provides.... LMI is useful for...</P>
3. Identify the document's primary natural languageFor example:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML lang="en">
The bottom line, as stated in WCAG Guideline 4, is clarify the natural language being used, and transitions to and from other languages.