[Webkit-unassigned] [Bug 229556] AX: Make PDFs loaded via <embed> accessible
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 10 06:50:42 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=229556
--- Comment #17 from Andres Gonzalez <andresg_22 at apple.com> ---
(In reply to Tyler Wilcock from comment #13)
> Created attachment 437808 [details]
> Patch
+ if ([attribute isEqual:NSAccessibilityChildrenAttribute] && [element respondsToSelector:@selector(accessibilityChildren)])
+ value = [element accessibilityChildren];
+ else if ([attribute isEqual:NSAccessibilityDescriptionAttribute] && [element respondsToSelector:@selector(accessibilityLabel)])
+ value = [element accessibilityLabel];
+ else if ([attribute isEqual:NSAccessibilityParentAttribute] && [element respondsToSelector:@selector(accessibilityParent)])
+ value = [element accessibilityParent];
+ else if ([attribute isEqual:NSAccessibilityRoleAttribute] && [element respondsToSelector:@selector(accessibilityRole)])
+ value = [element accessibilityRole];
+ else if ([attribute isEqual:NSAccessibilityValueAttribute] && [element respondsToSelector:@selector(accessibilityValue)])
+ value = [element accessibilityValue];
All of this needs to be done inside executeOnAXThreadAndWait for isolated tree mode testing.
--
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/20210910/d37d34fe/attachment-0001.htm>
More information about the webkit-unassigned
mailing list