Skip to content
  • cfleizach@apple.com's avatar
    WebCore: · 2365e885
    cfleizach@apple.com authored
    2009-08-04  Chris Fleizach  <cfleizach@apple.com>
    
            Reviewed by Darin Adler.
    
            Bug 27993 - AXSliders are missing required attributes and actions
            https://bugs.webkit.org/show_bug.cgi?id=27993
    
            Expose appropriate actions and attributes for sliders.
    
            Test: platform/mac/accessibility/slider-supports-actions.html
    
            * accessibility/AccessibilityObject.cpp:
            (WebCore::AccessibilityObject::orientation):
            * accessibility/AccessibilityObject.h:
            (WebCore::):
            * accessibility/AccessibilitySlider.cpp:
            (WebCore::AccessibilitySlider::orientation):
            * accessibility/AccessibilitySlider.h:
            * accessibility/mac/AccessibilityObjectWrapper.mm:
            (-[AccessibilityObjectWrapper accessibilityActionNames]):
            (-[AccessibilityObjectWrapper accessibilityAttributeNames]):
            (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
    
    WebKitTools:
    
    2009-08-04  Chris Fleizach  <cfleizach@apple.com>
    
            Reviewed by Darin Adler.
    
            Bug 27993 - AXSliders are missing required attributes and actions
            https://bugs.webkit.org/show_bug.cgi?id=27993
    
            Add ability to check if any arbitrary action is supported.
    
            * DumpRenderTree/AccessibilityUIElement.cpp:
            (isActionSupportedCallback):
            (AccessibilityUIElement::getJSClass):
            * DumpRenderTree/AccessibilityUIElement.h:
            * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
            (AccessibilityUIElement::isActionSupported):
            * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
            (AccessibilityUIElement::isActionSupported):
    
    LayoutTests:
    
    2009-08-04  Chris Fleizach  <cfleizach@apple.com>
    
            Reviewed by Darin Adler.
    
            Bug 27993 - AXSliders are missing required attributes and actions
            https://bugs.webkit.org/show_bug.cgi?id=27993
    
            Update tests to use more generic isActionSupported.
    
            * accessibility/aria-link-supports-press.html:
            * accessibility/button-press-action.html:
            * accessibility/onclick-handlers.html:
            * platform/mac/accessibility/slider-supports-actions-expected.txt: Added.
            * platform/mac/accessibility/slider-supports-actions.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    2365e885