Focusable Elements Are Not Keyboard-Accessible Without Key Handlers, WCAG Warns
A web accessibility guide highlights a common misconception: custom UI controls that receive focus are not automatically keyboard-operable under WCAG 2.1.1. A custom checkbox may display a focus ring and announce correctly via screen readers like VoiceOver, yet fail to respond to keyboard inputs such as the Space key if only a mouse click handler is implemented. The WCAG 2.1.1 Keyboard criterion requires that all functionality be available via keyboard, not just that an element be focusable. Proper implementation demands that checkboxes respond to Space for toggling, and radio groups support arrow-key navigation using a roving tabindex pattern. The guidance stresses that assigning a role and making an element focusable is insufficient — key event handlers are essential to true keyboard accessibility.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in