AX: iOS VoiceOver can't swipe past the last element inside iframes or render a cursor for iframe content#69445
Open
twilco wants to merge 1 commit into
Conversation
… render a cursor for iframe content https://bugs.webkit.org/show_bug.cgi?id=319459 rdar://179279930 Reviewed by NOBODY (OOPS!). With ENABLE(ACCESSIBILITY_LOCAL_FRAME), each frame gets its own AXObjectCache and an iframe's root AccessibilityScrollView reports isRoot() == true, so its parentObject() returns null. On iOS, -[WebAccessibilityObjectWrapper accessibilityContainer] climbed the tree with the non-cross-frame parentObjectUnignored(), which therefore dead-ended at the iframe root This broken link means it can neither advance past the last iframe element nor resolve the view/window needed to draw its focus cursor. Fix accessibilityContainer to ascend with crossFrameParentObjectUnignored(), matching macOS. It crosses the local frame boundary at the iframe root and behaves identically to parentObjectUnignored() elsewhere and when the flag is off. * LayoutTests/accessibility/ios-simulator/iframe-exit-traversal-expected.txt: Added. * LayoutTests/accessibility/ios-simulator/iframe-exit-traversal.html: Added. * Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: (-[WebAccessibilityObjectWrapper accessibilityContainer]):
Collaborator
|
EWS run on current version of this PR (hash 1a96622) Details
|
fleizach
approved these changes
Jul 15, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🧪 wpe-wk2
1a96622
1a96622