Test Case sc1.4.2_l1_003: Background sound with object element via scripting

Formal Metadata

Formal Metadata
TitleBackground sound with object element via scripting
DescriptionDocument containing reference to sound via the object element being inserted via scripting.
CreatorBenToWeb (johannes.koch@…)
RightsCopyright BenToWeb 2004-2007
LanguageEnglish
Date2005-08-11
Statusvalidated

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: object (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: Generic inclusion: the OBJECT element .

Feature: script (namespace: http://www.w3.org/1999/xhtml) .

Technical specification: The SCRIPT element .

Standard ECMA-262: ECMAScript Language Specification

Standard ECMA-262: ECMAScript Language Specification

Test Data

Purpose

The test is intended to fail because the sound cannot be stopped in Firefox or Opera.

Expert Guidance

The browser must be JavaScript-enabled.

Test Modes

Accessibility expert.

Test Files

Test file.

TCDL Data

sc1.4.2_l1_003 (XML).

Rules

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

Primary Rules

The test case fails the following success criterion at line 8, column 38: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#visual-audio-contrast-dis-audio.

The test case fails the following success criterion : http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#visual-audio-contrast-dis-audio.

Functional Outcome

Background sound cannot be stopped.

Technical Comment

The object element causes plays a sound that cannot be stopped, except in Internet Explorer (by pressing the Esc button).

This test case maps to failure F23: Failure of SC 1.4.2 due to playing a sound longer than 3 seconds where there is no mechanism to turn it off.

Secondary Rules

Secondary Rule (WCAG 2.0 - April 2006 Working Draft (Last Call))

The test case fails the following success criterion at line 8, column 38: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#visual-audio-contrast-dis-audio.

The test case fails the following success criterion : http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#visual-audio-contrast-dis-audio.

Functional Outcome

Background sound cannot be stopped.

Technical Comment

The object element causes plays a sound that cannot be stopped.

Online version: sc1.4.2_l2_003.

Secondary Rule (WCAG 2.0 - June 2005 Working Draft)

The test case fails the following success criterion at line 8, column 38: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#visual-audio-contrast-dis-audio.

The test case fails the following success criterion : http://www.w3.org/TR/2006/WD-WCAG20-20050630/#visual-audio-contrast-dis-audio.

Functional Outcome

Background sound cannot be stopped.

Technical Comment

The object element causes plays a sound that cannot be stopped.