NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AXNav: Replaying Accessibility Tests from Natural Language

Maryam Taeb, Amanda Swearngin, Eldon Schoop, Ruijia Cheng, Yue Jiang, Jeffrey Nichols · DOI

TL;DR

AXNav is an automated system that uses Large Language Models (LLMs) and pixel-based UI recognition to interpret natural language accessibility test instructions and execute them on live iOS devices. It automatically generates a chaptered video of the test run, utilizing custom heuristics to flag critical accessibility bugs like VoiceOver navigation loops and text-resizing failures.

What Problem Does This Paper Address?

Ensuring mobile apps are accessible to users with disabilities (e.g., those relying on screen readers or enlarged text) remains a predominantly manual, tedious, and hard-to-scale process. While automated tools like accessibility scanners and linters exist, they only perform static checks on individual screens. They completely miss interactive, behavioral flaws—such as broken navigation flows or infinite loops in screen readers.

Conversely, traditional automated UI testing scripts (like XCTest) are notoriously brittle; a minor change in the UI layout can break the entire test script, requiring constant developer maintenance. The authors introduce AXNav to bridge this gap by allowing quality assurance (QA) testers to execute flexible, natural language test cases automatically without writing a single line of code.

Methods

AXNav employs a closed-loop, multi-agent architecture powered by GPT-4 and a pixel-based UI element detection model, making it entirely agnostic to the underlying software framework.

Figure 1: AXNav interprets accessibility test instructions specified in natural language, executes them on a remote cloud device using an LLM-based multiagent planner, and produces a chaptered video of the test annotated with heuristics that highlight potential accessibility issues. To execute a test, AXNav provisions a cloud iOS device; stages the device by installing the target app to be tested and enabling a specified assistive feature; synthesizes a tentative step-by-step plan to execute the test from the test instructions; executes each step of the plan, updating the plan as needed; and annotates a screen recording of the test with chapter markers and visual elements that point out potential accessibility issues.

The system operates via three core LLM-based agents:

  1. Planner/Replanner Agent: Receives the high-level natural language instruction and formulates a tentative step-by-step plan based on the current screen state.
  2. Action Agent: Maps the abstract plan steps into concrete device actions (e.g., Tap, Swipe, TextEntry, or specific VoiceOver gestures like Right Swipe).
  3. Evaluation Agent: Inspects screenshots from before and after the action to determine if it succeeded. If an action fails or hits an unexpected UI state (like a permissions dialog), it triggers the Planner to dynamically revise the plan.

To catch accessibility bugs, AXNav executes tests twice—once with the assistive feature enabled and once without—and applies post-processing computer vision heuristics:

  • VoiceOver Loops: Tracks visited elements to flag navigation loops.
  • Dynamic Type Resizing: Uses OCR and fuzzy string matching to verify if text elements actually grow by at least 10% when system text size increases.
  • Button Shapes: Uses edge detection (Canny/Hough Line transform) to ensure clickable text outside of buttons is properly underlined.

Datasets

Because no standard benchmarks exist for natural language iOS navigation, the authors evaluated AXNav on two distinct datasets:

  • Regression Testing Dataset: Consists of 62 real-world manual test cases extracted from an internal database for 5 media streaming apps. These instructions range from highly specific steps to abstract goals.
  • Free Apps Dataset: Consists of 20 manual tests created by the researchers across 5 popular free apps from the Apple App Store (covering categories like news, e-books, and podcasts) to evaluate AXNav on third-party interfaces.

Key Insights and Ideas

  • The Benefit of "Naivety": Because AXNav tests apps by completely relaunching them between different text size configurations (to establish clean baselines), it accidentally discovered a unique class of bugs that human testers missed. Human QA testers typically use the iOS Control Center to change text sizes inline without restarting the app, missing state-persistence bugs.
  • The Automation Paradox (Over-Reliance): In the user study, AXNav accidentally shared a show instead of an episode due to a minor navigation error. Shockingly, 8 out of 10 professional QA testers failed to notice this error because they became over-reliant on the system's automated execution, highlighting a critical risk in AI-assisted workflows.
  • Abstract Instruction Handling: The LLM planner successfully inferred missing context. For instance, if an instruction said "Search for a show," the planner could independently generate a reasonable search query based on the app's context without needing explicit low-level commands.

Key Results

AXNav was evaluated on its ability to successfully navigate and complete test instructions, categorized into Easy (single-step retrieval) and Hard (multi-screen problem solving) tasks.

Figure 3: Overview of intermediate steps used by AXNav to interpret natural language test instructions; provision and stage a device for testing; formulate and execute a plan to navigate the UI for the test; and export the test results.
  • Regression Dataset Performance: AXNav achieved an overall navigation success rate of 85.5% (95.5% for Easy tasks, 61.1% for Hard tasks).
  • Free Apps Dataset Performance: The system achieved an overall success rate of 70.0% (83.3% for Easy, 64.3% for Hard). It successfully revealed that accessibility support for features like Bold Text and Button Shapes was dismally low (only a 15% pass rate) among popular App Store apps.
  • User Study: 10 professional accessibility QA testers gave the system a high usefulness rating of 3.95/5 in its current form, and 4.70/5 if optimized to ideal performance. Testers noted that AXNav's navigation path closely mirrored human behavior, scoring 4.60/5 for VoiceOver similarity.

Limitations and Future Work

A primary irony of the current system is that AXNav itself is not fully accessible. Its primary output is a chaptered video with visual bounding boxes, which cannot be easily parsed by non-sighted accessibility testers who rely on screen readers. Future iterations must include automated audio descriptions and text-based bug summaries.

Technically, the planner agent occasionally struggled with infinite scrolling views or highly specific conditional states (e.g., requiring a premium subscription item). The authors suggest that fine-tuning LLMs on mobile UI navigation paths or integrating multimodal models (Large Graphical Models) could significantly boost performance on complex, multi-step "Hard" tasks.

Summary updated

BibTeX
@inproceedings{taeb2024axnav,
  author = {Maryam Taeb and Amanda Swearngin and Eldon Schoop and Ruijia Cheng and Yue Jiang and Jeffrey Nichols},
  title = {{AXNav: Replaying Accessibility Tests from Natural Language}},
  booktitle = {CHI},
  year = {2024},
  doi = {10.1145/3613904.3642777},
}
Figure