| Title | 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 | validated |
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.
Check whether any change in human language is correctly identified.
Accessibility expert.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case passes (line 14, column 14) the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#meaning-other-lang-id.
A screen reader user should be able detect the change in language in the document's content.
This test case maps to technique H58: Using language attributes to identify changes in the human language.
The test case passes (line 14, column 14) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#meaning-other-lang-id.
A screen reader user should be able detect the change in language in the document's content.
This test case maps to technique H58: Using the lang attribute to identify changes in the natural language (http://www.w3.org/TR/2006/WD-WCAG20-TECHS-20060427/Overview.html#H58).
Online version: sc3.1.2_l2_018.
The test case passes (line 14, column 14) 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 (30 June 2005 Working Draft), it is no longer required to identify the language for individual words.
The test case passes (line 14, column 14) the following success criterion: URL unknown!.
A screen reader user should hear the change in language in the screen reader's speech synthesizer.
WCAG 1.0 required a lang attribute for every single change in natural language, even for single words.