Repository navigation
fix(app): stop announcing Home's live episode clock every second to screen readers - #23417
Merged
kodjima33 merged 2 commits intoOct 24, 2026
Merged
Conversation
…creen readers Home's live episode row and the live episode page's status line both wrapped their text in Semantics(liveRegion: true), and that text includes the elapsed-time ticker, which changes every second. A live region re-announces on every semantics change, so VoiceOver/TalkBack users got the whole row re-read out loud once a second while a capture was live, interrupting transcript reading. Add CaptureStateAnnouncement, which announces only on a real capture-state transition (listening started/paused/stopped), not on every tick, and drop liveRegion from both ticking widgets so the current elapsed time still reads out on manual navigation without forcing a repeat announcement. fixes #23055
kodjima33
deleted the
issues-improver/23055-quiet-live-clock-announcements
branch
October 24, 2026 14:39
kodjima33
added a commit
that referenced
this pull request
Nov 1, 2026
## What changed and why Require Nik's explicit current-head approval for UI PRs involving Git-on-my-level as opener or linked commit author/coauthor. Other accounts and provider/backend-only work pass. The account introduced the transparent Home live row in commit 30b960c (#23366); #23417 only preserved it. A read-only job resolves the immutable head before SHA-scoped concurrency. Replaced pending events therefore re-evaluate that same head, including current approval revocations, without scanning evidence for unrelated PRs. File/author evidence is bound to immutable base/head SHAs; SwiftUI source is inspected as data for arbitrarily named components. Trusted base workflow code reads API data, publishes `UI author approval` on the exact head and mentions @kodjima33 once per head. Nik approves with `/approve-ui <full head SHA>` and withdraws with `/reject-ui <full head SHA>`. No PR code executes with write credentials. API errors and incomplete author evidence fail closed. ## Verification Node tests cover opener/author/committer/coauthor, unrelated work, rename detection, stale/wrong-user approval, revocation, API truncation, repeated notification deduplication, fresh-head notification and API failure. actionlint passes. Independent security review found and fixed shared-SHA status leakage, mutable PR evidence races, dropped pending revocations, and desktop UI location gaps. Twelve focused tests pass. Fresh independent security review approved 150e7d0. A live read-only API run on #24200 took 18.89 seconds and 11 API invocations, expanding to about 29 HTTP requests across 950 open PRs in ten summary pages (writes intercepted). ## Activation Parent owns merging. After the workflow is on main, add required status `UI author approval`, bound to GitHub Actions app 15368, preserving Mobile Release Eligibility and strict=false. Do not require the status before the workflow exists. Existing administrator bypass remains unchanged (enforce_admins=false). No account access is revoked. Live Actions behavior is unverified until merged. ## Product invariants affected none ## Failure class (fixes) Failure-Class: none
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
What changed and why
Home's live episode row and the live episode page's status line both wrapped their elapsed-time text in
Semantics(liveRegion: true). A live region re-announces on every semantics change, and the elapsed-time ticker changes every second while a capture is live — so VoiceOver/TalkBack users got the whole row (or status line) re-read out loud once a second, interrupting transcript reading.Added
CaptureStateAnnouncement(app/lib/ui/components/omi_live_indicators.dart), which announces only on a real capture-state transition (listening started/paused/stopped), not on every tick, and droppedliveRegionfrom both ticking widgets. The current elapsed time still reads out on manual screen-reader navigation (default semantics on theText/label are unchanged) — it just no longer forces a repeat announcement every second.This was deferred from PR #23054 (P33) as issue #23055, a P2 "independent Luna review" finding: "actual screen-reader behavior has not been verified on a device."
How it was verified
Added a regression test (
app/test/widgets/episodes_ui_test.dart, "the ticking elapsed time never re-announces the row, only a real state change does"):isLiveRegion == true(the exact reported defect).isLiveRegionisfalse, zero accessibility announcements fire across 5 seconds of ticking while still listening, exactly one fires when the capture state changes (paused), and no further announcements repeat on subsequent ticks in the new state.Full targeted suite:
flutter test test/widgets/episodes_ui_test.dart— 19/19 pass.flutter analyzeon all 4 touched files — no issues.Not verified on a physical device with VoiceOver/TalkBack (no accessible device in this session) — the fix is verified at the semantics-tree level, which is what drives the native announcement behavior on both platforms.
Tests
app/test/widgets/episodes_ui_test.dartUI evidence
UI-Evidence: none -- accessibility-only change (screen-reader announcement timing); no visible pixel difference to screenshot.
Product invariants affected
none
Failure class (fixes)
Failure-Class: none
Narrow, scoped accessibility-announcement fix; not a recurring class.
Auto-generated from issue feedback by the mini issues-improver — tested and merged.