Fixed
Status Update
Comments
se...@google.com <se...@google.com>
se...@google.com <se...@google.com>
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit ff49291d65d63dc436bb0aa4c8effa9c54d1d005
Author: Jose Figueroa <serniebanders@google.com>
Date: Mon Aug 12 15:47:04 2024
[M3][ModalBottomSheet] Add traversal order to scrim and sheet components
Bug: 358594665
RelNote: ModalBottomSheet is now first in semantic traversal order, followed by the scrim.
Test: Unit test verifying traversal order node info
Change-Id: I436f9692595a637e75592a02304b3e2ca3a7a158
M compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/ModalBottomSheetTest.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/ModalBottomSheet.kt
https://android-review.googlesource.com/3217078
Branch: androidx-main
commit ff49291d65d63dc436bb0aa4c8effa9c54d1d005
Author: Jose Figueroa <serniebanders@google.com>
Date: Mon Aug 12 15:47:04 2024
[M3][ModalBottomSheet] Add traversal order to scrim and sheet components
Bug: 358594665
RelNote: ModalBottomSheet is now first in semantic traversal order, followed by the scrim.
Test: Unit test verifying traversal order node info
Change-Id: I436f9692595a637e75592a02304b3e2ca3a7a158
M compose/material3/material3/src/androidInstrumentedTest/kotlin/androidx/compose/material3/ModalBottomSheetTest.kt
M compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/ModalBottomSheet.kt
se...@google.com <se...@google.com>
na...@google.com <na...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.material3:material3:1.3.0-rc01
androidx.compose.material3:material3-android:1.3.0-rc01
androidx.compose.material3:material3-desktop:1.3.0-rc01
Description
After updating
compose-material3
from1.3.0-beta01
to1.3.0-beta05
, we noticed that TalkBack's initial focus shifted to the scrim instead of the content within a bottom sheet when it was opened. This requires screen reader users to perform an additional swipe to hear what's on the screen. We believe that Android should not require screen reader users to re-learn how to use the bottom sheet by swiping one more time.Currently, our codebase includes both legacy (view-based) and Compose bottom sheets. The legacy bottom sheet functions as expected, while the Compose bottom sheet exhibits incorrect behavior. This inconsistency can be confusing for screen reader users, depending on which bottom sheet they are interacting with.
Jetpack Compose version: 1.7.0-beta07
Material Library Version (M2, M3 or Both?): M3/1.3.0-beta05
Material Compose component used: ModalBottomSheet
Android Studio Build: AI-241.18034.62.2412.12084018
Kotlin version: 1.9.25
Steps to Reproduce or Code Sample to Reproduce:
Stack trace (if applicable):