• Mark Schillaci's avatar
    Made role="progressbar" nodes interesting on Android · 2c7f48b0
    Mark Schillaci authored
    This CL addresses an issue with <div role="progressbar"> not
    being interesting on Android.
    
    With this CL, kProgressIndicator's are now set to interesting
    by default, making it possible for a user to linearly
    navigate to the node via a screenreader.
    
    We have added a new method, IsSeekControl, to differentiate
    progress indicators, which are range type nodes, from the
    other range type nodes, such as sliders, which allow the user
    to use seek control to set the value. A user should not have
    the ability to seek control and change the progress of an
    indicator.
    
    
    AX-Relnotes: Progress indicators (role="progressbar") are interesting on Android
    Bug: 1129688
    Change-Id: Ifca9a4048d695e33eedbb1b0bd43e97fcb8d29ea
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2424976Reviewed-by: default avatarMark Schillaci <mschillaci@google.com>
    Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
    Commit-Queue: Mark Schillaci <mschillaci@google.com>
    Cr-Commit-Position: refs/heads/master@{#810005}
    2c7f48b0
browser_accessibility_android.h 6.47 KB