forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement scopes_route/names_route processing in flutter ax bridge
When a node with scopes_route flag is added, perform a depth first search for a child with names_route flag. If found, that node should receive focus and be spoken. Subsequent updates for a the node should not speak or refocus. When a scopes node is removed, refocus a names node under the last scopes node unless there is none. Refocused nodes after a removed node should not be spoken, only focused. If there is no scopes node found, focus on the first focusable node in the tree. This is used by flutter alert dialogs and drawers that require the user's attention if the screen reader is enabled. Bug: None Test: Local display assistant and unittest Change-Id: I69b0205d47269ec75265ca1af56400cc28faea56 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2436768 Reviewed-by: Daniel Nicoara <dnicoara@chromium.org> Commit-Queue: Randy Rossi <rmrossi@chromium.org> Cr-Commit-Position: refs/heads/master@{#812086}
- Loading branch information
Randy Rossi
authored and
Commit Bot
committed
Sep 30, 2020
1 parent
f71671b
commit 353d9f5
Showing
6 changed files
with
354 additions
and
4 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.