Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d8e4df8c3919e26415b9ffb33f0e9bed0fc2d8cc
https://github.com/WebKit/WebKit/commit/d8e4df8c3919e26415b9ffb33f0e9bed0fc2d8cc
Author: Utku Uckun <[email protected]>
Date: 2025-03-06 (Thu, 06 Mar 2025)
Changed paths:
M Source/WebCore/accessibility/AXObjectCache.cpp
M Source/WebCore/accessibility/AXObjectCache.h
M Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.mm
M Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm
Log Message:
-----------
AX: VoiceOver focus pops out of the text field or gets stuck in PDFs
https://bugs.webkit.org/show_bug.cgi?id=289190 rdar://146323940
Reviewed by Tyler Wilcock.
-We want to build isolated tree for the main frame plugins so accessibility
objects can be retrieved by assistive technologies. But we don't want to set
isolated tree as root because we want PDF plugin to handle requests.
-VoiceOver expects to receive PDF annotation element as focusedUIElement
instead of the WebKit text box. Therefore, when accessibilityFocusedUIElement
is queried we want to return the AXAssociatedPluginParent if one exists.
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::buildAccessibilityTreeIfNeeded):
* Source/WebCore/accessibility/AXObjectCache.h:
* Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.mm:
(-[WKAccessibilityWebPageObjectBase accessibilityRootObjectWrapper:]):
(-[WKAccessibilityWebPageObjectBase setIsolatedTreeRoot:]):
* Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm:
(WebKit::WebProcess::accessibilityFocusedUIElement):
Canonical link: https://commits.webkit.org/291756@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes