[whatwg] Placeholder option for text input boxes

On Fri, Oct 3, 2008 at 8:05 AM, Tab Atkins Jr. <jackalmage at gmail.com> wrote:
> On Fri, Oct 3, 2008 at 9:32 AM, Garrett Smith <dhtmlkitchen at gmail.com>
> wrote:
>>
>> On Thu, Oct 2, 2008 at 4:34 PM, Tab Atkins Jr. <jackalmage at gmail.com>
>> wrote:
>> > On Thu, Oct 2, 2008 at 6:27 PM, Brenton Strine
>> > <Brenton.Strine at citrix.com>
>> > wrote:
>> >>
>> >> On Tue, Sep 30, 2008 at 11:36 AM, Andy Lyttle <whatwg at phroggy.com>
>> >> wrote:
>>


>> > iota.  This leans me even more toward a CSS solution.  I'll just bite
>> > the
>> > bullet and bring it up to the CSS WG.
>> >
>>
>> Are you proposing that placeholder could be a positioned object, such
>> as an image?
>
> Not entirely sure what you're suggesting here, but maybe?

I feel the same way about what you wrote. (?)

> My suggestion was
> put forward up above - I would prefer if the placeholder text was replaced
> content.  You set a CSS rule (haven't decided the best way to handle this
> yet) that suppresses the display of a label and instead uses the textual
> content of the label as a placeholder.
>

A <label> element?

> Using an image as a placeholder is interesting, though.

Designers propose all sorts of things.

I know that Google
> custom search does that sometimes.

Google does all sorts of things, too.

And Yahoo, too.

>However, I'm fine with leaving that to
> Javascript for now, as image placeholders aren't an accessibility concern
> like the placeholder-instead-of-label issue is.  As well, it's still a
> minority technique compared to text placeholders.
>

> ~TJ
>

Received on Friday, 3 October 2008 08:37:42 UTC