Repository navigation
Android Results Capture Prototype Workflow
The current focus of the ARIA AT-App is the manual and automated testing of browsers and ATs rendering of ARIA accessibility features on desktop or laptop computers. One of the goals for the next year is to expand the testing of ATs renderings of ARIA accessibility features on mobile devices. This will include Android and iOS.
Today, Testers observe AT behavior and report it via ARIA-AT App--all using the same device. The introduction of a second physical device into the testing workflow presents the largest challenge for mobile support. Testers will need to collect AT responses from their mobile device and report that information using ARIA-AT App on their primary computer.
To facilitate this workflow, we are building the Android Results Capture Prototype. It will allow Testers to easily move text data from their Android device to their primary computer via the clipboards of each system.
This document serves as an instructional document on how to test the Android Results Capture Prototype and how to provide feedback.
Through the testing of this prototype we are trying to learn:
- Is this approach practical for you as a tester, test authors, or administrator?
- What difficulties did you encounter while using the prototype for mobile testing?
- How would you improve the workflow?
- Could you envision yourself using this solution for a complete test run? If not, why not?
- Is there any reason we should not replicate this approach for iOS?
Please add your feedback about the prototype to this GitHub issue. We’ll use the feedback we receive about the Android testing prototype to finalize a solution for Android and to implement a solution for iOS.
For test authors and admins, this prototype adds:
- A collection of sample mobile gesture commands.
- TalkBack for Android specific metadata, assertion tokens and instructions that are specific to TalkBack for Android (in the support.json file, just like the ATs that are already supported).
- A sample talkback_android-commands.csv for the alert test plan.
This is viewable in the aria-at PR Preview here and inARIA-AT App here. You will notice a new TalkBack for Android filter button.
For testers and other users, this prototype modifies the Test Queue. Under the Alert Example h2, if a user expands the V25.04.29 disclosure they will now have a new row item for TalkBack for Android + Chrome for Android row item.
The prototype enables manual testers to collect screen reader utterances from mobile devices by importing the collection of utterances from their mobiles to the clipboard of their primary computer. To do this, testers need to first configure their Android device for testing, then physically connect their Android device to their computer, and finally access the prototype on the ARIA-AT App sandbox environment from their computer.
Below is a detailed guide for this testing process.
Please check if you have the following software installed in your Android device. If you do not have the software, please use the associated links to download and install it.
- Google Chrome for Android. It can be downloaded from the Google Play Store (Google Chrome).
- TalkBack for Android. It can be downloaded from the Google Play Store (Android Accessibility Suite).
- Open the Settings app on your Android device
- Scroll down and tap "About phone"
- Find "Build number" (On some devices, this may be under "Software information")
- Tap "Build number" 7 times quickly (You may be prompted to enter your PIN, password or pattern)
- A toast message will appear saying "You are now a developer!". If this was already done on the device, instead you will get a toast message which says "No need, you are already a developer."
- Go back to the main Settings screen.
- Scroll down and tap "System" (on some devices, you may see "Additional settings" or just "Developer options" here).
- Tap "Developer options".
- Some devices may have a "Use developer options" toggle at the top of this page. Make sure to enable that.
- Scroll down to the "Debugging" section.
- Toggle "USB debugging" on.
- Note: Some devices may have “USB debugging (Security Settings)”. Toggle that option on as well if present.
- A confirmation dialog will appear. Tap "OK" to confirm.
- Plug your device into your computer using a USB cable.
- You should see a prompt on your Android asking: "Allow USB debugging?"
- This may not appear until running the local proxy described below in Step 5
- Tap "Allow" and optionally check "Always allow from this computer if you don’t want to be prompted again.
- Navigate to the Test Queue.
- Under the Alert Example h2, expand the V25.04.29 disclosure and view the tests for TalkBack for Android + Chrome for Android.
- Download the local proxy zip for your operating system:
- Unzip and start the proxy using the included
startscript.-
start.baton Windows. (Note that you may have to allow permissions through Windows SmartScreen to continue on the first run by doing the following):- Open
start.bat - On the pop-up which mentions "Windows protected your PC Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.", select "More Info"
- Select "Run Anyway"
- Another window titled "ADB Proxy for ARIA-AT Testing" may appear, requesting permission to open.
- Select "Allow"
- Open
-
start.commandon macOS. (Note that you may have to allow permissions through macOS' Privacy & Security settings to continue on the first run by doing the following):- Open
start.command - If a prompt appears notifying you that the program is from an unknown developer, open System Settings
- Go to Privacy & Security
- Scroll down to the Security section
- A message will be there which reads: "adb-proxy was blocked from use because it is now from an identified developer."
- Select "Open Anyway"
- Attempt to open it once again
- Open
-
- Click the 'Open Test Page on Android Device' button:
- This would enable TalkBack on the Android device
- This would open the example test page in Google Chrome on the Android device
- This would immediately start a "listener" which waits for the "Run Test Setup" button on the example test page to be activated.
- When the user activates the "Run Test Setup" button, as they move through the example with the instructed commands, the utterances from TalkBack are being captured through a web socket. When the user gets to the end of the example (which is also uttered) or the Android device's browser window is closed, the utterances would be copied to their connected computer's clipboard. The user can also copy the utterances directly with the "Copy utterances to clipboard" button from the 'Captured Utterances' section.
- (Optional) Close the Android device's browser tab of the example page
- Paste the content currently on the connected computer's clipboard into the relevant output
<textarea>
The following screenshot shows the TalkBack utterances being displayed in a debug view on the Test Run page. It also shows the messages being received through the WebSocket in the Browser's Console:

The deployed changes involves work from:
- w3c/aria-at (talkback-prototyping branch - PR#1258)
- w3c/aria-at-app (talkback-prototyping branch - PR#1433)
- bocoup/aria-at-talkback-capture
Previous discussions: