[webkit-changes] [WebKit/WebKit] 3b4b83: AX ITM: fix for aria-activedescendant tests in iso...
AndresGonzalezApple
noreply at github.com
Thu Nov 3 10:54:31 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3b4b837022dc1022cf0d8d42e382e3a3499acd00
https://github.com/WebKit/WebKit/commit/3b4b837022dc1022cf0d8d42e382e3a3499acd00
Author: Andres Gonzalez <andresg_22 at apple.com>
Date: 2022-11-03 (Thu, 03 Nov 2022)
Changed paths:
M LayoutTests/accessibility-isolated-tree/TestExpectations
M LayoutTests/accessibility/mac/aria-tree-activedescendant-expected.txt
M LayoutTests/accessibility/mac/aria-tree-activedescendant.html
M LayoutTests/accessibility/mac/combobox-activedescendant-notifications-expected.txt
M LayoutTests/accessibility/mac/combobox-activedescendant-notifications.html
M Source/WebCore/accessibility/AXObjectCache.cpp
Log Message:
-----------
AX ITM: fix for aria-activedescendant tests in isolated tree mode.
https://bugs.webkit.org/show_bug.cgi?id=247400
<rdar://problem/101889227>
Reviewed by Chris Fleizach.
AXObjectCache::handleActiveDescendantChanged needs to update the isolated tree whether the notification element has focus or not. In addition, if the element is a combobox, the platform notification target needs also to be updated in the isolated tree.
AXObjectCache::handleActiveDescendantChanged now calls postPlatformNotification instead of postNotification which schedules a deferred notification that is not needed.
* LayoutTests/accessibility-isolated-tree/TestExpectations:
* LayoutTests/accessibility/mac/aria-tree-activedescendant-expected.txt:
* LayoutTests/accessibility/mac/aria-tree-activedescendant.html:
* LayoutTests/accessibility/mac/combobox-activedescendant-notifications-expected.txt:
* LayoutTests/accessibility/mac/combobox-activedescendant-notifications.html:
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::handleActiveDescendantChanged):
Canonical link: https://commits.webkit.org/256279@main
More information about the webkit-changes
mailing list