AX: no accessibility support for details element
[WebKit-https.git] / Source / WebCore / ChangeLog
index dc548a4..aab0266 100644 (file)
@@ -1,3 +1,37 @@
+2015-06-15  Chris Fleizach  <cfleizach@apple.com>
+
+        AX: no accessibility support for details element
+        https://bugs.webkit.org/show_bug.cgi?id=131111
+
+        Reviewed by Darin Adler.
+
+        Add accessibility support for Mac for details element by:
+           1) Returning new subroles for <details> and <summary>
+           2) Exposing isExpanded property for <details> element.
+
+        Test: platform/mac/accessibility/details-summary.html
+
+        * accessibility/AccessibilityObject.cpp:
+        (WebCore::AccessibilityObject::supportsARIAPressed):
+        (WebCore::AccessibilityObject::supportsExpanded):
+        (WebCore::AccessibilityObject::isExpanded):
+        (WebCore::AccessibilityObject::supportsARIAExpanded): Deleted.
+        * accessibility/AccessibilityObject.h:
+        (WebCore::AccessibilityObject::canvasHasFallbackContent):
+        * accessibility/AccessibilityRenderObject.cpp:
+        (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
+        (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
+        * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
+        (-[WebAccessibilityObjectWrapper accessibilitySupportsARIAExpanded]):
+        (-[WebAccessibilityObjectWrapper accessibilityIsExpanded]):
+        * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
+        (-[WebAccessibilityObjectWrapper additionalAccessibilityAttributeNames]):
+        (createAccessibilityRoleMap):
+        (-[WebAccessibilityObjectWrapper subrole]):
+        * html/HTMLDetailsElement.h:
+        * inspector/InspectorDOMAgent.cpp:
+        (WebCore::InspectorDOMAgent::buildObjectForAccessibilityProperties):
+
 2015-06-15  Alex Christensen  <achristensen@webkit.org>
 
         [Content Extensions] Limit number of rules.