AX: VoiceOver on iOS ignores aria-checked on menuitemradio and menuitemcheckbox
authorn_wang@apple.com <n_wang@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Aug 2016 22:25:17 +0000 (22:25 +0000)
committern_wang@apple.com <n_wang@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 24 Aug 2016 22:25:17 +0000 (22:25 +0000)
commitbcaf8976a396cafbd1858c81eb0e4f1eb35adb4b
tree3fb9b1ab3149cb8d3fdd6b50cca600596cc98195
parent4f2362c73c8aeca386cc3e40cb92dfd285d31ecf
AX: VoiceOver on iOS ignores aria-checked on menuitemradio and menuitemcheckbox
https://bugs.webkit.org/show_bug.cgi?id=161118

Reviewed by Chris Fleizach.

Source/WebCore:

Added checkboxOrRadioValue and toggle trait to menuitemradio and menuitemcheckbox.

Test: accessibility/ios-simulator/menuitem-checked.html

* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper accessibilityTraits]):
(-[WebAccessibilityObjectWrapper accessibilityValue]):

LayoutTests:

* accessibility/ios-simulator/menuitem-checked-expected.txt: Added.
* accessibility/ios-simulator/menuitem-checked.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@204938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/accessibility/ios-simulator/menuitem-checked-expected.txt [new file with mode: 0644]
LayoutTests/accessibility/ios-simulator/menuitem-checked.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.mm