-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
AX: aria-selected-menu-items test is flaky in ITM mode
https://bugs.webkit.org/show_bug.cgi?id=260278 rdar://113979223 Reviewed by Chris Fleizach. This change fixes aria-selected-menu-items in isolated tree mode by adding a traversal up for the newly selected child so that its ancestor also updates its SelectedChildren property. The traversal happens during a new case in AXObjectCache::updateIsolatedTree where the notification AXMenuListItemSelected is now handled. * LayoutTests/accessibility-isolated-tree/TestExpectations * LayoutTests/accessibility/aria-selected-menu-items.html * LayoutTests/platform/mac/accessibility/aria-selected-menu-items-expected.txt * LayoutTests/platform/glib/accessibility/aria-selected-menu-items-expected.txt Tests updated to be async for ITM. * Source/WebCore/accessibility/AXObjectCache.cpp (WebCore::AXObjectCache::updateIsolatedTree): Logic to handle AXMenuListItemSelected notifications. * Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp Handle AXPropertyName::SelectedChildren in updateNodeProperties. Canonical link: https://commits.webkit.org/267221@main
- Loading branch information
1 parent
51e8e5e
commit 5e54c0b
Showing
6 changed files
with
29 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters