• Akihiro Ota's avatar
    ChromeVox Tutorial: Restart nudges when range changes. · 2b824e8a
    Akihiro Ota authored
    This change fixes an issue where ChromeVox would interrupt itself when
    reading text content. The cause for this is that we previously restarted
    the nudge timer when a focus event fired. This works for buttons, but
    focus events do not fire when range moves between text content.
    Instead of restarting nudges when a focus event fires, do so when the
    current ChromeVox range changes.
    
    A test is also included to confirm behavior.
    
    Bug: 1141643
    Change-Id: I8245e98b40398a1964bf33b1a14e16ff7e6889a9
    AX-Relnotes: N/A
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2503635Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
    Commit-Queue: Akihiro Ota <akihiroota@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#822877}
    2b824e8a
panel.js 46.1 KB