FlyingPumba / SimpleRatingBar

Open source project which features a simple yet powerful RatingBar alternative to Android's default
Apache License 2.0
1.03k stars 142 forks source link

SimpleRatingBar lacks accessibility support #30

Open hanghildegard opened 6 years ago

hanghildegard commented 6 years ago

The rating bar is not recognised by accessibility helpers such as TalkBack and thus is not selectable. Users should be able to select the rating bar when using touch exploration and they should be able to get audible feedback about it as well as about the rating value selected.

As this rating bar is a custom view with virtual child views, the virtual view hierarchy (in the accessibility node provider, for example) and the accessibility events applicable to the view have to be individually defined.

I would really appreciate if you could add this as accessibility is quite an important issue.

FlyingPumba commented 6 years ago

Hi, sorry for the late response. I agree that this is an important issue, but I have never worked with the accessibility API. I will be looking to the docs and see if I can come up with a fix (PRs are welcomed, though).