AX: Expose invalid status for input types with that information
authorn_wang@apple.com <n_wang@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Oct 2016 00:11:40 +0000 (00:11 +0000)
committern_wang@apple.com <n_wang@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 11 Oct 2016 00:11:40 +0000 (00:11 +0000)
commitdcff7b5632c8a906f6d985132ce5939e894dce76
treeef4d80623a26b79546a7bc01ea5a86dfea738ad0
parent63ac4fbf3fd31cca7c54febe374c9085ea268783
AX: Expose invalid status for input types with that information
https://bugs.webkit.org/show_bug.cgi?id=163252
<rdar://problem/28704409>

Reviewed by Chris Fleizach.

Source/WebCore:

For input types with invalid input value, we should expose the invalid
status to the assitive technology.

Test: accessibility/mac/invalid-status-for-input-types.html

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::invalidStatus):

LayoutTests:

* accessibility/mac/invalid-status-for-input-types-expected.txt: Added.
* accessibility/mac/invalid-status-for-input-types.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@207035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/accessibility/mac/invalid-status-for-input-types-expected.txt [new file with mode: 0644]
LayoutTests/accessibility/mac/invalid-status-for-input-types.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityObject.cpp