You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BottomSheetModal is not accessible with Android Talkback. Attempts to select elements using single tap inside the modal, instead focus the backdrop. Tapping the header selects elements behind/outside the modal. Swiping left/right will allow user to select any element, not just those inside the modal.
Setting accessible={false} on the backdrop makes the modal body selectable with single tap, but the user can still focus on items behind the modal and backdrop.
BottomSheetModal does not seem to present to the OS as a modal, and does not automatically take focus when opened. All of this works fine on iOS. Sadly, this issue makes the component unusable on Android for users who require the screenreader.
Environment info
Library
Version
@gorhom/bottom-sheet
4.6.3
react-native
0.69.4
react-native-reanimated
2.8.0
react-native-gesture-handler
1.10.3
Steps To Reproduce
Start Talkback
Open a BottomSheetModal
Observe that button used to open BottomSheetModal is still the active element
Attempt to navigate with swipe right/left
Observe that elements outside of modal are still focusable
Observe that modal contents cannot be accessed
Attempt to focus elements in modal header using single tap
Observe that elements behind the modal will be focused instead
Attempt to focus elements in modal body using single tap
Observe that BottomSheetBackdrop is focused instead
Describe what you expected to happen:
Opening the BottomSheetModal (particularly when expanded) should:
cause accessibility focus to be moved to the first element inside the modal
not allow the user to focus elements outside of the modal or backdrop
Reproducible sample code
I have reproduced this using the example provided in the repo, on versions v4.6.3 and v5.0.0-alpha.10.
2024-07-24.at.16.07.03.mov
The text was updated successfully, but these errors were encountered:
Bug
BottomSheetModal is not accessible with Android Talkback. Attempts to select elements using single tap inside the modal, instead focus the backdrop. Tapping the header selects elements behind/outside the modal. Swiping left/right will allow user to select any element, not just those inside the modal.
Setting
accessible={false}
on the backdrop makes the modal body selectable with single tap, but the user can still focus on items behind the modal and backdrop.BottomSheetModal does not seem to present to the OS as a modal, and does not automatically take focus when opened. All of this works fine on iOS. Sadly, this issue makes the component unusable on Android for users who require the screenreader.
Environment info
Steps To Reproduce
Describe what you expected to happen:
Opening the BottomSheetModal (particularly when expanded) should:
Reproducible sample code
I have reproduced this using the example provided in the repo, on versions
v4.6.3
andv5.0.0-alpha.10
.2024-07-24.at.16.07.03.mov
The text was updated successfully, but these errors were encountered: