• Haiyang Pan's avatar
    Revert "Added a11y state description to ListBox on Android" · ecc63ac6
    Haiyang Pan authored
    This reverts commit e855807b.
    
    Reason for revert: Likely the cause of the test failures described in crbug.com/1134292.
    
    These tests are failing on other android builders as well. For example:
    * https://ci.chromium.org/p/chromium/builders/ci/android-pie-x86-rel/2386
    * https://ci.chromium.org/p/chromium/builders/ci/Lollipop%20Phone%20Tester/27170
    
    Original change's description:
    > 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}
    
    TBR=dmazzoni@chromium.org,danakj@chromium.org,pdr@chromium.org,mschillaci@google.com
    
    Change-Id: I2e57b039c81e8a4cdaedd22383ac3d4cf5e60e61
    No-Presubmit: true
    No-Tree-Checks: true
    No-Try: true
    Bug: 1101656
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2443538Reviewed-by: default avatarHaiyang Pan <hypan@google.com>
    Commit-Queue: Haiyang Pan <hypan@google.com>
    Cr-Commit-Position: refs/heads/master@{#812883}
    ecc63ac6
browser_accessibility_android.h 6.62 KB