W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2013

[Bug 23608] Inconsistency between "placeholder" attribute and "placeholder label option"

From: <bugzilla@jessica.w3.org>
Date: Wed, 30 Oct 2013 17:31:36 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-23608-2486-Pta3cd6cfT@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23608

Adrian Roselli <roselli@algonquinstudios.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roselli@algonquinstudios.co
                   |                            |m

--- Comment #1 from Adrian Roselli <roselli@algonquinstudios.com> ---
The "placeholder" is a defined attribute that applies to the <input> element:
http://www.w3.org/html/wg/drafts/html/master/forms.html#the-placeholder-attribute

The <select> element has no corresponding attribute or feature, though rules
for a de facto place-keeping item are defined as a "placeholder label option,"
which is only referenced again from the <option> definition:
http://www.w3.org/html/wg/drafts/html/master/forms.html#placeholder-label-option

I think those rules mostly describe behavior in browsers today (and yesterday)
instead of laying out requirements. Users may still select it, though
validation routines may reject it.

To address your points:

1. I don't think there need to be any notes. The term is described strictly in
the context of the <select> and <option> elements, and links back to its inline
definition at each use. Moving it to a note can confuse the issue by possibly
causing readers to assume its scope has expanded.

2. I agree, the use of "placeholder" here is confusing, given its use as an
attribute elsewhere. Perhaps just this change?

"When there is no default option, a [placeholder label option] can be used
instead:"

And that links back to the definition within 4.10.9? Or perhaps something a bit
more robust:

"When there is no default option, a [value that provides instructions or a hint
(placeholder label option)] can be used instead:"

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 30 October 2013 17:31:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:45 UTC