[webkit-changes] [WebKit/WebKit] acb887: AX: make AccessibilityNodeObject::elementRect() ac...
Anne van Kesteren
noreply at github.com
Sun Dec 10 17:04:26 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: acb887bd35a9194d58f136b8059855e7cd8b700a
https://github.com/WebKit/WebKit/commit/acb887bd35a9194d58f136b8059855e7cd8b700a
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2023-12-10 (Sun, 10 Dec 2023)
Changed paths:
A LayoutTests/accessibility/checkbox-radio-element-rect-expected.txt
A LayoutTests/accessibility/checkbox-radio-element-rect.html
A LayoutTests/platform/glib/accessibility/checkbox-radio-element-rect-expected.txt
M LayoutTests/platform/ios/TestExpectations
A LayoutTests/platform/ios/accessibility/checkbox-radio-element-rect-expected.txt
M Source/WebCore/accessibility/AccessibilityNodeObject.cpp
Log Message:
-----------
AX: make AccessibilityNodeObject::elementRect() account for <input type=checkbox switch>
https://bugs.webkit.org/show_bug.cgi?id=263120
rdar://116920561
Reviewed by Tyler Wilcock.
As <input type=checkbox switch> has its own role, rely here on whether
it's a native checkbox instead (which is inclusive of switch).
* LayoutTests/accessibility/checkbox-radio-element-rect-expected.txt: Added.
* LayoutTests/accessibility/checkbox-radio-element-rect.html: Added.
* LayoutTests/platform/glib/accessibility/checkbox-radio-element-rect-expected.txt: Added.
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/ios/accessibility/checkbox-radio-element-rect-expected.txt: Added.
* Source/WebCore/accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::elementRect const):
Canonical link: https://commits.webkit.org/271855@main
More information about the webkit-changes
mailing list