Description
When using the ModalBottomSheet from Material3, the accessibility for the components inside the Bottom Sheet is not rendered. The Bottom Sheet also takes up the width of the entire image rather than width of the device.
It is possible that this issue is due to the component being a modal which overlays the main UI instead of being a part of the screen layout. Using a regular BottomSheetScaffold would output the expected result.
Steps to Reproduce
To display the BottomSheets, we have to set the sheetState to have an initialValue of Expanded.
Expected behavior
We should expect to see accessibility semantics for content in the ModalBottomSheet.
Additional information:
Paparazzi Version: 1.3.4
OS: MacOS
Compile SDK: 35
Gradle Version: 8.10
Android Gradle Plugin Version: 8.4.2
Screenshots
The image below renders accessibility for only the "Text 1" component, but not "Text 2". The Bottom Sheet also takes up the whole width of the image, but is overlapped by the accessibility section.
Description When using the
ModalBottomSheet
from Material3, the accessibility for the components inside the Bottom Sheet is not rendered. The Bottom Sheet also takes up the width of the entire image rather than width of the device.It is possible that this issue is due to the component being a modal which overlays the main UI instead of being a part of the screen layout. Using a regular
BottomSheetScaffold
would output the expected result.Steps to Reproduce To display the BottomSheets, we have to set the
sheetState
to have aninitialValue
ofExpanded
.For the
ModalBottomSheet
, we can use this test:For the
BottomSheetScaffold
, we can apply a similar implementation:Expected behavior We should expect to see accessibility semantics for content in the
ModalBottomSheet
.Additional information:
Screenshots The image below renders accessibility for only the "Text 1" component, but not "Text 2". The Bottom Sheet also takes up the whole width of the image, but is overlapped by the accessibility section.