Index: Source/modules/accessibility/AXNodeObject.cpp |
diff --git a/Source/modules/accessibility/AXNodeObject.cpp b/Source/modules/accessibility/AXNodeObject.cpp |
index 21bb286be61add52901ab5ba347ccb714d50dca6..99c7bfd08ee477952edc92541fee60bad230e538 100644 |
--- a/Source/modules/accessibility/AXNodeObject.cpp |
+++ b/Source/modules/accessibility/AXNodeObject.cpp |
@@ -92,6 +92,10 @@ static String accessibleNameForNode(Node* node) |
const AtomicString& alt = toHTMLElement(node)->getAttribute(altAttr); |
if (!alt.isEmpty()) |
return alt; |
+ |
+ const AtomicString& title = toHTMLElement(node)->getAttribute(titleAttr); |
+ if (!title.isEmpty()) |
+ return title; |
} |
return String(); |