Closed colintindle closed 1 week ago
I think BottomSheetBackdrop component is missing the "importantForAccessibility" prop. This is needed in order to hide the Backdrop for android.
It would be nice if this gets implemented
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 5 days with no activity.
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
.https://github.com/user-attachments/assets/7f75ac09-b5c7-4c07-a3a8-316d5b104c34