镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Fix TalkBack accessibility for Adjust Time feature - #89

Open
Tavallali134 wants to merge 1 commit into
ChessCom:masterfrom
Tavallali134:fix/adjust-time-talkback-accessibility
Open

Tavallali134 wants to merge 1 commit into
ChessCom:masterfrom
Tavallali134:fix/adjust-time-talkback-accessibility

Conversation

@Tavallali134

@Tavallali134 Tavallali134 commented Oct 27, 2026 •

Copy link
Copy Markdown

Hello.

Why this PR

TalkBack users can't access the "Adjust Time" icon — it was marked
android:importantForAccessibility="no" with no contentDescription,
so the screen reader skips it entirely. Without this fix, blind
players have no in-app way to manually adjust time per player (needed
for FIDE arbiter rules, e.g. +2 min to opponent after an illegal move).

Changes

  • view_clock_button.xml — removed importantForAccessibility="no",
    added contentDescription="@string/adjust_time" (reuses existing
    string), added focusable="true" + clickable="true".
  • dialog_fragment_adjust_time.xml — added android:labelFor to the
    Hour / Minute / Second labels so TalkBack reads them when the matching
    EditText is focused.

- Make adjustTimeImg visible/focusable to TalkBack (removed
  importantForAccessibility="no", added contentDescription).
- Add labelFor to H/M/S labels in AdjustTimeDialogFragment.
@Tavallali134
Tavallali134 force-pushed the fix/adjust-time-talkback-accessibility branch from 7ca6bd6 to 1769364 Compare October 27, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant