Skip to Main Content

Accessibility Testing Procedure

Previous Topic

Next Topic

Book Contents

Book Index

Focus Visible

Guideline

Any keyboard operable user interface has a mode of operation where the keyboard focus indicator is visible.

Intent

The intent of this regulation is to help a person know which element has the keyboard focus and help a person know which element among multiple elements has the keyboard focus. If there is only one keyboard actionable control on the screen, the success criterion would be met because the visual design presents only one keyboard actionable item.

Note that a keyboard focus indicator can take different forms. One common way is a caret within the text field to indicate that the text field has the keyboard focus. Another is a visual change to a button to indicate that that button has the keyboard focus.

USDA/NFC Specific

To further meet the needs of the accessibility community, USDA/NFC's standard exceeds that of the above baseline requirement by requiring that the default focus indicator provided by modern browsers be at least two (2) pixels in width. Many browsers include default borders around interactive elements that may fail to meet this requirement but can be modified to meet the requirement through the use of Cascading Style Sheets (CSS).

Finding Applicable Components

Find all visible and hidden interactive interface components (links, form fields, drop down menus, show/hide content, tree views, pop ups/light boxes, etc.) using a mouse (hover and/or click).

Inspecting and Using Components

Using the keyboard, navigate to each interactive component and look for a visible indication of focus (usually an outline around the component).

Loss of focus should not occur while manually shifting focus through the page. If hidden content receives focus it should become visible while focused.

Section 508/WCAG 2.0 Failure Conditions

Reporting Test Results

Any failure in Section 508 Failure Conditions results in: Fails Baseline Requirement #2.

All interface components give a visible indication when they receive focus results in: Passes Baseline Requirement #2.

For sharing test results between Agencies, the results of Section 508 Conditions and Reporting Test Results must be reported.

See Also

Accessibility Guidelines

Alternate Pages

Audio Controls

Audio Descriptions

Bypass Blocks

Captions

Color Contrast

Error Identification

Error Suggestion

Focus Order

Forms

Frames

Headings

Image Maps

Images

Keyboard Accessible

Keyboard Shortcuts

Language

Links and User Controls

Meaningful Sequence

Multiple Ways

Multi-state Components

Non-Text Contrast

Orientation

Page Titles

Parsing

Pause, Stop, Hide

Pre-recorded Audio and Video

Reflow

Resize Text

Status Messages

Tables

Target Size

Text Spacing

Three Flashes or Below

Timing Adjustable

Use of Color