The audit
Unplug your mouse. In order:
- Tab through the page from the URL bar. Every interactive element must receive focus in a logical order.
- Focus must always be visible. If it disappears, an element or its parent has
outline: nonewithout a replacement. - Skip link. Press Tab once from the URL bar — the first focusable element should be a "Skip to main content" link.
- Open a modal. Focus should move into the modal, cycle within it, and return to the trigger on close.
- Menus and comboboxes. Arrow keys should navigate options; Escape should close.
- Custom widgets. Any
divwith a click handler must be reachable via Tab and activate with Enter or Space. - Forms. Every field must be reachable and clearly labeled at focus.
Common failures
onClickon a<div>with notabindexand no keyboard handler.tabindexvalues greater than 0 that override natural order.- Custom dropdowns that trap focus permanently.
- Focus lost after a modal closes.
