When ChromeVox gets a hover event, it should target a leaf node.

In particular, the hover might be fired on a text node inside something
like a button. The node that should be focused by ChromeVox is the
button, not the text inside.

Bug: 911726
Change-Id: Ibdbdbe5991e693bd8bbc575ab3e51e7a0fed3e07
Reviewed-on: https://chromium-review.googlesource.com/c/1361622
Commit-Queue: Dominic Mazzoni <dmazzoni@chromium.org>
Reviewed-by: David Tseng <dtseng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#614215}
3 files changed