Supporting keyboard access to links, form controls and other interactive content is a basic requirement of accessibility since many people with disabilities cannot use the mouse and other pointing devices.
An important part of supporting the keyboard is providing a clear visual indication of keyboard focus by styling the links, form controls and other interactive elements different from the elements without focus.
The styling should use more than color changes to indicate styling.
For example, typically focus is indicated to the use by changing border styling or showing a border around the element with focus.
Benefits to People with Disabilities
- People who cannot use the mouse can access the interactive elements of a web page
- People who cannot use the mouse can visual identify elements with keyboard focus
Benefits to Everyone
- Touch typists don’t have to take their hands off the keyboard to efficiently use the web page
- Keyboard focus styling supports people using the keyboard to know what link, form control or other interactive element has keyboard focus
Related Accessibility Requirements
- § 1194.22.a A text equivalent for every non-text element shall be provided (e.g., via "alt", "longdesc", or in element content).