SuperAPI AI Directory

tactual

Screen-reader navigation cost analyzer that models assistive technology user effort with per-profile scoring, graph-based pathfinding and navigation traces.

Open website

About this tool

Tactual is a screen reader navigation cost analysis tool for developers, used to measure the real interaction cost required for screen reader users to discover, reach, and operate every interactive target on a page. It calculates how many keystrokes a user needs to complete an action for specific assistive technology (AT) profiles such as NVDA, JAWS, and VoiceOver.

Purpose

Existing accessibility tools mainly check compliance—whether ARIA is correct and whether contrast is sufficient. Tactual instead measures navigation cost: how many actions does a screen reader user need to reach the checkout button? What happens if they pass the target? Can they discover that the button exists? Does the menu actually open when Enter is pressed, or only when clicked? Does focus land on the first menu item, or does it remain on the trigger button?

Tactual is a developer tool for analyzing your own websites and pre-release environments. It can run locally, in CI, or through an MCP server in an editor, and is not a public scanning service. It complements compliance scanners such as axe-core, Lighthouse, and Pa11y, focusing on the cost for AT users to discover, reach, and operate important targets after the page markup is valid.

Main capabilities

  • Capture Playwright accessibility snapshots and simulate screen reader announcements.
  • Optionally explore hidden branches (menus, dialogs, tabs, expanded regions) and probe them with real keyboard events, including APG-style component contracts and form error flows.
  • Build a navigation graph containing entry points (landmarks, headings, linear Tab) and score each target.
  • Optionally use @guidepup/virtual-screen-reader to verify predicted paths for calibration.
  • Screen reader announcement simulator: predict what NVDA, JAWS, or VoiceOver will announce for each target, including state information (selected, expanded, checked, modal, value, required, invalid, etc.).
  • Provide validation and calibration APIs that can compare model output with virtual screen reader verification runs or manually observed datasets.
  • Each target receives a 5-dimensional score vector, with dimension weights varying by profile, and the composite score uses a weighted geometric mean.
  • Output includes compact path lines showing how screen reader users reach each finding.
  • Provide an MCP server for AI agents, supporting Claude Code, GitHub Copilot, Cursor, Windsurf, Cline, and others.
  • Provides a GitHub Actions composite action that can install Tactual and Chromium binaries, run analysis, upload SARIF to GitHub Code Scanning, and fail the build when the average score is below a threshold.

Usage

Requires Node.js 20 or higher. Tactual installs Playwright as a runtime dependency, so the npx tactual@latest ... command can be used directly. The MCP SDK is also provided as a runtime dependency.

A configuration file (tactual.json or .tactualrc.json) can be created via tactual init or manually; configuration is automatically detected from the working directory, and CLI flags are merged and override configuration settings.

Common commands include analyze-url for page analysis, diff-results for before-and-after comparison, and combining --baseline with --fail-on-regression to turn Tactual into a strict CI gate.

MCP clients can consume the same compact output, building review loops on routes, selectors, evidence, source code changes, and before-and-after verification.

Use Cases

  • Screen reader navigation cost triage.
  • Path tracing and measurable keyboard/component evidence.
  • Before-and-after diff comparison.
  • CI prioritization.
  • MCP workflows where agents need compact findings with source selectors and fix candidates.

Limitations

  • The simulator is a heuristic prediction, not real screen reader output.
  • Keyboard probing for mobile profiles (voiceover-ios-v0, talkback-android-v0) only tests desktop interaction and does not simulate touch gestures; the scoring dimensions reflect the predicted cost of the profile model rather than measured behavior, and real device testing is still required.
  • Calibration is based on token-level assertions from the W3C ARIA-AT project; 77/77 role/name/state token assertions pass 100% across three ATs, but this is only simulator calibration and does not prove full screen reader fidelity across browse modes, verbosity settings, timing, or all valid component variants.
  • Probing is off by default because it sends real keyboard events and increases runtime.
  • Exploration can take 1–5 minutes on complex SPAs.
  • For critical journeys, timing-sensitive flows, browser/AT settings, and implementation patterns that intentionally deviate from common APG examples, real screen readers and manual testing are still required for final verification.