[Switch Access] Add text navigation submenu
This change replaces all of the text navigation actions on the main menu with the ‘Move cursor’ action. When ‘Move cursor’ is selected, a submenu is opened with all of the text navigation actions. Test: With emulated Chrome OS on Linux and both the Switch Access and improved text input command line flags enabled (--enable-experimental-accessibility-switch-access and --enable-experimental-accessibility-switch-access-text), manually verified that when the ‘Move cursor’ action is selected in the main menu for an editable text node, the main menu is replaced in the panel by the text navigation submenu. When the back button is selected while in the text navigation submenu, the submenu is replaced in the panel by the main menu, and when the back button is selected while in the main menu, the menu exits and the panel disappears. See go/cros-switch-menu-redesign for more information. Bug: 994256 Change-Id: I4e0a4f45c082d40b164f13ca56ca5de0067181ff Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1772301Reviewed-by:Anastasia Helfinstein <anastasi@google.com> Reviewed-by:
Akihiro Ota <akihiroota@chromium.org> Commit-Queue: Sophie Yang <sophyang@google.com> Cr-Commit-Position: refs/heads/master@{#690851}
Showing
Please register or sign in to comment