Test Case sc3.1.2_l2_018: Language identification for Italian word in English text

Formal Metadata

Formal Metadata
TitleLanguage identification for Italian word in English text
DescriptionA 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.)
CreatorBenToWeb (Christophe.Strobbe@…)
RightsCopyright BenToWeb 2005-2007
LanguageEnglish
Date2005-09-01
Statusaccepted QA

Technologies and Features

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)

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 .

Test Data

Purpose

This test case is intended to pass because the language of the Italian word is correctly identified.

Expert Guidance

Check whether any change in natural language is correctly identified.

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc3.1.2_l2_018 (XML).

Rules

“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.

Primary Rules

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.

Functional Outcome

A screen reader user should be able detect the change in language in the document's content.

Technical Comment

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).

Secondary Rules

Secondary Rule (WCAG 2.0 - June 2005 Working Draft)

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.

Functional Outcome

A screen reader user should be able detect the change in language in the document's content.

Technical Comment

In WCAG 2.0 (30 June 2005 Working Draft), it is no longer required to identify the language for individual words.

Secondary Rule

The test case passes (line 14, column 14) the following success criterion: URL unknown!.

Functional Outcome

A screen reader user should hear the change in language in the screen reader's speech synthesizer.

Technical Comment

WCAG 1.0 required a lang attribute for every single change in natural language, even for single words.