Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

TalkBack doesn't read selected item on hover #5

Open
crutchcorn opened this issue Feb 2, 2021 · 0 comments
Open

TalkBack doesn't read selected item on hover #5

crutchcorn opened this issue Feb 2, 2021 · 0 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@crutchcorn
Copy link
Member

crutchcorn commented Feb 2, 2021

As-of v1.1.1 (with the new A11Y fixes), when using the swipe left/right methods of selecting items, we get the proper readout of the selected item:

Expected behavior reading out as-intended

mHowever, when trying to hover (tap) to select an item (not double-tap to select, just single tap to "read"), it simply "boops" to let you know that there's nothing there:

Incorrect behavior


From a technical perspective, what's happening is that we are using a MaskedView to show the selected buttons over the unselected buttons. This allows us to do the trademark animation that we're using for the package.

However, despite using accessibilityElementsHidden={true}, Android refuses to read the button that's underneath the MaskedView, even when pointerEvents is set to 'none'

I tried for an hour to debug this but can't seem to figure out how to fix this issue.

@crutchcorn crutchcorn added bug Something isn't working help wanted Extra attention is needed labels Feb 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant