Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
AX: WebKit does not break AX modality when focus is explicitly moved …
…outside the modal https://bugs.webkit.org/show_bug.cgi?id=246580 rdar://problem/101209793 Reviewed by Chris Fleizach. https://www.w3.org/TR/wai-aria-1.1/#aria-modal "If focus moves to an element outside the modal element, assistive technologies SHOULD NOT limit navigation to the modal element." With this patch, we now follow this recommendation. * LayoutTests/accessibility/aria-modal-multiple-dialogs-expected.txt: * LayoutTests/accessibility/aria-modal-multiple-dialogs.html: * Source/WebCore/accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::updateCurrentModalNode): (WebCore::AXObjectCache::updateCurrentModalNodeInternal): Deleted. Function body moved to a lambda inside updateCurrentModalNode. (WebCore::AXObjectCache::performDeferredCacheUpdate): * Source/WebCore/accessibility/AXObjectCache.h: Canonical link: https://commits.webkit.org/255665@main
- Loading branch information
Showing
4 changed files
with
57 additions
and
40 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