W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2008

[whatwg] Placeholder option for text input boxes

From: Garrett Smith <dhtmlkitchen@gmail.com>
Date: Tue, 30 Sep 2008 07:57:45 -0700
Message-ID: <c9e12660809300757x1f3f835cy883ac7ca6773dd25@mail.gmail.com>
On Tue, Sep 30, 2008 at 12:37 AM, Benjamin Hawkes-Lewis
<bhawkeslewis at googlemail.com> wrote:
> Garrett Smith wrote:
>>
>> |placeholder| sounds a little like |alt|. Alt is a property and an
>> attribute on INPUT.
>
> How is placeholder content for a form field alternative text?
>

If and until user enters text, the "alternate" text is displayed.

The confusing part is that successfully rendered inputs would be
rendered and still use the alt.

The good part is that it would be (or should be) accessible for screen readers.

> --
> Benjamin Hawkes-Lewis
>
Received on Tuesday, 30 September 2008 07:57:45 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:05 UTC