DescriptionFix focus and bounds calculations for guest frames.
Two fixes for accessibility of out-of-process iframes and guest frames
(e.g. <webview>):
1. BrowserAccessibilityManager::GetFocus should return the focused node
from a child frame.
2. BrowserAccessibilityManager::GetLocalBoundsRect and
BrowserAccessibilityCocoa::pointInScreen need to correctly take
child frames into account.
This is sufficient for correct spoken feedback and UI element bounding
rects in VoiceOver when tabbing into and out of an out-of-process iframe
or <webview> guest frame. There may be other bugs, but simple examples
work in VoiceOver now.
BUG=330307, 368298
Committed: https://crrev.com/e8091802505a507bb6c11683fe77cf7b1d455e6d
Cr-Commit-Position: refs/heads/master@{#311777}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address feedback #
Messages
Total messages: 13 (5 generated)
|