Bug 148970

Summary: AX: ARIA 1.1 @aria-placeholder
Product: WebKit Reporter: Nan Wang <n_wang>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aboxhall, apinheiro, cfleizach, commit-queue, dmazzoni, esprehn+autocc, gyuyoung.kim, jcraig, jdiggs, mario, n_wang, samuel_white, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
patch none

Description Nan Wang 2015-09-08 10:58:49 PDT
Add support for ARIA 1.1 attribute 'aria-placeholder'.
http://www.w3.org/TR/wai-aria-1.1/#aria-placeholder

Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value. A hint could be a sample value or a brief description of the expected format.
Comment 1 Radar WebKit Bug Importer 2015-09-08 11:29:41 PDT
<rdar://problem/22613822>
Comment 2 Nan Wang 2015-10-06 17:47:43 PDT
Created attachment 262563 [details]
patch

There's already a placeholderValue() function to get the value from placeholder attribute. Not sure the difference between placeholder and aria-placeholder from the spec. The logic for the patch is to get the value from aria-placeholder first, if not then check placeholder attribute.
Comment 3 WebKit Commit Bot 2015-10-07 11:18:28 PDT
Comment on attachment 262563 [details]
patch

Clearing flags on attachment: 262563

Committed r190674: <http://trac.webkit.org/changeset/190674>
Comment 4 WebKit Commit Bot 2015-10-07 11:18:33 PDT
All reviewed patches have been landed.  Closing bug.