Description
If you make a composable invisible via graphicsLayer :
Text(
            modifier = Modifier.graphicsLayer {
              alpha = 0f
              scaleX = 0.5f
            },
            text = "Text with zero alpha via graphicsLayer"
          )Then Paparazzi's a11y renderer will still render it as if its alpha were not 0f
I am unsure of how Talkback does it, but it is able to discard such a node.
I have looked at how to access this data through the SemanticsNode, but no luck so far, there is SemanticsNode.isTransparent() but it is internal, and even calling it via reflection did not work for me
Steps to Reproduce
see above, I can also open a branch with an update to AccessibilityRenderingTest if that helps
Expected behavior
correctly hide this view from the a11y renderer
Additional information:
- Paparazzi Version: 2.0.0-alpha02
- OS: Mac
- Compile SDK: 34
- Gradle Version: 8.10
- Android Gradle Plugin Version: 8.13
Screenshots
