ChromeVox: Correctly recover focus when collapsing the Panel.
This change fixes a regression that was introduced by adding in-page link support for ChromeVox. The issue is that when the panel is collapsed, a scrolled_to_anchor event is fired, which was causing us to always place focus on the Panel root web area upon collapsing the menus. To fix the issue, we ignore scrolled_to_anchor events if the root of the target differs from the root of the current range. Fixed: 1133548 AX-Relnotes: N/A Change-Id: I43e99452ea27cd190bd53c62b5fb06593a5bf6b9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2442899 Commit-Queue: Akihiro Ota <akihiroota@chromium.org> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#813000}
Showing
Please register or sign in to comment