Index: Source/core/accessibility/AXNodeObject.cpp |
diff --git a/Source/core/accessibility/AXNodeObject.cpp b/Source/core/accessibility/AXNodeObject.cpp |
index fa59758de580dea50ab555dffcddfbc70333931b..df7e9641f322296052ad3cbcf460aa70845d00c3 100644 |
--- a/Source/core/accessibility/AXNodeObject.cpp |
+++ b/Source/core/accessibility/AXNodeObject.cpp |
@@ -1620,7 +1620,7 @@ String AXNodeObject::alternativeTextForWebArea() const |
Node* owner = document->ownerElement(); |
if (owner) { |
- if (isHTMLFrameElement(*owner) || isHTMLIFrameElement(*owner)) { |
+ if (isHTMLFrameElementBase(*owner)) { |
const AtomicString& title = toElement(owner)->getAttribute(titleAttr); |
if (!title.isEmpty()) |
return title; |