Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7a4fc4e0025af69f35143b029256d7a8a8f3b13b
      
https://github.com/WebKit/WebKit/commit/7a4fc4e0025af69f35143b029256d7a8a8f3b13b
  Author: Mike Gorse <[email protected]>
  Date:   2025-12-19 (Fri, 19 Dec 2025)

  Changed paths:
    M Source/WebCore/accessibility/atspi/AccessibilityAtspiEnums.h
    M Source/WebCore/accessibility/atspi/AccessibilityObjectAtspi.cpp
    M 
Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityUIElementAtspi.cpp

  Log Message:
  -----------
  AX: Adjust Atspi::Role to match the enum defined in at-spi2-core
https://bugs.webkit.org/show_bug.cgi?id=300090

Reviewed by Adrian Perez de Castro.

R296017 removed the Footer member from Atspi::Role and also added
SectionHeader and SectionFooter, which do not currently exist in AT-SPI,
leading to the wrong Role values being reported. This commit adjusts the
enum to correspond with the current AT-SPI specification and also adds a
couple of newer AT-SPI roles.

* Source/WebCore/accessibility/atspi/AccessibilityAtspiEnums.h:
* Source/WebCore/accessibility/atspi/AccessibilityObjectAtspi.cpp:
(WebCore::atspiRole):
* Tools/WebKitTestRunner/InjectedBundle/atspi/AccessibilityUIElementAtspi.cpp:
(WTR::roleValueToString):

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



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

Reply via email to