Use this repeatable accessibility testing workflow to find likely WCAG issues, verify what automated scanners cannot judge, and prioritize fixes before a page, component, or release reaches users.
Overview
Accessibility testing is most useful when it combines several methods rather than relying on a single website accessibility checker. Automated accessibility testing can quickly identify missing labels, invalid attributes, duplicate IDs, some color-contrast problems, and other machine-detectable patterns. It cannot reliably determine whether a page is understandable, whether focus moves in a sensible order, or whether a custom interaction works well with assistive technology.
A practical audit therefore has four parts: automated scanning, keyboard testing, screen-reader spot checks, and focused visual and code inspection. Run the checks against realistic pages and states, including navigation menus, dialogs, validation errors, empty states, loading states, and authenticated areas where applicable.
Use the workflow below as a baseline for a new page, a reusable component, a regression check, or a broader audit. It is designed for frontend teams that need useful findings without treating an automated report as a final accessibility verdict.
Accessibility testing tools at a glance
| Testing method | Typical WCAG coverage | Common limitations | Reporting and crawl considerations | Privacy notes |
|---|---|---|---|---|
| Browser accessibility extension | Fast checks for common markup, naming, structure, and contrast issues | Can produce false positives and cannot judge usability or every interactive state | Usually best for the page currently open; export and history vary by tool | Prefer tools that inspect the local page when testing confidential content |
| Automated scanner or CI integration | Repeatable checks for selected, machine-detectable success criteria | Coverage is limited; passing does not mean the page is fully accessible | Useful for regression reporting; crawl depth, authentication, and dynamic content may be limited | Review where page data and reports are processed, especially for private environments |
| Keyboard-only review | Focus visibility, focus order, keyboard access, and interaction behavior | Requires human judgment and does not represent every assistive-technology experience | Record the exact route and state where a problem occurs | Can be performed locally without sending page content to a service |
| Screen-reader spot check | Names, roles, states, reading order, announcements, and practical task completion | Results vary by browser, operating system, screen reader, and tester experience | Short task-based recordings or notes are more useful than a generic pass/fail | Test with approved data and avoid placing sensitive information in shared recordings |
| Color-contrast analyzer | Contrast relationships for text and visual interface elements | Does not assess typography, context, meaning, focus behavior, or non-color cues alone | Check normal, hover, focus, disabled, error, and selected states | Browser-based inspection is generally suitable for local development |
| HTML validator and code review | Document structure, parsing issues, duplicate identifiers, and invalid patterns | Valid HTML is not the same as an accessible user experience | Works well in pull requests and component reviews | Local or repository-based checks reduce exposure of private page content |
For a broader frontend process, pair this workflow with a general frontend developer workflow checklist. Accessibility should be part of implementation and review, not a separate activity performed only at the end.
Checklist by scenario
1. Before testing: define the page and task
- Record the URL, route, viewport, browser, operating system, and build or commit being tested.
- List the primary user tasks, such as signing in, searching, purchasing, submitting a form, or opening a dialog.
- Identify important states: errors, success messages, loading indicators, expanded menus, modals, tooltips, and empty results.
- Test representative content, including long headings, missing images, multiline errors, and translated or user-generated text where relevant.
2. Run an automated scan
- Open the page in a browser-based accessibility testing tool or run the project scanner against the target route.
- Review each finding instead of accepting every result without inspection. Confirm that the flagged element exists and that the suggested fix fits the interface.
- Group repeated findings by root cause. One shared component may create dozens of identical issues.
- Save the report, tool version if available, URL, and timestamp so a later scan can be compared with the original.
- Repeat the scan after opening menus, triggering validation, changing tabs, and displaying dialogs. Dynamic content may not be present in the initial DOM.
3. Test with a keyboard only
- Unplug or ignore the mouse and complete the primary task using Tab, Shift+Tab, Enter, Space, arrow keys, and Escape as appropriate.
- Confirm that every interactive control can receive focus and that the focus indicator is visible against the page background.
- Check whether focus order follows the visual and task order. Watch for focus moving behind a dialog or disappearing after a route change.
- Open and close menus, accordions, dialogs, date controls, custom selects, and carousels without pointer input.
- Look for keyboard traps. A user should be able to leave each component or return to a predictable location after it closes.
4. Perform a screen-reader spot check
- Choose the screen reader commonly used by your team or target environment and test a small set of realistic tasks.
- Navigate by headings, landmarks, links, buttons, form fields, and tables where those navigation modes are available.
- Verify that controls expose a useful accessible name, role, state, and value. A visible label and an announced name should describe the same purpose.
- Trigger an error, status update, loading change, and dialog. Confirm that important information is announced at an appropriate time.
- Check reading order when visual layouts use grids, columns, CSS positioning, or responsive rearrangement.
5. Inspect contrast, semantics, and structure
- Measure text and interface contrast in default, hover, focus, selected, disabled, error, and success states.
- Do not communicate meaning with color alone. Add text, icons with suitable names, patterns, or other perceivable cues.
- Review heading levels, landmarks, lists, table headers, form labels, alternative text, and language declarations.
- Validate the rendered HTML and inspect custom controls for appropriate native elements or correctly implemented semantics.
- Resize the page and test zoom or reflow behavior. Look for clipped content, hidden controls, overlapping text, and horizontal scrolling that blocks a task.
6. Add repeatable checks to development
- Run automated checks on representative component stories or test pages, not only the homepage.
- Add keyboard and semantic review criteria to pull requests for new interactive components.
- Keep a small regression suite covering navigation, forms, dialogs, tables, and dynamic notifications.
- Document known exceptions with an owner, rationale, affected route, and planned follow-up.
What to double-check
Separate detection from verification
An automated finding is a signal, not always a confirmed defect. A tool may flag a contrast issue that is covered by an overlay, miss a contrast issue in a background image, or identify an image that needs a human decision about its purpose. Mark findings as confirmed, needs manual review, or not applicable with rationale.
Check component states, not just static pages
Many failures appear only after an action. Open the navigation, submit an invalid form, remove an item, switch tabs, expand a disclosure, and move through a multi-step flow. Confirm that focus, names, status messages, and instructions remain available in each state.
Use an issue-triage template
Capture enough context for another developer to reproduce the problem:
- Location: route, component, selector, or user task.
- Finding type: automated result, keyboard observation, screen-reader observation, contrast result, or code review.
- Observed behavior: what the user experiences, including the affected state.
- Expected behavior: the accessible outcome needed to complete the task.
- Evidence: report reference, screenshot, markup excerpt, or concise reproduction steps.
- Confidence: confirmed, requires manual verification, or suspected.
- Impact and priority: blocked task, serious friction, moderate issue, or polish.
- Owner and next check: responsible team, target release, and retest condition.
Prioritize issues that block a core task, affect many routes through a shared component, prevent keyboard access, hide important status information, or make a form impossible to complete. Fixing a repeated component defect can improve more pages than addressing an isolated cosmetic finding.
Common mistakes
- Treating a perfect scanner result as compliance: automated tools cover only a portion of accessibility requirements. Continue with manual checks.
- Testing only the homepage: forms, account areas, checkout flows, dashboards, and error states often contain different risks.
- Using a mouse during keyboard testing: keep a written task and complete it without pointer input, including opening and closing overlays.
- Checking only default colors: hover, focus, selected, disabled, and validation states may use different contrast.
- Adding ARIA before considering native HTML: a native button, link, heading, label, or list often provides more reliable baseline behavior than a custom imitation.
- Copying every tool recommendation literally: understand the failure, verify the context, and avoid fixes that create new naming, focus, or interaction problems.
- Ignoring privacy: do not paste confidential page content, tokens, customer data, or private URLs into an online scanner unless its handling is approved. For sensitive work, use local browser-based developer tools or an approved internal pipeline.
- Recording findings without retesting: close the loop by checking the fixed route and the shared component's other states.
When to revisit
Run the complete workflow before a significant release, after replacing a design system component, and whenever navigation, forms, authentication, dialogs, or dynamic content changes. Use a smaller regression pass for every pull request that changes interactive UI: automated scan, keyboard path, focus behavior, and the affected screen-reader announcement.
Review the workflow at least twice a year and whenever accessibility standards, browser capabilities, testing tools, or your supported assistive-technology matrix changes. Tool reports and crawl limits can change, so record the tools and configurations used rather than assuming a previous result remains comparable.
Before each audit, take these practical steps:
- Choose the routes and user tasks that matter most.
- Confirm the browser, screen reader, extensions, scanner configuration, and test data.
- Run automated checks, then verify findings manually.
- Complete keyboard and screen-reader spot checks across important states.
- Prioritize blocked tasks and shared component defects.
- Assign each confirmed issue and schedule a retest.
- Archive the report and update the regression checklist for the next release.
This approach keeps accessibility testing connected to frontend development: tools accelerate discovery, while human review determines whether people can actually understand and use the interface.