This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17913 - Section title: "The placeholder attribute" "User agents should present this hint to the user, after having stripped line breaks from it, when the element's value is the empty string and the control is not focused (e.g. by displaying it inside a blank unfo
Summary: Section title: "The placeholder attribute" "User agents should present this h...
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 07:16 UTC by contributor
Modified: 2012-09-21 23:18 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2012-07-18 07:16:19 UTC
This was was cloned from bug 15953 as part of operation convergence.
Originally filed: 2012-02-10 18:48:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-02-10 18:48:02 +0000 
--------------------------------------------------------------------------------
Specification: http://www.w3.org/TR/html5/spec.html
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Section title: "The placeholder attribute"

"User agents should present this hint to the user, after having stripped line
breaks from it, when the element's value is the empty string and the control
is not focused (e.g. by displaying it inside a blank unfocused control)."

Usability would be improved if the wording was changed to ensure that the
placeholder remained visible when the control was focussed.

Placeholder text often contains information that is helpful to the user when
filling out the control. This should remain visible until the last possible
moment (i.e. when the user starts typing.)

Suggested rewording:

"User agents should present this hint to the user, after having stripped line
breaks from it, when the element's value is the empty string (e.g. by
displaying it inside a blank unfocused control)."

Posted from: 81.100.168.129
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7
================================================================================
 #1   Masataka Yakura                                 2012-02-14 15:00:45 +0000 
--------------------------------------------------------------------------------
This was fixed in http://html5.org/r/6782 . Now that implementations can display placeholder text upon focus. Chrome and Safari have already behaved as you describe.
================================================================================