[a11y] Add a11y support to GTS
This CL adds the following a11y support to the GTS: * Requests focus to the currently selected tab after GTS is finished showing. * Updates the close button content description for individual tabs and tab groups with or without group name. This CL also updates the placeholder for the accessibility_close_tab_group_button_with_group_name string. Note: set `Skip-Translation-Screenshots-Check: True` to bypass error since the screenshot is the same before and after editing the string. Everything introduced in this CL is gated by by Finch parameter "enable_launch_polish" under flag "enable-tab-grid-layout". The changes in TabSwitcherCoordinator is also gated by the Finch flag "enable-tab-groups-continuation". Most of the code is verified to be behind the gating function TabUiFeatureUtilities#isLaunchPolishEnabled by formal equivalence checking tool here: http://crrev.com/c/1934235. The changes in following files can't be verified by the tool, but it is expected and no-op without both flags: * new property in TabProperties * StartSurfaceLayout#canHostBeFocusable is the only diff * Lots of diffs in language files due to the string placeholder change Skip-Translation-Screenshots-Check: True Bug: 1124921 Change-Id: If665464d82f83596c93449e8910878b4c00d02cb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2402302 Commit-Queue: Mei Liang <meiliang@chromium.org> Reviewed-by:Wei-Yin Chen (陳威尹) <wychen@chromium.org> Cr-Commit-Position: refs/heads/master@{#806719}
Showing
Please register or sign in to comment