Skip to Main Content

Accessibility Testing Procedure

Previous Topic

Next Topic

Book Contents

Book Index

Multi-state Components

Last Updated:

Guideline

For all user interface components (including but not limited to: form elements, links, and components generated by scripts), the name and role can be programmatically determined; states, properties, and values that can be set by the user can be programmatically set; and notification of changes to these items is available to user agents, including assistive technologies.

Intent

The intent of this regulation is to ensure that Assistive Technologies (AT) can gather information about, activate(or set) and keep up to date on the status of user interface controls in the content.

When standard controls from accessible technologies are used, this process is straightforward. If the user interface elements are used according to specification the conditions of this provision will be met.

If custom controls are created, however, or interface elements are programmed (in code or script) to have a different role and/or function than usual, then additional measures need to be taken to ensure that the controls provide important information to assistive technologies and allow themselves to be controlled by assistive technologies.

A particularly important state of a user interface control is whether or not it has focus. The focus state of a control can be programmatically determined, and notifications about change of focus are sent to user agents and assistive technology. Other examples of user interface control state are whether or not a checkbox or radio button has been selected, or whether or not a collapsible tree or list node is expanded or collapsed.

Finding Applicable Components

  1. Identify interface components that have multiple states; such as open, closed, expanded, checked, etc.

Inspecting and Using Components

  1. Activate the JAWS screen reader.
  2. Navigate to each interface component that has multiple states and using the keyboard, toggle the component through each applicable state.
  3. Validate that JAWS successfully identifies the changed state.

The component must unambiguously give its current state, rather than what its state would be after a change is activated (e.g., "Submenu, closed" is unambiguous, whereas "Close Submenu" sounds like an instruction).

Section 508/WCAG 2.0 Failure Conditions

A multi-state component does not reveal its current information:

Reporting Test Results

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

Focus Visible

Forms

Frames

Headings

Image Maps

Images

Keyboard Accessible

Keyboard Shortcuts

Language

Links and User Controls

Meaningful Sequence

Multiple Ways

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