-
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: Fix multiple-label-input test in ITM mode
https://bugs.webkit.org/show_bug.cgi?id=260174 rdar://113872525 Reviewed by Andres Gonzalez. This patch resolves an issue where innerHTML and innerText changes to labels were not updating their corresponding input element's AX title. * LayoutTests/accessibility-isolated-tree/TestExpectations * LayoutTests/platform/glib/accessibility/multiple-label-input-expected.txt * LayoutTests/accessibility/multiple-label-input.html * LayoutTests/accessibility/multiple-label-input-expected.txt: Added check for using innerHTML—only checked for innerText functionality previously. * Source/WebCore/accessibility/AXObjectCache.cpp: (WebCore::AXObjectCache::updateIsolatedTree): If static text changes and its parent is a <label>, update the corresponding control. * Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp: (WebCore::AXIsolatedTree::updateNodeAndDependentProperties): Check if a label is being modified (using innerText). If it is, update the corresponding control. Canonical link: https://commits.webkit.org/266919@main
- Loading branch information
1 parent
0c02598
commit 28bfc96
Showing
6 changed files
with
26 additions
and
6 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