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-Relnoates: ListBoxes and ListBoxItems now explicitly announce their count and item index. Bug: 1101656 Change-Id: Ibdae3a0401f03cde373d4055dbc93f9465bb2f69 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462276Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Mark Schillaci <mschillaci@google.com> Reviewed-by:
danakj <danakj@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Commit-Queue: Mark Schillaci <mschillaci@google.com> Cr-Commit-Position: refs/heads/master@{#816359}
Showing
Please register or sign in to comment