Prepare for better autofill screen reading experience.
Separate out the different concepts: - Suggestions are available or not (call ViewAccessibility::OnInputSuggestionsAvailable or OnInputSuggestionsUnavailable). This is now a static so no view is required in case the menu for the suggestions has not yet been created. - Menu is open -- the AX code now just uses the menustart/end event to track this - Menu item is selected -- the AX code now just uses the selection event on a menuitem when menus are open By separating out these concepts, a11y can expose the fake menu item focus only when a menu item is actually selected, and indicate when a textfield has suggestions available even if the menu popup is not visible. Bug: 848427 Change-Id: I4a75c58402d1dd1e5da0368b59f6c9ba7fc8775c Reviewed-on: https://chromium-review.googlesource.com/1081022 Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Reviewed-by:Evan Stade <estade@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Fabio Tirelo <ftirelo@chromium.org> Cr-Commit-Position: refs/heads/master@{#565037}
Showing
Please register or sign in to comment