Web Development
Web Developer Guidelines
Visual Design Recommendations

Checkpoint 1.15 - Java

Only high contrast colours have been used

WCAG 1.0 Priority 2

WCAG Guideline 2. Don't rely on color alone.

Some users with visual impairment require a high contrast between colours used for text and for the background that it is presented on. The Windows operating system provides a "high contrast" setting that allows users to define their display preferences in one location instead of having to do so for each application.

Requirement

Only high contrast colours have been used to offset text against its background

Recommendation

For the Windows operating system, automatically inherit the system settings for high contrast. If the software uses the Windows Pluggable Look and Feel (PLAF), provided with JFC, and standard JFC components, the controls and text will automatically inherit the Windows system settings for high contrast.

Where the operating system and components do not have corresponding standard system controls, high contrast capabilities can be created that can be set by the user, such as using Javax.Swing.Colorchooser - JColorChooser.

Checking Tool

Check the option to "Use High Contrast" on the Display tab of the Accessibility Options from within the Control Panel. Select the Settings button and select a high contrast scheme such as "White on Black". Select the OK button and then the Apply button.

Verify in the application that the software's user interface controls and client area are displayed using the new contrast scheme.

At least two high contrast settings should be tested to verify that the software does not depend on a particular setting.

Information Source

The original source of this information is located on the W3C web site  (www.w3.org/TR/WCAG10-TECHS/#tech-color-contrast)

 

Back to top