[webkit-changes] [WebKit/WebKit] 3f6b03: AX: nested role="presentation" elements break role...
Chris Fleizach
noreply at github.com
Wed Jan 4 09:20:29 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3f6b035046547cbbff1ceb77d98f8767a7a8ba89
https://github.com/WebKit/WebKit/commit/3f6b035046547cbbff1ceb77d98f8767a7a8ba89
Author: Chris Fleizach <cfleizach at apple.com>
Date: 2023-01-04 (Wed, 04 Jan 2023)
Changed paths:
A LayoutTests/accessibility/mac/nested-tree-presentation-roles-expected.txt
A LayoutTests/accessibility/mac/nested-tree-presentation-roles.html
M Source/WebCore/accessibility/AccessibilityTree.cpp
M Source/WebCore/accessibility/AccessibilityTree.h
Log Message:
-----------
AX: nested role="presentation" elements break role="tree" behavior
https://bugs.webkit.org/show_bug.cgi?id=227906
<rdar://80520596>
Reviewed by Andres Gonzalez.
Trees can have arbitrary levels of nesting of role="presentational" elements.
* LayoutTests/accessibility/mac/nested-tree-presentation-roles-expected.txt: Added.
* LayoutTests/accessibility/mac/nested-tree-presentation-roles.html: Added.
* Source/WebCore/accessibility/AccessibilityTree.cpp:
(WebCore::AccessibilityTree::isTreeValid const):
(WebCore::AccessibilityTree::nodeHasTreeItemChild const): Deleted.
* Source/WebCore/accessibility/AccessibilityTree.h:
Canonical link: https://commits.webkit.org/258435@main
More information about the webkit-changes
mailing list