Skip to content
  • eric@webkit.org's avatar
    2010-01-05 Dominic Mazzoni <dmazzoni@google.com> · a94c262f
    eric@webkit.org authored
            Reviewed by Darin Adler.
    
            https://bugs.webkit.org/show_bug.cgi?id=32571
    
            Added a test to make sure that ARIA checkboxes correctly handle the aria-checked attribute.
    
            * accessibility/aria-checkbox-checked-expected.txt: Added.
            * accessibility/aria-checkbox-checked.html: Added.
    2010-01-05  Dominic Mazzoni  <dmazzoni@google.com>
    
            Reviewed by Darin Adler.
    
            https://bugs.webkit.org/show_bug.cgi?id=32571
    
            For an object with an aria role of "checkbox" or "radiobutton",
            Use the "aria-checked" attribute to determine if it's checked.
    
            Test: accessibility/aria-checkbox-checked.html
    
            * accessibility/AccessibilityRenderObject.cpp:
            (WebCore::AccessibilityRenderObject::isChecked):
    2010-01-05  Dominic Mazzoni  <dmazzoni@google.com>
    
            Reviewed by Darin Adler.
    
            https://bugs.webkit.org/show_bug.cgi?id=32571
    
            For an object with an aria role of "checkbox" or "radiobutton",
            use the "aria-checked" attribute to determine if it's checked.
            These changes add an isChecked() method to AccessibilityUIElement
            so that we can check for this property from a layout test.
    
            * DumpRenderTree/AccessibilityUIElement.cpp:
            (getIsCheckedCallback):
            (AccessibilityUIElement::getJSClass):
            * DumpRenderTree/AccessibilityUIElement.h:
            * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
            (AccessibilityUIElement::isChecked):
            * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
            (AccessibilityUIElement::isChecked):
            * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
            (AccessibilityUIElement::isChecked):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    a94c262f