DescriptionRe-focus node with Android accessibility focus when it moves
This is a workaround for an Android accessibility bug - when the object with accessibility focus moves, Android doesn't update the bounds of accessibility focus on the screen, even if we send a WINDOW_CONTENT_CHANGED event.
With this change, we keep track of the bounding rect of the node with accessibility focus, and if it changes, we move focus to the document and then back to this node, which works around the issue.
No visual flicker was observed when testing on multiple devices. Refreshable braille displays flicker briefly.
BUG=407871
Committed: https://crrev.com/9e8fa203c7856353cf342f9394298e4e49735dcc
Cr-Commit-Position: refs/heads/master@{#292402}
Patch Set 1 #Patch Set 2 : Reset rect on focus change #
Total comments: 1
Patch Set 3 : Rebase #
Messages
Total messages: 10 (0 generated)
|