Repository navigation
fix(mobile): screen readers hear when the open thread needs you or finishes - #34431
Merged
shivamhwp merged 4 commits intoNov 12, 2026
Merged
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
🤖 Claude Opus 5.5 on behalf of Shivam
The web app tells screen readers when the open thread starts working, needs approval, needs your input, and finishes. The mobile app said nothing, so a VoiceOver or TalkBack user had to keep checking the screen to know the agent was waiting on them.
The mobile thread screen now says the same things: "Working", "Needs approval", "Needs your input", "Done", "Failed" and "Stopped". The decision logic moved unchanged from
apps/webinto@t3tools/client-runtime/state/thread-activity-announcement, so web and mobile share it. Mobile speaks throughAccessibilityInfoand queues each announcement on iOS so it doesn't cut off what VoiceOver is already reading, like the web's polite live region. Provider subagent threads stay quiet, as on web. A thread screen hidden under another screen, or with the app in the background, stays quiet and starts again from a silent baseline when shown. A thread preview open beside its host, such as a side chat, names its thread after each status ("Needs approval: <title>"), the way the web announces threads other than the open one, so the two threads can't be confused.Mobile hides a question as soon as you answer it, before the thread's summary catches up. Read naively, that looks like a new question and says "Needs your input" a second time. The request id now falls back to the summary's pending request, unless that request is one the question card already showed, which means it was answered. One question is announced once, also when the next question arrives and is answered before the summary catches up.
threadStatusAnnouncement.test.tscovers both orderings and a secret request that only the summary knows about, and fails without the fallback.Tested on a POCO F4 (Android 14) with TalkBack and its "Display speech output" setting on, so spoken text shows on screen. The T3 Code Dev client ran this checkout's JS against an isolated dev server, with the free Replay (dev) provider's "Question" scenario: send "go", answer the question.
Before (

main): the question appears and the turn finishes, and TalkBack says nothing about either.After (ea217a37f4; the commits after it only change the side preview, which this screen doesn't use): "Needs your input" when the question appears, "Done" after answering.

Before, recorded:
before.mp4
After, recorded:
after-head2.mp4
vp test runon the moved announcement tests, the background announcer tests and the new mobile test: 22 passed.vp run check:changedat 84bb1010c9: format, lint, knip, typecheck (41 packages), the tests beside the changes (10 files) and the React compiler check passed.Not shown:
AccessibilityInfocall withqueue: true.🤖 Generated with Claude Code