Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4220ccde4c539e01931759c21c682cd933d16131
https://github.com/WebKit/WebKit/commit/4220ccde4c539e01931759c21c682cd933d16131
Author: Rahim Abdi <[email protected]>
Date: 2025-06-04 (Wed, 04 Jun 2025)
Changed paths:
M LayoutTests/accessibility/aria-setsize-posinset-expected.txt
M LayoutTests/accessibility/aria-setsize-posinset.html
M Source/WebCore/accessibility/AccessibilityObject.cpp
Log Message:
-----------
AX: Fix permitted values for aria-setsize, aria-posinset (both >= 1) and
specify fallbacks
https://bugs.webkit.org/show_bug.cgi?id=292844
rdar://151113693
Reviewed by Tyler Wilcock.
ARIA (Core-AAM) has recently clarified treatment of aria-setsize and
aria-posinset and specifically,
the meaning of supplying "-1" as a value for these two attributes. This PR
updates aria-setsize/aria-posinset
treatment for invalid values, and thus what is exposed by the accessibility API
in accordance with the ARIA spec update.
It also updates the /LayoutTests/accessibility/aria-setsize-posinset.html test
to use the expectAsync() function.
* LayoutTests/accessibility/aria-setsize-posinset.html: Added additional tests
and updated async tests.
* LayoutTests/accessibility/aria-setsize-posinset-expected.txt: Updated test
expectations.
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::setSize const):
(WebCore::AccessibilityObject::posInSet const):
Canonical link: https://commits.webkit.org/295814@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes