[Webkit-unassigned] [Bug 230259] [GTK][a11y] Add initial WTR accessibility support when building with ATSPI
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 27 08:56:40 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=230259
--- Comment #3 from Andres Gonzalez <andresg_22 at apple.com> ---
@@ -273,7 +277,11 @@ void* WKAccessibilityFocusedObject(WKBundlePageRef pageRef)
#if ENABLE(ACCESSIBILITY)
if (!pageRef)
return 0;
-
+
+#if USE(ATSPI)
+ return WebKit::toImpl(pageRef)->accessibilityRootObject().focusedObject();
+#endif
Same question here. Why this is not good for ATSPI?
auto* focusedObject = axObjectCache->focusedUIElementForPage(page);
if (!focusedObject)
return 0;
return focusedObject->wrapper();
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211027/e54ce3ff/attachment-0001.htm>
More information about the webkit-unassigned
mailing list