| Title | No language identification for Italian word in English text |
|---|---|
| Description | A document with an English sentence that contains a word in Italian. The change from English to Italian is identified. (The span element containing the Italian word has a lang attribute with the value "it" for Italian.) |
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2004-2007 |
| Language | English |
| Date | 2005-09-01 |
| Status | draft |
Technologies are markup languages or data formats. If the technology is a markup language, “features” refers to elements and attributes.
XHTML™ 1.0 The Extensible HyperText Markup Language (Second Edition)
Feature: lang
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification:
Specifying the language of content: the lang attribute
.
This test case is intended to pass because the language of the Italian word is correctly identified. Since it is only a single word, there is no requirement to identify the change in language in WCAG 2.0, even though this was required in WCAG 1.0.
Automatic evaluation.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case passes (line 9, column 23) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#meaning-other-lang-id.
A screen reader user should be able detect the change in language in the document's content.
In WCAG 2.0, it is no longer required to identify the language for individual words.
The test case passes (line 9, column 23) the following success criterion: URL unknown!.
A screen reader user should hear the change in language in the the screen reader's speech synthesizer.
WCAG 1.0 required a lang attribute for every single change in natural language, even for single words.