Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3f6b035046547cbbff1ceb77d98f8767a7a8ba89
      
https://github.com/WebKit/WebKit/commit/3f6b035046547cbbff1ceb77d98f8767a7a8ba89
  Author: Chris Fleizach <cfleiz...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to