AX: [EFL] Anonymous render block flow elements should be exposed as ATK_ROLE_SECTION...
authorjdiggs@igalia.com <jdiggs@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 13 Dec 2015 14:07:40 +0000 (14:07 +0000)
committerjdiggs@igalia.com <jdiggs@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 13 Dec 2015 14:07:40 +0000 (14:07 +0000)
commit79c642566095f4611a3a4b3b1a9271d21eb8408f
tree58b4917f0387c8c72460a43b8d08a34c1949cead
parentfc683c641c9bd905e6a587d7e102eac623d3effc
AX: [EFL] Anonymous render block flow elements should be exposed as ATK_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

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@194015 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/efl/accessibility/deleting-iframe-destroys-axcache-expected.txt [new file with mode: 0644]
LayoutTests/platform/efl/accessibility/image-link-expected.txt
LayoutTests/platform/efl/accessibility/image-with-alt-and-map-expected.txt
LayoutTests/platform/efl/accessibility/lists-expected.txt
LayoutTests/platform/efl/accessibility/media-element-expected.txt
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityRenderObject.cpp