[webkit-changes] [WebKit/WebKit] 369358: AX: Fix to parse edge cases of role string
Hunseop Jeong
noreply at github.com
Tue Sep 12 21:31:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 3693580c14ed4a2cdb4e6d3bf958a2beccef26fc
https://github.com/WebKit/WebKit/commit/3693580c14ed4a2cdb4e6d3bf958a2beccef26fc
Author: Hunseop Jeong <hs85jeong at gmail.com>
Date: 2023-09-12 (Tue, 12 Sep 2023)
Changed paths:
M LayoutTests/accessibility/roles-computedRoleString.html
M LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/fallback-roles-expected.txt
M LayoutTests/platform/mac/accessibility/roles-computedRoleString-expected.txt
M Source/WebCore/accessibility/AccessibilityObject.cpp
Log Message:
-----------
AX: Fix to parse edge cases of role string
https://bugs.webkit.org/show_bug.cgi?id=260216
rdar://problem/113923520
Reviewed by Tyler Wilcock.
ARIA role parsing should ignore any leading/trailing whitespaces,
including line breaks.
* LayoutTests/accessibility/aria-fallback-roles-expected.txt:
* LayoutTests/accessibility/aria-fallback-roles.html:
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::ariaRoleToWebCoreRole):
Canonical link: https://commits.webkit.org/267930@main
More information about the webkit-changes
mailing list