- From: <bugzilla@jessica.w3.org>
- Date: Fri, 03 Jun 2011 01:26:02 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=12868
Summary: Allow placeholder for color, date+, and number types
Product: HTML WG
Version: unspecified
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: minor
Priority: P2
Component: HTML WG website
AssignedTo: dave.null@w3.org
ReportedBy: rasamassen@gmail.com
QAContact: public-html-bugzilla@w3.org
CC: mjs@apple.com, Paul.Cotton@microsoft.com,
rubys@intertwingly.net, mike@w3.org
Per the definition
(http://dev.w3.org/html5/spec/common-input-element-attributes.html#attr-input-placeholder):
The placeholder attribute represents a short hint (a word or short phrase)
intended to aid the user with data entry. A hint could be a sample value or a
brief description of the expected format.
Dates, numbers, and colors could use placeholders as well to display a brief
description of the expected format.
Reasoning: Because users aren't as smart as computers; for the date type, a
placeholder of "##-##-####" or whatever format is expected by the date input
would make a lot of sense.
<fieldset>
<legend>Mail Account</legend>
<p><label>Color: <input type="color" name="hex-value" placeholder="Example:
#000000"></label></p>
<p><label>Time: <input type="time" name="hours-and-seconds"
placeholder="##:##:##"></label></p>
<p><label>Time: <input type="time" name="hours-and-seconds"
placeholder="Military format"></label></p>
<p><label>A large number: <input type="number" name="big" min="1000000"
placeholder="94520318359"></label></p>
</fieldset>
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 3 June 2011 01:26:03 UTC