AX: <details> element should allow expand/close through AX API
[WebKit-https.git] / Source / WebCore / accessibility / AccessibilityObject.cpp
index e7c6fcb..c422bad 100644 (file)
@@ -2041,6 +2041,8 @@ bool AccessibilityObject::supportsPressAction() const
 {
     if (isButton())
         return true;
+    if (roleValue() == DetailsRole)
+        return true;
     
     Element* actionElement = this->actionElement();
     if (!actionElement)