Test Case sc1.4.3_l2_014: Background colour but no foreground colour (HTML)

Formal Metadata

Formal Metadata
TitleBackground colour but no foreground colour (HTML)
DescriptionDocument which specifies a background colour, but no foreground colour. The background colour is defined in the bgcolor attribute on the body element (the background colour is gray; RGB code #cccccc).
CreatorBenToWeb (johannes.koch@…)
RightsCopyright BenToWeb 2004-2007
LanguageEnglish
Date2006-08-08
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)

CSS 2.0 Specification

CSS 2.0 Specification

Test Data

Purpose

The test is intended to fail because no foreground colour is specified with the background (common failure F24).

Test Modes

Automatic evaluation.

Test Files

Test file.

TCDL Data

sc1.4.3_l2_014 (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 6, column 27: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#visual-audio-contrast-contrast.

Functional Outcome

No colour is specified with the background.

Technical Comment

This test case maps to failure F24: Failure of SC 1.4.3 and 1.4.5 due to specifying foreground colors without specifying background colors or vice versa

Secondary Rules

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

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

Functional Outcome

No colour is specified with the background.

Technical Comment

Online version: sc1.4.1_l2_014.

Secondary Rule (WCAG 2.0 - June 2005 Working Draft)

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

Functional Outcome

No colour is specified with the background.