AX: HTML5 landmark (and related) elements should not be ignored.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Sep 2014 15:09:57 +0000 (15:09 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Sep 2014 15:09:57 +0000 (15:09 +0000)
commit1995210a9fd463d9c7d48a2775965f1c6d2f12fd
treeeaf6a6f8c6f0263e6b9ee815af6026762dbc6681
parenta437ac1fb9f5f5204b9b3e98aceb360b566753f3
AX: HTML5 landmark (and related) elements should not be ignored.
https://bugs.webkit.org/show_bug.cgi?id=135116

Patch by Takeshi Kurosawa <taken.spc@gmail.com> on 2014-09-09
Reviewed by Chris Fleizach.

Make sure following element should not be ignored in computeAccessibilityIsIgnored
- header, aside, address, main, nav, article, section
- dt, dd

Source/WebCore:

Tests: platform/mac/accessibility/descriptionlist-not-ignored.html
       platform/mac/accessibility/landmark-not-ignored.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):

LayoutTests:

* platform/mac/accessibility/descriptionlist-not-ignored-expected.txt: Added.
* platform/mac/accessibility/descriptionlist-not-ignored.html: Added.
* platform/mac/accessibility/landmark-not-ignored-expected.txt: Added.
* platform/mac/accessibility/landmark-not-ignored.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@173428 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/accessibility/descriptionlist-not-ignored-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/accessibility/descriptionlist-not-ignored.html [new file with mode: 0644]
LayoutTests/platform/mac/accessibility/landmark-not-ignored-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/accessibility/landmark-not-ignored.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityRenderObject.cpp