Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b3430e45aaa7815acba70da4356d3b1026b5c62f
https://github.com/WebKit/WebKit/commit/b3430e45aaa7815acba70da4356d3b1026b5c62f
Author: Joshua Hoffman <[email protected]>
Date: 2026-01-08 (Thu, 08 Jan 2026)
Changed paths:
A LayoutTests/accessibility/mac/live-regions/live-region-search-expected.txt
A LayoutTests/accessibility/mac/live-regions/live-region-search.html
M Source/WebCore/accessibility/AXObjectCache.cpp
M Source/WebCore/accessibility/mac/AXObjectCacheMac.mm
Log Message:
-----------
AX: LiveRegionSearchKey should work with the new live region mechanism
https://bugs.webkit.org/show_bug.cgi?id=305068
rdar://167717949
Reviewed by Tyler Wilcock.
Even with the new AXLiveRegionManager, we should still be using the deferred
sorted live
region list to serve the AXLiveRegionSearchKey. Since it is a deferred
mechanism, enabling
this doesn't have any adverse performance effects, until an AT decides to make
a search
request for this key.
This PR unblocks the paths that build this list that were previously blocked
when the
live region manager was active.
Test: accessibility/mac/live-regions/live-region-search.html
* LayoutTests/accessibility/mac/live-regions/live-region-search-expected.txt:
Added.
* LayoutTests/accessibility/mac/live-regions/live-region-search.html: Added.
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::handleLiveRegionCreated):
* Source/WebCore/accessibility/mac/AXObjectCacheMac.mm:
(WebCore::AXObjectCache::deferSortForNewLiveRegion):
(WebCore::AXObjectCache::sortedLiveRegions):
(WebCore::AXObjectCache::removeLiveRegion):
(WebCore::AXObjectCache::initializeSortedIDLists):
Canonical link: https://commits.webkit.org/305282@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications