AX: iOS ignores ARIA progressbar elements
authorcfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Jun 2013 16:27:16 +0000 (16:27 +0000)
committercfleizach@apple.com <cfleizach@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 6 Jun 2013 16:27:16 +0000 (16:27 +0000)
commitfa5d9de4970388482e3ca4ab3d9da9bd8a4a04a7
tree957640be6ec9f51d3c31b3ffd2b510b4b4578cb2
parentaa50bac13596363506dd457cb7035a6f870925bc
AX: iOS ignores ARIA progressbar elements
https://bugs.webkit.org/show_bug.cgi?id=116727

Reviewed by David Kilzer.

Source/WebCore:

Make this an accessible element on iOS.

Test: platform/iphone-simulator/accessibility/progressbar.html

* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper determineIsAccessibilityElement]):
(-[WebAccessibilityObjectWrapper _accessibilityMinValue]):
(-[WebAccessibilityObjectWrapper _accessibilityMaxValue]):

Tools:

* DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
(AccessibilityUIElement::minValue):
(AccessibilityUIElement::maxValue):

LayoutTests:

* platform/iphone-simulator/accessibility/progressbar-expected.txt: Added.
* platform/iphone-simulator/accessibility/progressbar.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/iphone-simulator/accessibility/progressbar-expected.txt [new file with mode: 0644]
LayoutTests/platform/iphone-simulator/accessibility/progressbar.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm
Tools/ChangeLog
Tools/DumpRenderTree/ios/AccessibilityUIElementIOS.mm