Techniques for WCAG 2.0

Skip to Content (Press Enter)

-

G149: Using user interface components that are highlighted by the user agent when they receive focus

Applicability

All technologies with user-agent provided focus highlighting.

This technique relates to:

Description

The objective of this technique is to ensure that the focused component can be visually identified by the user by relying on user agent support. It is common for user agents to highlight standard controls in some way when they receive focus. UAAG-conformant user agents do so when they satisfy checkpoint 10.2 "Highlight selection, content focus, enabled elements, visited links". When authors use standard controls for which the user agent provides this support, users are informed of the focus location in a standard, predictable way.

Examples

Resources

Resources are for information purposes only, no endorsement implied.

Tests

Procedure

For each focusable component in the Web page:

  1. Set focus to the control

  2. Check whether the user agent has highlighted the control in some way

Expected Results

If this is a sufficient technique for a success criterion, failing this test procedure does not necessarily mean that the success criterion has not been satisfied in some other way, only that this technique has not been successfully implemented and can not be used to claim conformance.

Techniques are Informative

Techniques are informative—that means they are not required. The basis for determining conformance to WCAG 2.0 is the success criteria from the WCAG 2.0 standard—not the techniques. For important information about techniques, please see the Understanding Techniques for WCAG Success Criteria section of Understanding WCAG 2.0.