Bug 91763 - WebKit should pass <title> element value as the default description for web views
Summary: WebKit should pass <title> element value as the default description for web v...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: chris fleizach
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-07-19 10:55 PDT by chris fleizach
Modified: 2012-07-19 15:56 PDT (History)
0 users

See Also:


Attachments
patch (7.84 KB, patch)
2012-07-19 11:00 PDT, chris fleizach
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chris fleizach 2012-07-19 10:55:37 PDT
WebKit should pass <title> element value as the default AXTitle for web views

* STEPS TO REPRODUCE
1. Load any web page.
2. View the AXWebArea in AX Inspector.

* RESULTS
AXTitle is empty, but there is a web standard default title for web pages: the <title> element.
Comment 1 chris fleizach 2012-07-19 10:55:44 PDT
rdar://11232502
Comment 2 chris fleizach 2012-07-19 11:00:41 PDT
Created attachment 153309 [details]
patch
Comment 3 Anders Carlsson 2012-07-19 11:59:21 PDT
Comment on attachment 153309 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=153309&action=review

> Source/WebCore/accessibility/AccessibilityRenderObject.cpp:1435
> +    Element* documentElement = document->documentElement();
> +    if (documentElement) {

You can just move the variable declaration inside of the if check here.
Comment 4 chris fleizach 2012-07-19 15:56:13 PDT
http://trac.webkit.org/changeset/123157