Index: Source/core/accessibility/AXNodeObject.cpp |
diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp |
index 3661aa9e3093b528247ac76b69b75a377cfb2a01..e6659a7168c0f5c49432e3e1ea5c815ab3772b8f 100644 |
--- a/Source/core/accessibility/AXNodeObject.cpp |
+++ b/Source/core/accessibility/AXNodeObject.cpp |
@@ -221,6 +221,8 @@ AccessibilityRole AXNodeObject::determineAccessibilityRole() |
return ParagraphRole; |
if (isHTMLLabelElement(*node())) |
return LabelRole; |
+ if (node()->isElementNode() && node()->hasTagName(figureTag)) |
+ return FigureRole; |
if (node()->isElementNode() && toElement(node())->isFocusable()) |
return GroupRole; |
if (isHTMLAnchorElement(*node()) && isClickable()) |