[webkit-changes] [WebKit/WebKit] 5a61ea: Integrate ARIA element reflection in the Accessibi...
Manuel Rego Casasnovas
noreply at github.com
Tue Sep 27 04:19:50 PDT 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5a61ea9a825740c42f60af419813acb143df91f7
https://github.com/WebKit/WebKit/commit/5a61ea9a825740c42f60af419813acb143df91f7
Author: Manuel Rego Casasnovas <rego at igalia.com>
Date: 2022-09-27 (Tue, 27 Sep 2022)
Changed paths:
A LayoutTests/accessibility/element-reflection-ariaactivedescendant-expected.txt
A LayoutTests/accessibility/element-reflection-ariaactivedescendant.html
A LayoutTests/accessibility/element-reflection-ariacontrols-expected.txt
A LayoutTests/accessibility/element-reflection-ariacontrols.html
A LayoutTests/accessibility/element-reflection-ariadescribedby-expected.txt
A LayoutTests/accessibility/element-reflection-ariadescribedby.html
A LayoutTests/accessibility/element-reflection-ariadetails-expected.txt
A LayoutTests/accessibility/element-reflection-ariadetails.html
A LayoutTests/accessibility/element-reflection-ariaerrormessage-expected.txt
A LayoutTests/accessibility/element-reflection-ariaerrormessage.html
A LayoutTests/accessibility/element-reflection-ariaflowto-expected.txt
A LayoutTests/accessibility/element-reflection-ariaflowto.html
A LayoutTests/accessibility/element-reflection-arialabelledby-expected.txt
A LayoutTests/accessibility/element-reflection-arialabelledby.html
A LayoutTests/accessibility/element-reflection-ariaowns-expected.txt
A LayoutTests/accessibility/element-reflection-ariaowns.html
M LayoutTests/platform/mac-wk1/TestExpectations
M LayoutTests/platform/win/TestExpectations
M Source/WebCore/accessibility/AXObjectCache.cpp
M Source/WebCore/accessibility/AccessibilityObject.cpp
M Source/WebCore/dom/Element.cpp
M Source/WebCore/dom/Element.h
Log Message:
-----------
Integrate ARIA element reflection in the Accessibility Tree
https://bugs.webkit.org/show_bug.cgi?id=244972
Reviewed by Ryosuke Niwa.
* LayoutTests/accessibility/element-reflection-ariaactivedescendant-expected.txt: Added.
* LayoutTests/accessibility/element-reflection-ariaactivedescendant.html: Added.
* LayoutTests/accessibility/element-reflection-ariacontrols-expected.txt: Added.
* LayoutTests/accessibility/element-reflection-ariacontrols.html: Added.
* LayoutTests/accessibility/element-reflection-ariadescribedby-expected.txt: Added.
* LayoutTests/accessibility/element-reflection-ariadescribedby.html: Added.
* LayoutTests/accessibility/element-reflection-ariadetails-expected.txt: Added.
* LayoutTests/accessibility/element-reflection-ariadetails.html: Added.
* LayoutTests/accessibility/element-reflection-ariaerrormessage-expected.txt: Added.
* LayoutTests/accessibility/element-reflection-ariaerrormessage.html: Added.
* LayoutTests/accessibility/element-reflection-ariaflowto-expected.txt: Added.
* LayoutTests/accessibility/element-reflection-ariaflowto.html: Added.
* LayoutTests/accessibility/element-reflection-arialabelledby-expected.txt: Added.
* LayoutTests/accessibility/element-reflection-arialabelledby.html: Added.
* LayoutTests/accessibility/element-reflection-ariaowns-expected.txt: Added.
* LayoutTests/accessibility/element-reflection-ariaowns.html: Added.
* LayoutTests/platform/mac-wk1/TestExpectations: Skip tests due to
missing methods on WK1.
* LayoutTests/platform/win/TestExpectations: Skip new tests on Windows.
* Source/WebCore/accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::updateRelationsIfNeeded): Take into account
element reflection information.
* Source/WebCore/accessibility/AccessibilityObject.cpp:
(WebCore:: const): Ditto.
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::isElementReflectionAttribute): Expose method so
it can be used from the a11y code.
(WebCore::Element::isElementsArrayReflectionAttribute): Ditto.
(WebCore::isElementReflectionAttribute): Deleted.
(WebCore::isElementsArrayReflectionAttribute): Deleted.
* Source/WebCore/dom/Element.h:
Canonical link: https://commits.webkit.org/254905@main
More information about the webkit-changes
mailing list