Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8e41386fbdee1d36bb7ebb9b377b5481941e7e2d
      
https://github.com/WebKit/WebKit/commit/8e41386fbdee1d36bb7ebb9b377b5481941e7e2d
  Author: Tyler Wilcock <[email protected]>
  Date:   2026-02-23 (Mon, 23 Feb 2026)

  Changed paths:
    M LayoutTests/accessibility/roles-computedRoleString.html
    M 
LayoutTests/imported/w3c/web-platform-tests/graphics-aria/graphics-roles-expected.txt
    M 
LayoutTests/platform/glib/accessibility/roles-computedRoleString-expected.txt
    M LayoutTests/platform/gtk/accessibility/gtk/xml-roles-exposed-expected.txt
    M 
LayoutTests/platform/mac/accessibility/roles-computedRoleString-expected.txt
    M Source/WebCore/accessibility/AccessibilityObject.cpp

  Log Message:
  -----------
  AX: graphics-document, graphics-object, graphics-symbol roles return the 
wrong computedRoleString
https://bugs.webkit.org/show_bug.cgi?id=307285
rdar://169929567

Reviewed by Joshua Hoffman.

accessibility/roles-computedRoleString.html verifies / expects the wrong 
behavior for these roles, and we had special-cases in
AccessibilityObject::computedRoleString to implement this wrong behavior. 
Remove these special cases so our behavior matches
what is specified in web platform tests.

* LayoutTests/accessibility/roles-computedRoleString.html:
* 
LayoutTests/imported/w3c/web-platform-tests/graphics-aria/graphics-roles-expected.txt:
* LayoutTests/platform/glib/accessibility/roles-computedRoleString-expected.txt:
* LayoutTests/platform/mac/accessibility/roles-computedRoleString-expected.txt:
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::computedRoleString const):

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



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

Reply via email to