Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't be read / closed with TalkBack #370

Open
cristan opened this issue Jun 5, 2020 · 2 comments
Open

Can't be read / closed with TalkBack #370

cristan opened this issue Jun 5, 2020 · 2 comments

Comments

@cristan
Copy link

cristan commented Jun 5, 2020

  • [x ] I have verified the issue exists on the latest version
  • [ x] I am able to reproduce it

Version used:
1.13.0

Android version:
9

The announcement can't be read via TalkBack. Even worse: it can't be closed via TalkBack too! (it can, but only with the back button and since there is no indication what's going on, a blind person has no idea they should do this). This means that this library basically renders the app unusable for blind people.

The easiest fix would be to simply not show anything when touch navigation is enabled:

fun Context.isTouchExplorationEnabled(): Boolean {
    // can be null during unit tests
    val am = getSystemService(ACCESSIBILITY_SERVICE) as AccessibilityManager?
    return am?.isTouchExplorationEnabled ?: false
}

Actually making it work would be a very nice option. With it, you'd have to set the contentDescription to View and allow closing it by clicking on it when touch exploration is enabled.

@EliuTimana
Copy link

it would be amazing if the content of the feature can be read from talkback, I tried right now and it's a frustrating experience, imagine from blind people.

@flauschtrud
Copy link

Are there any updates on this issue? I would like to add that the missing content description also generates a warning in Google's pre-launch report that I'm not able to solve.

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

No branches or pull requests

3 participants