• bdakin@apple.com's avatar
    2008-05-13 Beth Dakin <bdakin@apple.com> · 7c100313
    bdakin@apple.com authored
            Reviewed by Brady.
    
            This patch adds support for the ARIA progressbar role and the 
            following ARIA states (ie HTML attributes): aria-checked, aria-
            level, aria-pressed, aria-valuenow, aria-valuemin, and aria-
            valuemax.
    
            * html/HTMLAttributeNames.in:
            * page/AccessibilityObject.h:
            (WebCore::AccessibilityObject::isProgressIndicator):
            (WebCore::AccessibilityObject::valueForRange):
            (WebCore::AccessibilityObject::maxValueForRange):
            (WebCore::AccessibilityObject::minValueForRange):
            * page/AccessibilityRenderObject.cpp:
            (WebCore::AccessibilityRenderObject::isProgressIndicator):
            (WebCore::AccessibilityRenderObject::isPressed): Check the aria-
            pressed attribute if this is an ARIA button.
            (WebCore::AccessibilityRenderObject::headingLevel): Check the aria-
            level attribute if this is an ARIA heading.
            (WebCore::AccessibilityRenderObject::intValue): Check the aria-
            checked attribute if this is an ARIA radio button or checkbox.
            (WebCore::AccessibilityRenderObject::valueForRange):
            (WebCore::AccessibilityRenderObject::maxValueForRange):
            (WebCore::AccessibilityRenderObject::minValueForRange):
            (WebCore::RoleEntry::):
            (WebCore::AccessibilityRenderObject::canSetValueAttribute):
            * page/AccessibilityRenderObject.h:
            * page/mac/AccessibilityObjectWrapper.mm:
            (-[AccessibilityObjectWrapper accessibilityAttributeNames]):
            (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@33465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7c100313
ChangeLog 2.48 MB