Card Browser filter bottom sheets (Flags / Card State) have unlabeled checkboxes for TalkBack users · Issue #21421 · ankidroid/Anki-Android · GitHub
Skip to content

Card Browser filter bottom sheets (Flags / Card State) have unlabeled checkboxes for TalkBack users #21421

Description

@GuTS805

Checked for duplicates?

  • This issue is not a duplicate

Does it also happen in the desktop version?

  • This bug does not occur in the latest version of Anki Desktop

What are the steps to reproduce this bug?

  1. Open the Card Browser.
  2. Tap the Flags filter (or Card State filter) to open its bottom sheet.
  3. Enable TalkBack.
  4. Swipe through the rows in the bottom sheet.

Expected behaviour

Expected: TalkBack announces which flag/state each checkbox belongs to (e.g. "Red flag, checked").

Actual: TalkBack only announces "checked"/"not checked" with no label, because the CheckBox in
item_browser_filter_bottom_sheet.xml has no contentDescription set. Both FlagsBottomSheetFragment.kt
and CardStateBottomSheetFragment.kt bind isChecked and a click listener but never set a description.

BrowserColumnSelectionAdapter.kt (same module, column-selection screen) already sets
contentDescription = label on its equivalent per-row toggle — that's the existing pattern this UI
should follow.

Debug info

AnkiDroid Version = 2.24.0 (ebcf8e0e34921628b9b8a496c66ffd4adbb3705f)
Backend Version = 0.1.64-anki25.09.2 (25.09.2 3890e12c9e48c028c3f12aa58cb64bd9f8895e30)
Android Version = 13 (SDK 33)
ProductFlavor = play
Device Info = OnePlus | OnePlus | OP555BL1 | IV2201_IND | IV2201 | mt6877
WebView Info = [com.google.android.webview | 787118103]: Mozilla/5.0 (Linux; Android 13; IV2201 Build/TP1A.220905.001; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/150.0.7871.181 Mobile Safari/537.36
ACRA UUID = bbe8603c-4564-4f9f-9621-e2c7e5b9b556
FSRS = 5.1.0 (Enabled: false)
Crash Reports Enabled = true

(Optional) Anything else you want to share?

No response

Research

  • I have checked the manual and the FAQ and could not find a solution to my issue
  • (Optional) I have confirmed the issue is not resolved in the latest alpha release (instructions)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Priority

    None yet

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions