Skip to content

Accessibility: Gesture bindings missing textual description #222

@RastislavKish

Description

@RastislavKish

Hello!

First of all, thanks for this amazing project! 😁

I'm a blind user. The app works pretty well with TalkBack, except the gesture bindings. Right now, each binding is represented by a button, which as far as I understand contains just the icon of the action to be performed, i.e. an app icon if the user configured an app to be launched, or an action icon if they bound one of the supported operations.

But there is currently no textual information which would tell the screenreader what's bound to the specific gesture. I can think of two solutions here:

  • Use the contentDescription attribute on the binding button to textually describe the bound action. The binding configuration screen already has nice textual descriptions, so if you just use these, it should work. There will be no visual changes, the attribute is used only by screenreaders.
  • Redesign the representation of the bindings such that the buttons will include the textual description. This is a visual change to the interface, which could perhaps benefit also the sighted users in being more clear about what's assigned to the particular gesture. Especially if you at some point decide to implement using app shortcuts, this would be very cool, but with all the different actions supported by individual apps, the shortcut's name may be more representative than the icons.

Reproduction steps

  1. Open the launcher settings on the gesture bindings tab
  2. Turn on TalkBack by holding the up and down volume keys together for few seconds
  3. Use left and right swipes to navigate around the interface, and find the button located between the gesture description and its respective "Remove binding" button

Expected behavior

TalkBack should read aloud the action associated with the binding as the button's title, just like it's reading "Choose app" if there's no assigned action.

Actual behavior

The button is read just as "button".

Environment

Xiaomi redmi note 12 pro 5G, Android 14, TalkBack 16, μLauncher 0.2.3

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