| Title | Foreground colour but no background colour (HTML) |
|---|---|
| Description | Document which specifies a foreground colour, but no background colour. The foreground colour is defined in the text attribute on the body element (the foreground colour is black; RGB code #000000). |
| Creator | BenToWeb (johannes.koch@…) |
| Rights | Copyright BenToWeb 2004-2007 |
| Language | English |
| Date | 2006-08-08 |
| 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)
The test is intended to fail because no background colour is specified to be used with the (foreground) colour (common failure F24).
Automatic evaluation.
“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 6, column 24: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#visual-audio-contrast-contrast.
No background is specified with the colour.
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.
The test case fails the following success criterion at line 6, column 24: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#visual-audio-contrast-contrast.
No background is specified with the colour.
Online version: sc1.4.1_l2_013.
The test case fails the following success criterion at line 6, column 24: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#visual-audio-contrast-contrast.
No background is specified with the colour.