| Title | Sufficient contrast for foreground text and background image |
|---|---|
| Description | Document containing text on a background image. The foreground colour is black (RGB code #000000); the background colour has RGB code #009999. |
| Creator | BenToWeb (johannes.koch@…) |
| Rights | Copyright BenToWeb 2004-2007 |
| Language | English |
| Date | 2005-08-11 |
| 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)
Feature: body
(namespace: http://www.w3.org/1999/xhtml)
.
Technical specification: http://www.w3.org/TR/1999/REC-html401-19991224/struct/global.html#adef-background.
The test is intended to pass because the contrast ratio is higher than 5.
The formula to be used for calculating the contrast ratio can be found at http://www.w3.org/TR/2007/WD-WCAG20-20070517/#contrast-ratiodef.
Accessibility expert.
“Rules” refer to success criteria in WCAG 2.0, checkpoints in WCAG 1.0 and similar requirements.
The test case passes (line 6, column 73) the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#visual-audio-contrast-contrast.
The test case passes (line 6, column 73) the following success criterion: http://www.w3.org/TR/2007/WD-WCAG20-20070517/Overview.html#visual-audio-contrast-contrast.
The foreground and background colours have enough contrast.
The contrast ratio is 6:1.
This test case maps to technique G18: Ensuring that a contrast ratio of at least 5:1 exists between text and background behind the text
The test case passes (line 6, column 73) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#visual-audio-contrast-contrast.
The test case passes (line 6, column 73) the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20060427/guidelines.html#visual-audio-contrast-contrast.
The foreground and background colours have enough contrast.
Online version: sc1.4.1_l2_007.
The test case needs review before it can be established if it passes or fails the following success criterion: http://www.w3.org/TR/2006/WD-WCAG20-20050630/#visual-audio-contrast-contrast.
The WCAG WG hasn't provided threshold values for colour contrast yet.