-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure Assistant greeting label is hidden when opacity is 0.
Previously when the Assistant greeting label was not needed it remained visible but with an opacity of 0. This causes it to still be part of the accessibility tree, and the user could still tab over it when enabling ChromeVox. To solve this a new |FadeOutAndHide| method was introduced that will fade out a view and set its visibility to |false| when the fade out is completed. This method is now used both in the embedded and standalone Assistant UI. Tests: Manually tested and added tests to |ash_unittest|. Bug: b/142672872 Change-Id: I2e734ef13b90f0e43dfda52d12c59b7deff5633f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1913615 Commit-Queue: Jeroen Dhollander <jeroendh@google.com> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org> Cr-Commit-Position: refs/heads/master@{#716413}
- Loading branch information
Jeroen Dhollander
authored and
Commit Bot
committed
Nov 19, 2019
1 parent
7e9567e
commit b58f7f1
Showing
13 changed files
with
259 additions
and
151 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.