Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
AX: [EFL] Anonymous render block flow elements should be exposed as A…
…TK_ROLE_SECTION; not ATK_ROLE_PANEL https://bugs.webkit.org/show_bug.cgi?id=152079 Reviewed by Chris Fleizach. Source/WebCore: Map the element to WebCore AccessibilityRole DivRole for EFL. As with GTK, this is being done in the shared layer rather than in the platform layer because we want all subsequent logic to treat anonymous render block flow elements as divs. No new tests. We already have sufficient test coverage. The expectations been updated accordingly. * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::determineAccessibilityRole): LayoutTests: * platform/efl/accessibility/deleting-iframe-destroys-axcache-expected.txt: Added. * platform/efl/accessibility/image-link-expected.txt: Updated. * platform/efl/accessibility/image-with-alt-and-map-expected.txt: Updated. * platform/efl/accessibility/lists-expected.txt: Updated. * platform/efl/accessibility/media-element-expected.txt: Updated Canonical link: https://commits.webkit.org/170341@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
79 additions
and 7 deletions.
- +13 −0 LayoutTests/ChangeLog
- +42 −0 LayoutTests/platform/efl/accessibility/deleting-iframe-destroys-axcache-expected.txt
- +1 −1 LayoutTests/platform/efl/accessibility/image-link-expected.txt
- +1 −1 LayoutTests/platform/efl/accessibility/image-with-alt-and-map-expected.txt
- +2 −2 LayoutTests/platform/efl/accessibility/lists-expected.txt
- +2 −2 LayoutTests/platform/efl/accessibility/media-element-expected.txt
- +17 −0 Source/WebCore/ChangeLog
- +1 −1 Source/WebCore/accessibility/AccessibilityRenderObject.cpp
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -0,0 +1,42 @@ | ||
Before | ||
|
||
After | ||
|
||
End of test | ||
|
||
This tests that deleting an iframe doesn't cause the accessibility cache to be destroyed and recreated. | ||
|
||
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | ||
|
||
|
||
|
||
Before: | ||
AXRole: AXScrollArea | ||
AXRole: AXWebArea | ||
AXRole: AXParagraph AXValue: Before | ||
AXRole: AXSection AXValue: <obj> | ||
AXRole: AXGroup | ||
AXRole: AXScrollArea | ||
AXRole: AXWebArea | ||
AXRole: AXGroup AXValue: <obj> | ||
AXRole: AXButton | ||
AXRole: AXParagraph AXValue: After | ||
AXRole: AXParagraph AXValue: End of test | ||
|
||
After: | ||
AXRole: AXScrollArea | ||
AXRole: AXWebArea | ||
AXRole: AXParagraph AXValue: Before | ||
AXRole: AXParagraph AXValue: After | ||
AXRole: AXParagraph AXValue: End of test | ||
|
||
PASS frameBodyRole == frameBody.role is false | ||
PASS frameGroupRole == frameGroup.role is false | ||
PASS frameButtonRole == frameButton.role is false | ||
PASS root.isEqual(newRoot) is true | ||
PASS body.isEqual(newBody) is true | ||
PASS before.isEqual(newBefore) is true | ||
PASS after.isEqual(newAfter) is true | ||
|
||
TEST COMPLETE | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters