Send an AXCheckedStateChanged notification when the aria-checked attribute changes.
https://bugs.webkit.org/show_bug.cgi?id=72754

Patch by David Tseng <[email protected]> on 2011-12-02
Reviewed by Chris Fleizach.

Source/WebCore:

Test: accessibility/aria-checkbox-sends-notification.html

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::checkedStateChanged):
* accessibility/AXObjectCache.h:
* dom/Element.cpp:
(WebCore::Element::updateAfterAttributeChanged):
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::setChecked):

LayoutTests:

* accessibility/aria-checkbox-sends-notification.html: Added.
* platform/chromium/accessibility/aria-checkbox-sends-notification-expected.txt: Added.

git-svn-id: svn://svn.chromium.org/blink/trunk@101855 bbb929c8-8fbe-4397-9dbb-9b2b20218538
11 files changed
tree: 1614e8c39044c1f6ff15452ad6f3d5f7f5b74f13
  1. third_party/