VoiceOver is interrupted/disabled when running XCUITest (WDA). Request guidance for accessibility research automation on iOS.

Hello, I am working on a research project focused on creating accessible interactions for visually impaired users. I need to verify some automated assistance processes in a real-world usage environment where VoiceOver is enabled. However, I have encountered a blocking issue: When I connect the device through Xcode UI Test / WebDriverAgent (or Appium + WDA) and perform operations, VoiceOver gets interrupted (sometimes it is even directly turned off), preventing blind users from continuing to use the narrator.

  • Replication steps (stable replication)   
  1. On iPhone, enable VoiceOver (Settings → Accessibility → Narrator), and keep the device unlocked and the screen on.
  2. On Mac, start [Xcode UI Test / WebDriverAgentRunner / Appium+WDA] and establish a session with the device (XCTest session).
  3. Perform any operation: read the accessibility tree (/source), take screenshots, or click/slide.
  4. Observe the phenomenon: VoiceOver will [automatically turn off / reading interruption / focus jumping / unable to continue reading the new interface].
  • Expected behavior VoiceOver, as the core accessibility capability, should remain running and be able to continue reading the interface; the automation/assistance process should not "steal" and cause the narrator to fail.
  • Actual behavior VoiceOver is [turned off / interrupted], and even after interface changes, it cannot read normally, affecting the use of blind users.

I would like to ask: Non-jailbroken or external hardware-free methods

  1. Is this a known limitation (such as the mutual exclusion between XCTest and VoiceOver as Accessibility clients)?
  2. Is there an officially supported way to allow the automation/assistance program to safely read necessary information and trigger operations while VoiceOver is enabled, without disrupting the narrator (such as App Intents, Shortcuts, or other API/framework suggestions)?
  3. If it is necessary to avoid XCTest/WDA: In the research prototype stage, what is the recommended "reproducible, measurable" alternative technical route?

Hello! Thanks for detailing your scenario. This doesn't sound right, and it's possible you are encountering a bug. To be sure, we need some more information to investigate.

Can you please file a bug report and include

  • code sample
  • sysdiagnose logs
  • video recording

to the following link? https://developer.apple.com/bug-reporting/

The site will walk you through these steps. You can reply what the Feedback ID is for this issue and I'll make sure it gets to the right team to investigate.

VoiceOver is interrupted/disabled when running XCUITest (WDA). Request guidance for accessibility research automation on iOS.
 
 
Q