Index: Source/core/accessibility/AXRenderObject.cpp |
diff --git a/Source/core/accessibility/AXRenderObject.cpp b/Source/core/accessibility/AXRenderObject.cpp |
index a75edbf02cb27d70f5b6d222ca76365f6d4ab889..34021d7cbecbac24630b87ecfcf8495eb4969abc 100644 |
--- a/Source/core/accessibility/AXRenderObject.cpp |
+++ b/Source/core/accessibility/AXRenderObject.cpp |
@@ -390,6 +390,9 @@ AccessibilityRole AXRenderObject::determineAccessibilityRole() |
if (isHTMLHtmlElement(node)) |
return IgnoredRole; |
+ if (node && node->hasTagName(iframeTag)) |
+ return IframeRole; |
+ |
// There should only be one banner/contentInfo per page. If header/footer are being used within an article or section |
// then it should not be exposed as whole page's banner/contentInfo |
if (node && node->hasTagName(headerTag) && !isDescendantOfElementType(articleTag) && !isDescendantOfElementType(sectionTag)) |