Replies: 4 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
-
|
@wrench7 this is a limitation on maestro. The way maestro works is it dumps the entire view tree from the window and there's no way around that, unless I nuke the whole library to use separate If you're concerned with accessibility, test it with TalkBack instead. The dimming view already handles this and it should keep talkback from reading content behind the dim view by default. |
Beta Was this translation helpful? Give feedback.
-
|
I haven't spent a great deal of time working in the accessibility space (and I'm guessing you have over the many years of building and maintaining this), but it feels like there's an accessibility option that could flag the sheet as being active when on screen and it is over the top of content that still exists behind it. I did take a good look through https://reactnative.dev/docs/accessibility but nothing really jumped out at me (and I'm not sure whether the accessible options are driven by the native code or the RN JS. |
Beta Was this translation helpful? Give feedback.
-
|
I tried using both @gorhom/bottom-sheet and react-native-actions-sheet, and both of those libraries behave "correctly" with Maestro - no doubt there's a rather large delta in the 3 codebases, but in case that helps with potentially finding a resolution here. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
I've made the switch from react-native-actions-sheet, and am having issues with the way the dimmed container overlay is still allowing screen readers access to the content underneath the sheet and the dimmed overlay.
I only noticed this as I'm using Maestro to run e2e tests, which have now subsequently all broken as it can now see all of the content behind the sheet (irrespective of any detent sizes I use).
My initial exploration was around the fix described here - #298.
Unfortunately trying all of the "presentation" options has had no effect on the behaviour that I'm seeing.
I'm running the tests on an Android emulator and wondering if anyone else has seen this behaviour?
Beta Was this translation helpful? Give feedback.
All reactions