An element with role=textbox should have settable AXValue unless read-only
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Aug 2011 06:35:56 +0000 (06:35 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Aug 2011 06:35:56 +0000 (06:35 +0000)
commit1a369c13885f378a88a057d0f399e20ebb64547d
tree143e78bfb9fd313540e99e3a1554b0952826c059
parentd1981e2b3adadc241e1bb99aec35b16f4fe0f203
An element with role=textbox should have settable AXValue unless read-only
https://bugs.webkit.org/show_bug.cgi?id=65664

Patch by Alice Boxhall <aboxhall@chromium.org> on 2011-08-03
Reviewed by Chris Fleizach.

Source/WebCore:

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::canSetValueAttribute):
Return true for non-native text field with aria-readonly not set.

LayoutTests:

* accessibility/aria-readonly-expected.txt:
* accessibility/aria-readonly.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@92352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/accessibility/aria-readonly-expected.txt
LayoutTests/accessibility/aria-readonly.html
Source/WebCore/ChangeLog
Source/WebCore/accessibility/AccessibilityRenderObject.cpp