Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Promise Icons] Stop showing accessible name in Launcher item tooltip
Currently, Launcher promise items have tooltips which show the accessible name (i.e. text announced by the screenreader). UX has explicitly advised against this, so this CL aims to fix this behaviour. This CL removes the line that sets the tooltip_text to the accessible name. In regular Launcher items, display_name is always the same as the full_name, so the logic was never triggered anyway. However, in promise app items, the display_name always differs from the full_name (accessible name) which results in the accessible name being set for the tooltip. Hence, we will remove the tooltip_text_ attribute and let the tooltip fallback to default behaviour of showing the item title. Bug: b/305140229 Change-Id: I0f3101cac5fc3ec3691d59ec46bce00e1ac2accc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4976359 Commit-Queue: Vivian Pao <vpao@google.com> Reviewed-by: Toni Barzic <tbarzic@chromium.org> Cr-Commit-Position: refs/heads/main@{#1216714}
- Loading branch information