WebCore:
[WebKit-https.git] / WebCore / ChangeLog
index 134b49e58b623079cc5c46d88cbb1947ff569eda..8da42084f18784a3383ee931295855afbfb4d5cc 100644 (file)
@@ -1,3 +1,34 @@
+2008-07-02  Beth Dakin  <bdakin@apple.com>
+
+        Reviewed by Darin.
+
+        Fix for <rdar://problem/6015523> Implement ARIA ranges/sliders
+        and
+        <rdar://problem/5934355> Need to implement ARIA role="spinbutton"
+
+        * page/AccessibilityObject.h:
+        (WebCore::AccessibilityObject::isSlider):
+        * page/AccessibilityRenderObject.cpp:
+        (WebCore::AccessibilityRenderObject::isSlider):
+        (WebCore::AccessibilityRenderObject::valueForRange):
+        (WebCore::AccessibilityRenderObject::maxValueForRange):
+        (WebCore::AccessibilityRenderObject::minValueForRange):
+        (WebCore::AccessibilityRenderObject::accessibilityIsIgnored): We 
+        were addressing the generic has-an-ARIA-role case too early here.
+        (WebCore::AccessibilityRenderObject::focusedUIElement): This is a 
+        bug I ran into while testing role='spinbutton', spinbutton is a 
+        role that can have an active descendant. But we were always trying 
+        to forward focus to the active descendant, even if one was not 
+        specified. 
+        (WebCore::AccessibilityRenderObject::shouldFocusActiveDescendant): 
+        'spinbutton' maps to ProgressIndicatorRole.
+        (WebCore::RoleEntry::):
+        (WebCore::AccessibilityRenderObject::canSetValueAttribute):
+        * page/AccessibilityRenderObject.h:
+        * page/mac/AccessibilityObjectWrapper.mm:
+        (-[AccessibilityObjectWrapper accessibilityAttributeNames]):
+        (-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
+
 2008-07-02  Dan Bernstein  <mitz@apple.com>
 
         Reviewed by Adam Roben.