W3C

Techniques for WCAG 2.0

Skip to Content (Press Enter)

On this page:

-

G148: Not specifying background color, not specifying text color, and not using technology features that change those defaults

Applicability

Any technology where text and background color are specified separately and browsers can control default colors.

This technique relates to:

Description

The objective of this technique is to make sure that users can read text that is presented over a background. With this technique the author avoids having to do any contrast measures by simply not specifying the text color and not specifying the background. As a result the colors of both are completely determined by the user agent.

Examples

Example 1

Example 1: Author specifies neither text color nor background. They also do not use CSS. As a result the user can set his browser defaults to provide the colors and contrasts that work well for them.

Resources

Resources are for information purposes only, no endorsement implied.

Tests

Procedure

  1. Look in all places that text color can be specified

  2. Check that text color is not specified

  3. Look in all areas that background color or image used as a background can be specified

  4. Check that no background color or image used as a background is specified

Expected Results

This Web page is part of Techniques and Failures for Web Content Accessibility Guidelines 2.0. The entire document is also available as a single HTML file. See the The WCAG 2.0 Documents for an explanation of how this document fits in with other Web Content Accessibility Guidelines (WCAG) 2.0 documents.

Copyright © 2008 W3C ® (MIT, ERCIM, Keio), All Rights Reserved. W3C liability, trademark and document use rules apply.

AltStyle によって変換されたページ (->オリジナル) /