commit | b0305a69df9f327b88ec7a631c684bd1f713754a | [log] [tgz] |
---|---|---|
author | David Tseng <dtseng@chromium.org> | Wed May 08 05:58:59 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 08 05:58:59 2019 |
tree | 292c501d6add873e25ed20ebdf068be918b162ac | |
parent | af11b6ca1a1b5d896267baf4cb28b5febfc64836 [diff] |
Include rich output for intra-line changes in ChromeVox Previously, when ChromeVox encounters a change in editable text that remains within a single line, e.g. move by one character, it would compare the plain text diffs of the previous and current lines. This would miss the rich structure of automation including images. The logic prior to this change would sometimes emit output accidentally when the move within line was detected as a move across lines. This change makes it so whenever either side of the selection (while within a single line) is not on a text node, ChromeVox will describe the entire DOM selection. Test: browser_tests --gtest_filter=ChromeVoxEditing*.*ImageByCharacter Change-Id: I53f7d9e15edfaa13c90fb4cc498d83f140cbdf35 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1596194 Commit-Queue: David Tseng <dtseng@chromium.org> Reviewed-by: Nektarios Paisios <nektar@chromium.org> Cr-Commit-Position: refs/heads/master@{#657611}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .