[webkit-changes] [WebKit/WebKit] cbe053: AX: Fix for active-descendant-changes-result-in-fo...
AndresGonzalezApple
noreply at github.com
Mon Jun 12 05:52:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: cbe05390f6aece8c181d24217472d69eaa4ec918
https://github.com/WebKit/WebKit/commit/cbe05390f6aece8c181d24217472d69eaa4ec918
Author: Andres Gonzalez <andresg_22 at apple.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M Source/WebCore/accessibility/AXObjectCache.cpp
M Source/WebCore/accessibility/AXObjectCache.h
Log Message:
-----------
AX: Fix for active-descendant-changes-result-in-focus-changes.html in isolated tree mode.
https://bugs.webkit.org/show_bug.cgi?id=257909
<rdar://problem/110544948>
Reviewed by Tyler Wilcock.
The last test case in this test was failing because if the aria-activedescendant attribute is removed, then focus should go back to the element itself. We were not updating the isolated tree in this case.
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::handleActiveDescendantChanged):
(WebCore::AXObjectCache::handleAttributeChange):
* Source/WebCore/accessibility/AXObjectCache.h:
Canonical link: https://commits.webkit.org/265065@main
More information about the webkit-changes
mailing list