Index: Source/core/accessibility/AXRenderObject.cpp |
diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp |
index 8ee9d6547dc7c27e12223599572869565d9e5858..872cd1eb066051384e7aa4c3dfb2691253f5a435 100644 |
--- a/Source/core/accessibility/AXRenderObject.cpp |
+++ b/Source/core/accessibility/AXRenderObject.cpp |
@@ -280,6 +280,11 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole() |
return buttonRoleType(); |
if (isHTMLDetailsElement(node)) |
return DetailsRole; |
+ if (isHTMLSummaryElement(node)) { |
+ if (node->parentElement() && isHTMLDetailsElement(node->parentElement())) |
+ return DisclosureTriangleRole; |
+ return UnknownRole; |
+ } |
if (isHTMLLegendElement(node)) |
return LegendRole; |
if (m_renderer->isText()) |