Skip to content

[A11y] Selection-state icons (Check/CheckCircle/RadioButtonUnchecked) missing contentDescription for screen reader users #399

Description

@kunwarshivamjsr

Description
Several selection-state icons in SettingsScreen.kt (e.g. lines 2252, 5362, 5599, 5887, 5959, 6735, 6922, 8703, 8984, 9050) use contentDescription = null even though the icon conveys real state (selected/unselected, enabled/hidden). Purely decorative icons next to text labels are fine with null, but these standalone state indicators give no audio feedback to TalkBack users navigating with a D-pad on Android TV.

Steps to reproduce
Enable TalkBack on an Android TV device → navigate to Settings → IPTV playlist filters / category selection → focus a selectable row → TalkBack announces the row label but not whether it's currently selected.

Expected behavior
State-indicating icons should have a contentDescription reflecting current state, e.g. contentDescription = if (isSelected) "Selected" else "Not selected".

Suggested fix
Audit Icons.Default.Check, CheckCircle, and RadioButtonUnchecked usages currently set to contentDescription = null and add meaningful descriptions where the icon isn't purely decorative. Happy to scope this to 2-3 files for an initial PR and follow up with the rest.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions