-
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: NSAccessibilityUIElementCountForSearchPredicateParameterizedAttri…
…bute is not used by any AT https://bugs.webkit.org/show_bug.cgi?id=265004 rdar://118546456 Reviewed by Chris Fleizach. This was added in https://bugs.webkit.org/show_bug.cgi?id=124561, but isn't by any assistive technology anymore. This patch removes it. There are some tests that use uiElementCountForSearchPredicate to count the number of objects of certain types, and we probably want to keep these test conditions. So this patch reimplements this function in terms of AXUIElementsForSearchPredicate, which is heavily used by VoiceOver, and just counts the results. * LayoutTests/accessibility/mac/bounds-for-range-expected.txt: * Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm: (-[WebAccessibilityObjectWrapper ALLOW_DEPRECATED_IMPLEMENTATIONS_END]): (-[WebAccessibilityObjectWrapper accessibilityAttributeValue:forParameter:]): * Tools/DumpRenderTree/mac/AccessibilityUIElementMac.mm: (AccessibilityUIElement::uiElementCountForSearchPredicate): * Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityUIElementMac.mm: (WTR::AccessibilityUIElement::uiElementCountForSearchPredicate): Canonical link: https://commits.webkit.org/270872@main
- Loading branch information
Showing
4 changed files
with
6 additions
and
31 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