GRizzi91 / bouquet

PDF reader Android library based on Jetpack Compose
Apache License 2.0
152 stars 32 forks source link

Accessibility support #13

Closed JBayangosB closed 1 year ago

JBayangosB commented 1 year ago

This library is fantastic for my needs but unfortunately its not quite accessible right now in its current state.

Using talkback with the PDF reader leads to a whole bunch of "Unlabelled" announcements by the accessibility service and a best guess at what the content contains.

Ideally we are able to simply strip text from each bitmap and provide it as part of the ContentDescription when rendering in compose.

I may explore ways to resolve this 🙂

GRizzi91 commented 1 year ago

I honestly don't know if it can be a good approach, the text of a page can be very long and could congest the talkback. However feel free to open a PR if you find a valid way.

JBayangosB commented 1 year ago

Opened PR: https://github.com/GRizzi91/bouquet/pull/14