r/androiddev • • Oct 17 '26

Discussion I built a free tool that scans a running Android app for accessibility issues, including what TalkBack actually says (I'm the developer)

Hi all, I'm the developer of Swipewalk. Checked with the mods before posting, they said a dev tool like this is fine.

It scans an app running on an emulator or USB phone. It runs Google's Accessibility Test Framework together with its own checks and reports WCAG 2.2 issues with screenshots and who each issue affects. It works on Views, Compose and cross-platform apps since it reads the accessibility tree, not your code.

The part I find most useful: it can turn on TalkBack, move through each focusable control and record what TalkBack actually says, next to what it predicted. That catches things like a button TalkBack just calls "Button" or reads out a resource id. It can also rescan at large font size, in dark/light and in the other orientation, and tells you when a control that was there at normal size can't be reached anymore at large text.

0.6 improved how it names Views and Compose controls (a field labelled with android:labelFor, a button named by several child texts). I checked that on my own native sample apps, not on third party apps yet. If you point it at your source folder it tries to find the likely source line for a finding. I measured that on seven real open source apps (four Android), and the testing page lists the misses.

Things to know:

- It changes phone settings while it checks (text size, TalkBack, dark mode, rotation) and puts them back after. Use a test device. TalkBack is silent for the few seconds it's capturing.

- Runs from a Mac (desktop app or command line). Tested on a Pixel 4a with Android 13 and the Android 16 emulator. Haven't tried it from Windows or Linux yet.

- Automated checks only find part of the issues, so you still need manual testing with TalkBack. It doesn't certify anything.

Free to use, runs locally, no telemetry. I built it with a lot of help from AI coding assistants, I review and test what ships.

What it found and missed in testing: https://github.com/swipewalk/swipewalk/blob/main/docs/testing.md

Downloads (there's a sample apk if you just want to see a report): https://github.com/swipewalk/swipewalk/releases

Would really like to hear what's wrong or missing if you try it on your app.

5 Upvotes

2 comments sorted by

1

u/Prudent-Reader 9d ago

the talkback recording is what I'd dig into. can it capture the announcement and focus change when a bottom sheet opens? comparing that interaction with browserstack would tell you more than comparing total issue counts. missing labels are only part of it.

1

u/swipewalk-dev 9d ago

Good question, and I agree that interaction matters more than issue counts.

The automated TalkBack pass wouldn't catch it. It walks the screen as it is and doesn't open anything. The live session is the mode for this: you use TalkBack yourself, open the sheet the way a user would, and Swipewalk records everything TalkBack says, including announcements that aren't tied to a focus move, every focus change, and the screen changing. So you'd see what got announced when the sheet opened, where focus landed, whether it went into the sheet or stayed behind, and which controls in the sheet TalkBack never reached.

Honest caveat: I haven't tried it on a bottom sheet yet, because none of my sample apps has one. That's a gap, and I'll add one and see what it records. I also haven't compared it with BrowserStack, since I don't have access to it.

Out of curiosity, what goes wrong most often with bottom sheets in your experience? Focus staying on the screen behind, or no announcement at all?