diff options
Diffstat (limited to 'webkit/glue/webaccessibility.cc')
-rw-r--r-- | webkit/glue/webaccessibility.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/glue/webaccessibility.cc b/webkit/glue/webaccessibility.cc index 38b1cfd..2e75f19 100644 --- a/webkit/glue/webaccessibility.cc +++ b/webkit/glue/webaccessibility.cc @@ -314,6 +314,8 @@ void WebAccessibility::Init(const WebKit::WebAccessibilityObject& src, if (role == WebAccessibility::ROLE_DOCUMENT || role == WebAccessibility::ROLE_WEB_AREA) { WebKit::WebDocument document = src.document(); + if (name.empty()) + name = document.title(); attributes[ATTR_DOC_TITLE] = document.title(); attributes[ATTR_DOC_URL] = document.frame()->url().spec().utf16(); if (document.isXHTMLDocument()) |