AXNav: Replaying Accessibility Tests from Natural Language

Voice AccessibilityHuman-LLM CollaborationUI/UX DesignersHCI Researchers

Document Title

AXNav: Replaying Accessibility Tests from Natural Language

Document Information

  • Topic Area: Automation of accessibility testing based on natural language
  • Keywords: Accessibility testing, UI automation, large language models, natural language processing, testing tools, human-computer interaction, test automation, multimodal planning, screen reader, dynamic font

Research Background and Problem

  • What problems or challenges did the authors identify?

    1. Most applications provide inadequate support for accessibility features (e.g., screen readers, dynamic fonts) due to a lack of experience, awareness, or organizational support.
    2. Although many testing and inspection tools exist, the industry still relies heavily on time-consuming and difficult-to-scale manual testing.
    3. Automated testing tools (e.g., GUI testing and accessibility checkers) are fragile, unable to adapt effectively to UI changes, and their scanning results may contain numerous false positives.
    4. It is challenging to achieve complete coverage of all scenarios and features through manual testing, especially in development environments requiring frequent updates.
  • Why is this problem important?

    1. Accessibility is crucial for ensuring applications are suitable and equitable for individuals with disabilities.
    2. Insufficient automated testing not only increases labor costs but may also lead to undetected issues, ultimately harming user experience.
    3. Efficient accessibility testing tools can significantly improve development quality and help achieve broader user coverage.
  • Research Motivation and Related Work

    1. Although existing research has attempted to use large language models (LLMs) for automating tasks such as UI interaction and debugging report reproduction, no studies have focused on leveraging LLMs for accessibility testing tasks.
    2. Current manual testing tools often rely on static step records, which are prone to failure during UI updates. This research aims to improve the situation through dynamic responses driven by natural language and models.
    3. Practitioners have expressed concerns about the high repetition and update costs of large-scale manual testing, underscoring the need for a method to reduce manual steps while retaining the flexibility of human inspection.

Solution

  • What methods or solutions did the authors propose?

    1. Developed a new system named AXNav, which understands manual testing instructions from natural language descriptions and reproduces tests in real applications.
    2. AXNav enables and configures various accessibility features (e.g., VoiceOver, dynamic fonts, bold fonts) and generates actionable step plans through model inference for execution.
    3. After testing, it produces annotated videos with chapters to help testers quickly locate potential accessibility issues.
  • What are the innovative aspects of this solution?

    1. LLM-driven multi-agent architecture: AXNav employs a multi-agent architecture (Planner, Action, and Evaluator) to dynamically generate and revise plans, allowing for adjustments in unexpected scenarios (e.g., UI changes, permission requests).
    2. Pixel-level UI recognition combined with natural language interface: Utilizes pixel-level UI detection models to provide screen structure and interaction suggestions to the LLM, enabling adaptation to unknown applications.
    3. Multi-level accessibility performance analysis: Developed a set of custom heuristic algorithms to detect and annotate specific accessibility issues (e.g., navigation loops, inconsistent font scaling).
  • What are the implementation steps and key technologies used?

    1. Device allocation and control: Remote cloud-based iOS devices are used to install target applications and configure accessibility features.
    2. Test planning and execution:
      • Plan generation: Generates actionable step JSON structures based on natural language instructions.
      • UI element interaction: Combines pixel-level UI recognition with VoiceOver gesture commands for operation.
      • Dynamic re-planning: Adjustments are triggered if errors occur or plans are infeasible.
    3. Heuristic detection: Detects issues such as:
      • Inconsistent font scaling for Dynamic Type.
      • Click element identification problems in Button Shapes.
      • Navigation loops or missing elements in VoiceOver.
    4. Output results: Automatically generates interactive videos with annotated key issue chapters to improve review efficiency.

Research Outcomes

  • What specific results were achieved?

    1. Replay accuracy on real test sets and self-constructed open datasets reached 85.5% (complex task accuracy 61.1%) and 70% (complex task accuracy 64.3%), respectively.
    2. The system was evaluated as "very useful" by 10 professional testers, especially in standardizing and efficiently executing multiple testing steps.
    3. The system's automatically generated interactive videos helped testers quickly locate potential issues and served as supplementary materials for debugging reports.
  • What advantages does it have compared to existing solutions?

    1. Higher flexibility and dynamic adjustment capability: Does not rely on hardcoded interaction paths and adapts to frequent UI changes.
    2. Semantic natural language interface: Users can initiate complex tasks through concise descriptions without needing in-depth knowledge of automation frameworks.
    3. Higher coverage: Integrates support for four different accessibility features (VoiceOver, Dynamic Type, etc.) and analyzes specific issues based on heuristic rules.
  • What were the experimental or evaluation results?

    1. Technical evaluation: AXNav performed reasonably well in navigating complex tasks but still has room for improvement, such as more effectively handling collection item selection.
    2. User evaluation: Video chapters and LLM-guided logical outputs were deemed significant supplements to manual testing workflows.
    3. User preference: Participants believed that in future integrations, the tool could significantly reduce manual labor through parallel testing.
  • Limitations and Future Directions:

    1. Limitations:
      • Currently supports only the iOS platform; future expansion to Android and other operating systems is needed.
      • UI navigation plans may fail in specific scenarios, such as tasks requiring scrolling or multi-layer nesting.
      • Video content is not user-friendly for screen reader users.
    2. Future Directions:
      • Enhance LLM navigation capabilities, such as integrating specific contextual modeling.
      • Support additional accessibility features (e.g., color inversion, voice control) and broader heuristic checks.
      • Provide interaction displays suitable for non-visual users and improve transparency (e.g., error cause explanations).
      • Introduce more efficient UI summary mechanisms, such as dashboard-style problem summaries.

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/papers/chi/147260/2024

AdRecommended

Learn AI Coding at CodeNow

open_in_newOpen DOI Link
DOI: https://doi.org/10.1145/3613904.3642777
At a Glance

Paper Snapshot

fact_check
dataset
Source
CHI
calendar_month
Year
2024
emoji_events
Award
No award tagged
group
Authors
6 authors
sell
Subtopics
Voice Accessibility, Human-LLM Collaboration
work
Professions
UI/UX Designers, HCI Researchers
article
Content Status
Full text indexed
hub
Related Papers
10 related papers