Clean up bad popup focus states after menu usage
Previous code rerouted accessibility focus reporting when any menu item or list item was focused/selected, and the current menu depth > 0. However, the menu depth calculation has shown to easily break. Since the focus override is only necessary for autofill menus, this CL changes the focus override so that it is is only turned on when needed by a popup that is overriding focus in the web page. Bug: 1039422 Change-Id: I49bd0db88bd945a6fc7be3309701d394670d7099 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2247039 Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Evan Stade <estade@chromium.org> Cr-Commit-Position: refs/heads/master@{#779433}
Showing
Please register or sign in to comment