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

The DetailsOverviewRow in VideoDetailsFragment isn't Accessibillity-friendly. (Talkback) #12

Closed
Alicecold opened this issue Nov 12, 2019 · 2 comments

Comments

@Alicecold
Copy link

Since leanback style automatically sets the buttons to textAllCaps, talkback reads it letter-by-letter instead of a whole word.

Possible solutions:

  1. Set textAllCaps for DetailsActionButtonStyle to false.
  2. Maybe if it possible to set contentDescription programmatically to counteract this? It do not seem to be a very straight-forward process for SpareArrayObjectAdapter at least.
@Alicecold
Copy link
Author

I forgot to mention which sample it was about, but it's for everything that extends DetailsSupportFragment, notably here: https://github.com/android/tv-samples/blob/master/Leanback/app/src/main/java/com/example/android/tvleanback/ui/VideoDetailsFragment.java

@Alicecold
Copy link
Author

Alicecold commented Nov 12, 2019

Turns out, this is not a problem with the implementation, but by using unrecognized words (in my case, swedish words) in the english version of talkback.

Sorry if I bothered anyone!

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

1 participant