Re-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 Review URL: https://codereview.chromium.org/505423002 Cr-Commit-Position: refs/heads/master@{#292402}
Showing
Please register or sign in to comment