Added a11y state description to ListBox on Android
This CL updates the behavior of ListBox on Android. With this change, the state of a Listbox ("x items") will now be read during swipe navigation when a node is initially selected. For ListBoxItem, the state of the item will read as "in list, item x of y". We append the state of the ListBox or items in the stateDescription element of the node's corresponding AccessibilityNodeInfo object. This CL also updates associated unit test expectations. AX-Relnotes: ListBoxes and ListBoxItems now explicitly announce their count and item index. Bug: 1101656 Change-Id: I41bf46d2f11ea9fb0c744ccd3802855c028ecb79 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436382 Commit-Queue: Mark Schillaci <mschillaci@google.com> Reviewed-by:Mark Schillaci <mschillaci@google.com> Reviewed-by:
danakj <danakj@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#812477}
Showing
Please register or sign in to comment