Index: Source/modules/accessibility/AXNodeObject.cpp |
diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp |
index c54c21b8416688e2c093828e3b08d368ef39c708..e9445935c010a82c94d42c682a509a8d913ff829 100644 |
--- a/Source/modules/accessibility/AXNodeObject.cpp |
+++ b/Source/modules/accessibility/AXNodeObject.cpp |
@@ -258,6 +258,8 @@ AccessibilityRole AXNodeObject::determineAccessibilityRoleUtil() |
return DescriptionListRole; |
if (node()->isElementNode() && node()->hasTagName(blockquoteTag)) |
return BlockquoteRole; |
+ if (node()->isElementNode() && node()->hasTagName(captionTag)) |
+ return CaptionRole; |
if (node()->isElementNode() && node()->hasTagName(figcaptionTag)) |
return FigcaptionRole; |
if (node()->isElementNode() && node()->hasTagName(figureTag)) |