Bug 301760
| Summary: | AX: focused node should be nullptr when a different frame has focus | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Dominic Mazzoni <dm_mazzoni> |
| Component: | Accessibility | Assignee: | Dominic Mazzoni <dm_mazzoni> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | andresg_22, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Dominic Mazzoni
This applies when the ENABLE_ACCESSIBILITY_LOCAL_FRAME flag is enabled, in preparation for site isolation.
Previously, there was one AXObjectCache for the whole page, and the current focused element always returned the focused element from any frame. If there was no focused element, the root was returned.
With this flag enabled (required for site isolation), there's one AXObjectCache for each frame. When determining the focused node across all frames in the current process, each frame is now keeping track of focus separately - that means that frames that are not currently focused must return nullptr as their own focused node.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/163797834>
Dominic Mazzoni
Pull request: https://github.com/WebKit/WebKit/pull/53260
EWS
Committed 302501@main (ee35cc63fdab): <https://commits.webkit.org/302501@main>
Reviewed commits have been landed. Closing PR #53260 and removing active labels.