[webkit-changes] [WebKit/WebKit] 0a503c: AX: Parse "strong" and "emphasis" ARIA roles into ...
Tyler Wilcock
noreply at github.com
Fri Mar 1 17:33:04 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 0a503cce2c6efd211ed834279893a9c616025049
https://github.com/WebKit/WebKit/commit/0a503cce2c6efd211ed834279893a9c616025049
Author: Tyler Wilcock <tyler_w at apple.com>
Date: 2024-03-01 (Fri, 01 Mar 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/roles-expected.txt
M Source/WebCore/accessibility/AXCoreObject.h
M Source/WebCore/accessibility/AccessibilityObject.cpp
M Source/WebCore/accessibility/atspi/AccessibilityObjectAtspi.cpp
M Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
M Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm
Log Message:
-----------
AX: Parse "strong" and "emphasis" ARIA roles into internal role representation
https://bugs.webkit.org/show_bug.cgi?id=270369
rdar://problem/123912792
Reviewed by Chris Fleizach.
This patch parses the "strong" and "emphasis" ARIA roles into a new
internal AccessibilityRole interpretation. Note that this patch does not
actually hook them up into platform representations for AT consumption
(we'll need to decide the best way to do that in a future patch).
* LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/roles-expected.txt:
Pass two more testcases.
* Source/WebCore/accessibility/AXCoreObject.h:
(WebCore::accessibilityRoleToString):
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore::initializeRoleMap):
* Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper determineIsAccessibilityElement]):
* Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm:
(WebCore::Accessibility::createPlatformRoleMap):
Canonical link: https://commits.webkit.org/275587@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