Bug 148970 - AX: ARIA 1.1 @aria-placeholder
Summary: AX: ARIA 1.1 @aria-placeholder
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-09-08 10:58 PDT by Nan Wang
Modified: 2015-10-07 11:18 PDT (History)
13 users (show)

See Also:


Attachments
patch (4.39 KB, patch)
2015-10-06 17:47 PDT, Nan Wang
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.