# How to test keyboard accessibility on a form

> Check whether someone can finish a task using only the keyboard. Trace focus through an address dialog, a validation error and the return to the booking.

Source: https://cueapril.com/knowledge/how-to/test-keyboard-navigation
Updated: 2026-12-02
Index: https://cueapril.com/llms.txt

## How do you check whether someone can complete a task with a keyboard?

Choose a real task and complete it using only the keyboard. Watch where focus goes, whether it stays visible and whether every required action and recovery path is reachable. Record the environment and exact point where progress stops.

## Follow the task through errors and recovery

Pick a starting state with a clear success condition. Include a realistic interruption such as a validation error or a dialog.

1. Record the build, browser and operating system. Put the pointer aside and start from a reproducible location.
2. Navigate, activate controls and correct an error using the applicable keyboard interactions. Inspect focus after each new view, error and dialog dismissal.
3. Document any blockage with the last reachable control, keys used and expected destination. Retest after the fix and plan separate assistive-technology sessions where appropriate.

## Worked example: Where does focus go after an edit?

Open ‘Change address’ from a booking, enter an incomplete postcode and submit. Can the user reach the error, fix the value and save? After the dialog closes, check that focus returns to a sensible place in the booking. Record the observed sequence even if a mouse user completes the same path easily.

## Try it on your pull request

Choose a change in your repository and tell Cue April what should happen. Review the proposed checks before they run.

[Try Cue April on your repository](https://app.cueapril.com/sign-up/?next=%2Fquality-start)

## Related reading

- [Assistive technology testing](https://cueapril.com/knowledge/definitions/assistive-technology-testing)

- [How to run an exploratory testing session](https://cueapril.com/knowledge/how-to/run-an-exploratory-session)

- [Run the checks and investigate surprises](https://cueapril.com/knowledge/playbook/run-and-investigate)

[Browse the Knowledge base](https://cueapril.com/knowledge)
