Fixed
Status Update
Comments
ti...@google.com <ti...@google.com>
je...@google.com <je...@google.com> #2
We have shared this with our product and engineering team and will update this issue with more information as it becomes available.
cl...@google.com <cl...@google.com> #3
+1
We are launching this on iOS and Android. iOS works nicely but Android users cannot get real-time location due to this issue and we'd love to give them a better experience with this fix.
We are launching this on iOS and Android. iOS works nicely but Android users cannot get real-time location due to this issue and we'd love to give them a better experience with this fix.
Description
Jetpack Compose version: 1.8.0-alpha08
Jetpack Compose component(s) used: ui-test
Just looking at the API, I would enable a11y checks as follows:
However this is not how the API was designed to be used because
enableAccessibilityChecks
creates a newAccessibilityValidator
ui-test-android-1.8.0-alpha08.../androidMain/androidx/compose/ui/test/ComposeUiTest.android.kt
Actually, this code:
would not work as expected either, as the validator would be replaced when the checks are enabled.
The correct snippet would be
We can definitely document this well, but I'd like to discuss if the API should be improved.
For example
enableAccessibilityChecks()
->enableAccessibilityChecks(accessibilityValidator: AccessibilityValidator = accessibilityValidator())
and make the setter for
accessibilityValidator
private.