• Dominic Mazzoni's avatar
    Android accessibility: expose nodes with an image. · 81619b38
    Dominic Mazzoni authored
    Select-to-speak on Android wants to know what nodes in the
    accessibility tree contain an image. We can't rely on
    exposing this in the class name or role, because sometimes
    an image might be inside a button, link, or other leaf-level
    UI element. Add a new custom flag
    "AccessibilityNodeInfo.hasImage" indicating if it has an image.
    
    BUG=813116
    
    Change-Id: Ia4d3779eecc534ebf997c655a817c5fd06a22d5a
    Reviewed-on: https://chromium-review.googlesource.com/923207
    Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
    Reviewed-by: default avatarKatie Dektar <katie@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#537732}
    81619b38
img-expected-android.txt 362 Bytes