Bug 255579
| Summary: | AX: AXUIElementsForSearchPredicate returns text inside links in addition to the links themselves for AXUnvisitedLinkSearchKey and AXVisitedLinkSearchKey | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tyler Wilcock <tyler_w> |
| Component: | Accessibility | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | andresg_22, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Tyler Wilcock
This happens because our implementation currently uses AXCoreObject::style() to determine these properties:
https://github.com/WebKit/WebKit/blob/34a1f637714c4b88cb27cde64e9c1298a29276d2/Source/WebCore/accessibility/AccessibilityRenderObject.cpp#L1703#L1719
And the style of RenderText seems to be inherited from its parent. This is probably not the correct behavior for macOS (but may be OK for iOS?)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/108181676>