Index: Source/core/accessibility/AXNodeObject.cpp |
diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp |
index e5010ac12a9fc8e7e9454aed3990a32448017339..6447c377132421db69c68ca492c06da2ddfbf1fb 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(figcaptionTag)) |
+ return FigcaptionRole; |
if (node()->isElementNode() && node()->hasTagName(figureTag)) |
return FigureRole; |
if (node()->isElementNode() && toElement(node())->isFocusable()) |