[webkit-changes] [WebKit/WebKit] 8d88c7: AX: Fix computed role for elements: dd, details, d...

Tyler Wilcock noreply at github.com
Sat Mar 16 10:33:35 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8d88c739fe87c6cca02f79db0fed7fa63e3c4b43
      https://github.com/WebKit/WebKit/commit/8d88c739fe87c6cca02f79db0fed7fa63e3c4b43
  Author: Tyler Wilcock <tyler_w at apple.com>
  Date:   2024-03-16 (Sat, 16 Mar 2024)

  Changed paths:
    M LayoutTests/accessibility/display-contents/element-roles-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/html-aam/roles-expected.txt
    M LayoutTests/platform/glib/accessibility/aria-visible-element-roles-expected.txt
    M LayoutTests/platform/glib/accessibility/display-contents/element-roles-expected.txt
    M LayoutTests/platform/glib/accessibility/lists-expected.txt
    M LayoutTests/platform/ios/imported/w3c/web-platform-tests/html-aam/roles-expected.txt
    M LayoutTests/platform/mac-wk1/accessibility/aria-visible-element-roles-expected.txt
    M LayoutTests/platform/mac-wk1/accessibility/roles-exposed-expected.txt
    M LayoutTests/platform/mac-wk2/accessibility/aria-visible-element-roles-expected.txt
    M LayoutTests/platform/mac-wk2/accessibility/roles-exposed-expected.txt
    M LayoutTests/platform/wpe/accessibility/aria-visible-element-roles-expected.txt
    M Source/WebCore/accessibility/AccessibilityNodeObject.cpp
    M Source/WebCore/accessibility/AccessibilityObject.cpp

  Log Message:
  -----------
  AX: Fix computed role for elements: dd, details, dt, em, hgroup, option, s, strong
https://bugs.webkit.org/show_bug.cgi?id=271012
rdar://problem/124641956

Reviewed by Chris Fleizach.

This allows us to pass 8 more WPT subtests.

* LayoutTests/accessibility/display-contents/element-roles-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/html-aam/roles-expected.txt:
* LayoutTests/platform/glib/accessibility/aria-visible-element-roles-expected.txt:
* LayoutTests/platform/glib/accessibility/display-contents/element-roles-expected.txt:
* LayoutTests/platform/glib/accessibility/lists-expected.txt:
* LayoutTests/platform/ios/imported/w3c/web-platform-tests/html-aam/roles-expected.txt:
* LayoutTests/platform/mac-wk1/accessibility/aria-visible-element-roles-expected.txt:
* LayoutTests/platform/mac-wk1/accessibility/roles-exposed-expected.txt:
* LayoutTests/platform/mac-wk2/accessibility/aria-visible-element-roles-expected.txt:
* LayoutTests/platform/mac-wk2/accessibility/roles-exposed-expected.txt:
* Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::determineAccessibilityRoleFromNode const):
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore::initializeRoleMap):

Canonical link: https://commits.webkit.org/276240@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list