| 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 not identified.
(The span element containing the Italian word does not have a lang attribute with the value "it" for Italian.)
|
| Creator | BenToWeb (Christophe.Strobbe@…) |
| Rights | Copyright BenToWeb 2005-2007 |
| Language | English |
| Date | 2005-09-01 |
| Status | accepted QA |
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 fail because the change in language is not identified.
Check whether any change in natural 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 fails the following success criterion at line 14, column 11: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#meaning-other-lang-id.
A user agent may not be able to detect the change in language in the document's content.
This test case does not map to a WCAG 2.0 technique or failure.
The test case passes (line 14, column 11) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#meaning-other-lang-id.
A user agent may not be able to detect the change in language in the document's content.
In WCAG 2.0 (30 June 2005 Working Draft), it is not required to identify the language for individual words.
The test case fails the following success criterion at line 14, column 11: 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.