Bug 43598

Summary: AX: Placeholder value for text fields not exposed like it should be
Product: WebKit Reporter: chris fleizach <cfleizach>
Component: AccessibilityAssignee: chris fleizach <cfleizach>
Status: RESOLVED FIXED    
Severity: Normal CC: bdakin, ddkilzer
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch ddkilzer: review+, ddkilzer: commit-queue-

Description chris fleizach 2010-08-05 17:35:01 PDT
When a textfield has placeholder text, it should be exposed through kAXPlaceholderValue
Comment 1 chris fleizach 2010-08-05 17:39:31 PDT
Created attachment 63669 [details]
Patch
Comment 2 chris fleizach 2010-08-09 09:32:00 PDT
kAXPlaceholderValue is only defined on 10.6 however, so we need to also define it
Comment 3 David Kilzer (:ddkilzer) 2010-08-09 16:38:01 PDT
Comment on attachment 63669 [details]
Patch

LayoutTests/accessibility/placeholder.html:19
 +              description("This test makes sure that the placeholder is returned as the right attribute");

I would prefer "correct" instead of "right" here to make it clear it's a correct/incorrect issue and not a left/right issue.  :)

r=me
Comment 4 chris fleizach 2010-08-09 16:46:05 PDT
thanks!
http://trac.webkit.org/changeset/65016