Fixed
Status Update
Comments
ma...@google.com <ma...@google.com>
gb...@jeniusbank.com <gb...@jeniusbank.com> #2
I can use ExposedDropdownMenuBox with TalkBack, need to swipe down with two fingers to expand it.
ae...@google.com <ae...@google.com>
ap...@google.com <ap...@google.com> #3
Project: platform/frameworks/support
Branch: androidx-main
commit b98f8a7ed05a3dd1bdfaca95c20b919369bc741c
Author: Melba Nuzen <mnuzen@google.com>
Date: Tue Nov 15 13:51:36 2022
Add accessibility role for dropdown list (spinner)
Fixes: b/236159001
Test: testCreateAccessibilityNodeInfo_forDropdownIcon()
Change-Id: I177e52da7f2e3c1f9b3d6848bf08a42995b6fb6e
Relnote: Added new accessibility role DropdownList. This can be used to replicate TalkBack's behavior when focusing android.widget.Spinner.
M compose/ui/ui/api/current.txt
M compose/ui/ui/api/public_plus_experimental_current.txt
M compose/ui/ui/api/restricted_current.txt
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/AndroidAccessibilityTest.kt
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt
https://android-review.googlesource.com/2303483
Branch: androidx-main
commit b98f8a7ed05a3dd1bdfaca95c20b919369bc741c
Author: Melba Nuzen <mnuzen@google.com>
Date: Tue Nov 15 13:51:36 2022
Add accessibility role for dropdown list (spinner)
Fixes:
Test: testCreateAccessibilityNodeInfo_forDropdownIcon()
Change-Id: I177e52da7f2e3c1f9b3d6848bf08a42995b6fb6e
Relnote: Added new accessibility role DropdownList. This can be used to replicate TalkBack's behavior when focusing android.widget.Spinner.
M compose/ui/ui/api/current.txt
M compose/ui/ui/api/public_plus_experimental_current.txt
M compose/ui/ui/api/restricted_current.txt
M compose/ui/ui/src/androidAndroidTest/kotlin/androidx/compose/ui/AndroidAccessibilityTest.kt
M compose/ui/ui/src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt
M compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt
na...@google.com <na...@google.com> #4
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.compose.ui:ui:1.4.0-alpha04
Description
In compose there are multiple accessibility roles:https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/ui/ui/src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt;l=554;drc=412c979a93d75d581b1d0a40212f8a012458b862
It seems like there is no role for "dropdown list" (such that when you focus on a dropdown button that opens a dropdown list, Talkback announces "dropdown list").
This used to be possible with old
View
s if you used theSpinner
view.