WebKit ignores aria-hidden when traversing nodes for name calculation
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 2 Jun 2013 04:42:57 +0000 (04:42 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 2 Jun 2013 04:42:57 +0000 (04:42 +0000)
commitd70f14a9cc4a236c005097e816c18c89dfff9d8e
tree297b01ea3a6adfec34bf5b60387c54cdf405535c
parent004a11b2d058fa0b287bab3d338c0cf138d489d7
WebKit ignores aria-hidden when traversing nodes for name calculation
https://bugs.webkit.org/show_bug.cgi?id=117101

Reviewed by Tim Horton.

Source/WebCore:

When calculating the inner text, aria-hidden should be considered.

Test: accessibility/text-role-with-aria-hidden-inside.html

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::shouldUseAccessiblityObjectInnerText):

LayoutTests:

* accessibility/text-role-with-aria-hidden-inside-expected.txt: Added.
* accessibility/text-role-with-aria-hidden-inside.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/accessibility/text-role-with-aria-hidden-inside-expected.txt [new file with mode: 0644]
LayoutTests/accessibility/text-role-with-aria-hidden-inside.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityNodeObject.cpp