Index: Source/core/accessibility/AXNodeObject.cpp |
diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp |
index f560903f6e4259d094c51aeb59bf44cfd9f128b8..34c1230cd4d494dc4864058f43f7edffccbb22fe 100644 |
--- a/Source/core/accessibility/AXNodeObject.cpp |
+++ b/Source/core/accessibility/AXNodeObject.cpp |
@@ -193,6 +193,12 @@ AccessibilityRole AXNodeObject::determineAccessibilityRole() |
return buttonRoleType(); |
if (isHTMLDetailsElement(*node())) |
return DetailsRole; |
+ if (isHTMLSummaryElement(*node())) { |
+ if (node()->parentNode() && isHTMLDetailsElement(node()->parentNode())) |
+ return DisclosureTriangleRole; |
+ return UnknownRole; |
+ } |
+ |
if (isHTMLInputElement(*node())) { |
HTMLInputElement& input = toHTMLInputElement(*node()); |
const AtomicString& type = input.type(); |