Index: Source/core/accessibility/AXRenderObject.cpp |
diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp |
index e747c56d2953741908cd7aa966acd576f6d55b27..3a6c45b7e48aa3d03685fef75879044ec81cdb00 100644 |
--- a/Source/core/accessibility/AXRenderObject.cpp |
+++ b/Source/core/accessibility/AXRenderObject.cpp |
@@ -389,6 +389,9 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole() |
if (isEmbeddedObject()) |
return EmbeddedObjectRole; |
+ if (node && node->hasTagName(figcaptionTag)) |
+ return FigcaptionRole; |
+ |
if (node && node->hasTagName(figureTag)) |
return FigureRole; |