• Dominic Mazzoni's avatar
    Make ChromeVox respond to all in-page link navigations. · 9bca119b
    Dominic Mazzoni authored
    Previously ChromeVox handled in-page links if you force-click on
    them. This change makes it so that it also handles it if the user
    presses Enter or mouse-clicks on a link, by responding to the
    scrolledToAnchor event.
    
    Testing this required enabling the test server because the browser
    doesn't follow same-page links in data urls. Some of the work to
    make use of the test server in ChromeVox tests was already done
    for portals, but I had to fix a tiny bug in js2gtest.
    
    how they're activated.
    
    Bug: 1130786
    AX-Relnotes: ChromeVox now properly handles in-page links no matter
    Change-Id: I9e56f6c88fdbce35c14e692411cb7bb4a2e46db2
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2422704
    Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
    Reviewed-by: default avatarDavid Tseng <dtseng@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#809223}
    9bca119b
js2gtest.js 18.3 KB