~/qa-guides/accessibility-testing-checklist
>_ Accessibility Testing Checklist: Keyboard, Focus, and Forms
Review keyboard operation, focus changes, and accessible form feedback through three worked workflows, with test fixtures, expected outcomes, and a filled defect report.
Short answer
An accessibility testing checklist for keyboard, focus, and forms checks whether users can reach controls, understand their purpose, operate a task, find feedback, and continue after errors or interface changes. Review both visible behavior and the information exposed to assistive technology.
A useful test follows a complete task: open a form, enter data, trigger an error, correct it, submit, and locate the result. Record where keyboard focus goes, what information is available, and whether the next action remains possible.
This guide covers selected web interaction checks and three worked workflows. A complete accessibility assessment requires broader page, process, content, and technology coverage. The request-board feature below is a teaching model; its controls, focus policies, and findings are invented examples.
Set the scope and distinguish requirements from design choices
The WCAG 2.2 Recommendation defines success criteria and conformance requirements. Use its criterion numbers and levels when classifying a finding. Passing the selected checks in this article does not establish conformance to every applicable criterion.
The Form Testing Checklist covers the wider input-to-save workflow. Here, the question is how people perceive and operate that workflow through keyboard interaction and accessible feedback.
Keep three kinds of expectation explicit: a WCAG requirement, an interaction-pattern recommendation, and a product-specific decision. For example, an accessible error experience needs understandable feedback; a product can deliberately choose a focused error summary as its way of directing users to corrections.
Prepare a reproducible accessibility review
Record the application build, page or route, account permissions, starting records, viewport, browser zoom, operating system, browser version, and relevant keyboard settings. For an assistive-technology pass, also record the screen reader, version, interaction mode, and settings that affect navigation or speech.
Start with a keyboard-only pass, then repeat the important tasks with the selected screen reader. Put the pointer aside while executing a keyboard path. A mouse click used to rescue lost focus should be recorded as a failure or interruption, rather than silently completing the path.
Confirm platform and browser keyboard navigation settings before reporting that every link is skipped. Check a known native control to distinguish configuration from page behavior. During the screen reader pass, use its appropriate reading and interaction modes; a navigation command intercepted by the screen reader is different from a key reaching the widget.
Prepare valid input, invalid input, a server-rejection condition, and any empty-list or single-record state required by the task. The test data design guide explains how to identify and restore those arrangements.
Observe accessible names, roles, values, and states with browser accessibility inspection as supporting evidence. Then operate the actual task. A property visible in an inspector does not prove that the intended browser and screen reader combination presents a usable experience.
Selected WCAG checkpoints for this review
This mapping identifies relevant checkpoints, not a complete audit inventory:
| Criterion | Level | Review question |
|---|---|---|
| 2.1.1 | A | Can the task be operated through keyboard input? |
| 2.1.2 | A | Can the user leave each component with the keyboard? |
| 2.4.3 | A | Does sequential navigation preserve meaning and operation? |
| 2.4.7 | AA | Can the user visually locate keyboard focus? |
| 2.4.11 | AA | Does page content leave the focused component at least partly visible? |
| 3.3.1 and 3.3.2 | A | Are needed inputs explained and detected errors identified in text? |
| 4.1.2 | A | Are control names, roles, values, and states exposed? |
| 4.1.3 | AA | Can qualifying status updates be presented without moving focus? |
Check 2.4.7 and 2.4.11 separately: a partly visible control does not automatically have a visible focus indicator.
WCAG 2.4.12 addresses complete freedom from author-created obstruction at Level AAA. The more specific focus-appearance criteria in 2.4.13 are also AAA. Do not relabel those stronger criteria as the wording of 2.4.7 or 2.4.11.
Keyboard operation and focus checklist
1. Reach and activate the required controls
Exercise the same meaningful task available to a pointer user, including secondary actions and recovery.
- Reach the task's links, fields, buttons, and relevant widgets using keyboard navigation.
- Activate an ordinary button using its expected keyboard behavior, and verify the action actually occurs.
- Open a link with the keyboard and confirm that its destination or action matches its purpose.
- Exit an opened component using the appropriate keyboard interaction and continue the task.
Use the interaction expected for the control type. Ordinary buttons support Enter and Space; links are normally activated with Enter. Space on a link may scroll the page instead. Giving a clickable element an accessible role alone does not implement its keyboard behavior.
Record the exact control and key when activation fails. A mouse-accessible menu does not establish that its submenu or closing action can be operated from the keyboard.
2. Check navigation order and widget behavior
Move forward and backward through a representative page state. Confirm that the sequence supports the task rather than forcing the user to reconstruct its meaning.
- Use Tab and Shift+Tab to verify the sequence between controls and components.
- Exercise the internal navigation of compound widgets with their expected keys.
- Confirm that a bypass link, when provided for repeated navigation, moves the user to the intended content and supports continuing from there.
- Check that hidden or removed interface controls do not remain accidental navigation stops.
A radio group or tablist may have one entry in the page's tab sequence and use arrow keys internally. Static headings and paragraphs generally do not need their own Tab stops. Distinguish keyboard focus, selection, and expanded state; a selected item is not necessarily the item currently receiving keyboard input.
When the order appears wrong, compare the visual arrangement, document sequence, and the actual focused element. Avoid assigning failure solely because two visually adjacent controls have an intervening meaningful navigation stop.
3. Inspect focus visibility and obstruction separately
Watch the indicator while navigating, including at the edges of a scrollable page or panel.
- Locate the focused control without moving the pointer over it.
- Check focus against the actual backgrounds used in normal, selected, and error states.
- Repeat the path with sticky headers, cookie panels, toolbars, or other page overlays present.
- Inspect the focused control after the page scrolls, and distinguish complete obstruction from partial obstruction.
Test a real focus state rather than a hover style. An active search result, checked checkbox, or colored selected tab can remain visually emphasized after focus has moved elsewhere.
A screenshot should show the focused component and the surrounding obstruction. Browser inspection of the active element can help establish which control owns focus, but it cannot by itself show whether a user can see that focus.
4. Follow focus through dynamic changes
Prepare the state transition that creates, replaces, hides, or removes controls.
- After a result refresh, verify that focus remains useful and the next keyboard action is predictable.
- After a route transition, check the agreed destination and whether users can identify the new context.
- After removing the focused item, verify that a remaining meaningful target receives focus.
- Confirm that focusing a control alone does not unexpectedly submit or navigate.
Define the expected outcome for the interaction. A same-page result count update can preserve focus on the initiating control. Opening a new dialog needs focus inside that dialog. Those actions have different purposes and should not share a blanket rule that focus must always stay or always move.
For a failure that occurs only after rerendering, record the trigger, the element that had focus before the change, and the element receiving keyboard input afterward.
5. Review the modal lifecycle
The W3C APG modal dialog pattern provides interaction and focus guidance. Its recommendations help define a widget's behavior; distinguish them from the WCAG success criteria used to classify accessibility findings.
- Open the dialog from its keyboard-accessible trigger and identify its accessible name.
- Verify that initial focus is meaningful within the dialog's content.
- Navigate forward and backward through its controls, and check that the background cannot be operated while the dialog is modal.
- Close it through its supported keyboard actions and verify the resulting focus destination.
For the simple dialogs in this article, Escape closes the dialog and a visible Cancel action is available. Larger content may need a different initial target from the first input. After closing, an existing trigger is often suitable; if it has been removed, choose a logical continuation.
Focus containment while a modal is open is intentional. Verify that the user can close the modal and continue, rather than treating every contained Tab sequence as a keyboard trap. Setting aria-modal does not itself implement containment or block background interaction.
Forms and feedback checklist
6. Identify fields and actions programmatically
Review the controls in the states users actually encounter.
- Check that each field has an understandable visible label and accessible name.
- Confirm that the exposed name retains the visible wording users rely on to identify the control.
- Inspect the exposed type, current value, and relevant checked, selected, expanded, or invalid state.
- Check repeated actions in their context so the user can distinguish which record each action affects.
Placeholder text can illustrate input, but it disappears during entry and should not carry the whole labeling job. An icon-only action needs a meaningful name; adding the same name to every unrelated icon does not make their purposes clear.
When inspecting aria-label or aria-labelledby, compare the computed result with the visible interface. A hidden override can replace a useful visible label with unrelated text.
7. Make requirements and instructions available before entry
Start from a clean form and discover its requirements through both visual reading and the selected assistive technology.
- Identify required and optional fields without inferring their meaning from color alone.
- Locate relevant format instructions and confirm their association with the input.
- Check that grouped choices have an understandable shared purpose as well as individual labels.
- Enter data and verify that labels and necessary instructions remain available.
Record the information users need, rather than demanding an exact spoken sentence from every screen reader. Announcements vary with the combination and settings. The purpose, state, and instructions must still be understandable.
If a choice reveals another field, inspect that new field's name and requirements, and check that the user can discover and reach it. Avoid silently changing the meaning of the current field while leaving its label unchanged.
8. Find errors, correct them, and retry
Test an actual rejection. A screenshot of a red field is insufficient evidence about the recovery path.
- Submit a defined invalid fixture and locate the textual error explanation.
- Identify the affected input through the feedback and its programmatic relationships.
- Reach and correct each reported field with the keyboard.
- Verify that corrected feedback and exposed invalid state update appropriately.
- Retry successfully while retaining the other valid information the product is expected to preserve.
Review client-side and server-side rejection paths separately. A server response can arrive after the user has moved to another control or can replace an error already shown.
A product can use an error summary, direct movement to a relevant field, or another usable strategy. Record the intended behavior and evaluate the complete correction path. There is no universal requirement to give every error both an assertive live announcement and a forced focus change.
9. Review asynchronous feedback without unnecessary interruption
Observe the actual update while operating the interface.
- Determine whether a meaningful status message, such as the final result count, is exposed to assistive technology.
- Check that feedback can be understood while focus remains on the control used to continue.
- Exercise an empty result or unsuccessful operation as well as a successful one.
- Confirm that important feedback remains discoverable after a transient notification disappears.
A successful save message and a validation error that requires correction have different roles in the task. Choose feedback appropriate to that role rather than turning every DOM update into an urgent alert.
Test the resulting presentation with the selected screen reader. A live-region attribute visible in source inspection is supporting evidence, not a recording of what the user received. Conversely, a brief loading state may finish before speech is delivered; focus the assessment on the information users need to understand and continue.
10. Repeat the path under layout and content changes
Choose states that stress the interaction, rather than taking another screenshot of the initial page.
- Repeat keyboard navigation with the agreed narrow viewport and increased zoom.
- Open the form or dialog with long labels and error text, and reach the final action.
- Verify that scrolling a panel does not strand focus behind fixed content.
- Check that responsive variants preserve the controls and feedback needed to finish the task.
The Responsive Design Testing Checklist covers layout adaptation and reflow in more detail. A narrow desktop viewport remains a desktop test; record real-device and mobile assistive-technology coverage separately.
Worked example 1: a keyboard search and result refresh
Declare the board and its focus policy
The fictional request board starts with these records in ID order:
| Request | Title | Topic |
|---|---|---|
| R101 | VPN access | Account |
| R102 | Laptop repair | Hardware |
| R103 | Archive export | Software |
The page contains a visible-on-focus Skip to requests link, a Requests heading, a Search requests text field, an Apply filters button, and a New request link. Each result has separate Open request, Edit request, and Delete request controls whose names include its ID.
The bypass link focuses the Requests heading. From there, Tab reaches the search field, Apply filters, New request, then the first result's Open, Edit, and Delete controls, continuing in ID order.
Search matches title text. Applying a query keeps focus on the enabled Apply filters button while results refresh. The final result count is exposed as a status message. These are explicit policies for this example, not prescribed focus destinations for every search interface.
Follow the trace and inspect both kinds of evidence
| Step | Keyboard action | Focus destination | Result |
|---|---|---|---|
| Enter | Activate Skip to requests | Requests heading | Three records |
| Search | Enter VPN, then activate Apply filters | Apply filters | R101 only |
| Empty | Replace query with NoMatch and apply | Apply filters | No records |
| Continue | Press Tab after empty result | New request | Creation remains reachable |
Restore the three-record baseline before an independent run. Enter VPN, move to Apply filters, and activate it. The displayed count becomes 1; no new page has opened. With the screen reader, confirm that the final count is presented without needing to move focus to the count.
Next, return to the search field using the keyboard and replace the query with NoMatch. After applying it, the count is 0, the old result controls are absent from navigation, and New request remains the next control after Apply filters.
Record focus and status presentation separately. If the accessible status reports zero but focus disappears because the initiating button was replaced, the announcement does not repair the navigation failure. If focus is retained but the count update is inaccessible, the keyboard path alone does not establish that feedback works.
Worked example 2: form errors and successful completion
Prepare the inputs and feedback contract
Restore the unfiltered three-record board. The New request page has a required Title field, a required native Topic selection, an optional Details field, and a Create request button. Topic choices are Account, Hardware, and Software; the initial prompt selects no topic.
On entry, the page heading receives focus and the user can Tab to Title. This teaching product uses custom in-page validation. Detected errors produce a focused summary with links to the affected fields. Existing values are retained.
The server also rejects an exact title already present on the board, regardless of Topic. A rejected submission creates no record. Success creates R104, opens its detail page, and focuses the new page heading.
Use Keyboard review as Details in each independent test:
| Fixture | Title | Topic | Expected outcome |
|---|---|---|---|
| Missing | Empty | Unselected | Two field errors |
| Duplicate | VPN access | Hardware | One server title error |
| Accepted | Screen repair | Hardware | R104 created |
Discover and correct the two missing inputs
Navigate through the clean form with the selected screen reader. Identify Title and Topic as required and Details as optional. Confirm that the Topic control exposes its current selection rather than only its nearby visual caption.
Submit the Missing fixture with the keyboard. The summary receives focus and identifies two errors. Its links are Enter a title and Choose a topic. Activating the first link focuses Title; its associated explanation is available, and the input exposes its invalid state.
Enter Screen repair. This example updates Title feedback when the user leaves the field. Continue to Topic, select Hardware using the native control's keyboard interaction, and check that its error clears after the selection changes.
Corrections keep focus on the control being operated; updating the summary does not repeatedly pull the user back to its heading. Details still contains Keyboard review. Once both fields are valid, activate Create request and verify the successful destination.
That completes one correction workflow. Restore the baseline before the following independent server-rejection test so the accepted record does not alter the fixture.
Exercise a rejection after valid client input
Submit the Duplicate fixture. Its inputs satisfy the local required-field checks, but the server rejects Title because VPN access belongs to R101.
The form stays open, its summary receives focus, and one error explains that the title is already in use. Follow its link to Title, verify that Topic remains Hardware and Details remains unchanged, and replace the title with Screen repair.
Retry. The detail page heading identifies R104 and Screen repair, and the board now contains four records. Confirm that keyboard navigation continues meaningfully from the new page rather than from a removed form control.
Keep the evidence specific: being able to read the summary, reaching its field target, understanding the field's state, and reaching the success page are separate observations in one task. Matching a single spoken phrase is not a substitute for that path.
Worked example 3: edit and delete dialogs
Exercise a simple edit dialog in both directions
Restore the three-record board with no query. Activate Edit request R102 from the keyboard. The modal has the accessible name Edit request R102, a Title field containing Laptop repair, and Save and Cancel buttons.
Initial focus goes to Title. In this ready state, Tab moves from Title to Save, then Cancel, then back to Title. Shift+Tab from Title moves to Cancel. The background request controls are unavailable while the modal is active.
Change Title to Laptop screen repair and choose Cancel. The modal closes without saving, R102 retains Laptop repair, and focus returns to Edit request R102. Reopen and test Escape from the ordinary Title field as a separate cancellation path.
On another restored run, save Laptop screen repair. R102 retains its ID and Topic, the dialog closes, and focus returns to its existing Edit control. That control's name still identifies R102.
If saving fails in a variant under review, inspect the open dialog's error path rather than assuming the successful close policy still applies. New error links or other controls may also change its tab sequence.
Distinguish closing a modal from losing its trigger
The delete confirmation has a heading that identifies the target request, Cancel and Delete buttons, and initial focus on Cancel. The cautious initial target is this product's deliberate design choice.
In the confirmation, Tab moves from Cancel to Delete and back to Cancel. Escape or Cancel dismisses it without deletion. Verify the record remains and the invoking Delete control receives focus.
For confirmed deletion of R102, the invoking control disappears with its row. The agreed continuation is Open request R103, the next remaining record. The user can immediately continue from there.
| Outcome | Starting fixture | Focus after closing |
|---|---|---|
| Cancel edit | Three records, edit R102 | Edit request R102 |
| Save edit | Three records, edit R102 | Edit request R102 |
| Cancel deletion | Three records, delete R102 | Delete request R102 |
| Confirm deletion | Three records, delete R102 | Open request R103 |
| Delete final record | Only R103 exists | New request |
The final row uses a separate single-record fixture containing only R103. Confirming its deletion leaves an empty board, so there is no next result to focus. New request provides a useful continuation.
These targets are selected for this board. Another workflow may choose a different meaningful destination. A reference to the deleted trigger, hidden element, or page body does not establish that the user can locate and continue the intended task.
Inspect modal semantics and behavior together. A dialog name in the accessibility tree cannot compensate for focus remaining on an operable background control. Similarly, a keyboard-contained overlay with no understandable dialog identity leaves the screen reader user without necessary context.
Combine automated checks with observed task evidence
Use automated inspection to find candidate issues such as unnamed controls, invalid references, or missing semantics in the states the tool reaches. Retain the tested state and inspect each result before assigning its impact.
A scanner run on the clean form does not establish that a server error summary is usable. Nor does its result describe a dialog that was never opened. Include relevant states deliberately.
Interaction automation can check focus destinations, reachable controls, and exposed attributes after a known action. A manual visual pass is still needed to assess focus against the rendered background and overlays; a screen reader pass evaluates the presentation in the intended combination.
Avoid reporting a percentage of accessibility from a count of scanner rules or green checklist items. Report the tasks, states, combinations, observations, and remaining coverage instead.
Record an actionable accessibility defect
Capture the build, starting state, environment and settings, input method, exact steps, expected outcome, actual outcome, affected user task, and supporting evidence. Add a criterion and level when the evidence supports that classification.
For example, the following is an invented visual-focus finding:
- Title: Apply filters is completely hidden by the sticky header after keyboard navigation.
- Context: Request-board teaching model, three-record fixture, query empty.
- Test configuration: Keyboard-only review at a 390 by 844 CSS-pixel viewport and 100% browser zoom; retain the exact browser and OS versions with a real execution.
- Steps: Follow Skip to requests, then Tab to Search requests and Tab again to Apply filters.
- Expected: The focused component can be located and operated while continuing the search task.
- Actual: Apply filters owns keyboard focus, but its rectangle is at horizontal coordinates 16 to 180 and vertical coordinates 24 to 56. The opaque sticky header spans the viewport width and vertical coordinates 0 to 64, covering the entire control.
- Impact: A sighted keyboard user cannot see which control will receive activation.
- Classification: WCAG 2.4.11, Level AA, because author-created content entirely obscures the focused component.
- Evidence to capture: Keyboard sequence, focused-element identity, viewport screenshot, and the control and overlay geometry.
The coordinates support the complete-obstruction finding; they are not a focus-ring size formula. This example does not establish a screen reader failure, because no screen reader observation is included.
After a fix, repeat the failing path with the same fixture and settings, then inspect nearby controls and the relevant zoom or narrow-layout variants. Retain the actual result and remaining scope with the defect.
FAQ
Yes. A custom error summary is one implementation choice in the teaching example. For native validation, operate the actual browser feedback with the selected input method and screen reader. Verify that the user can identify the problem, reach the field, correct it, and retry. Record differences between supported combinations rather than replacing observed behavior with an assumption about native controls.
Choose a documented matrix from the product's supported platforms, user needs, and component risks. Prioritize important complete tasks, then expand where behavior differs or defects recur. One successful combination does not establish support for every other combination, and repeating the same task on many browsers does not cover untested states.