[whatwg] Placeholder option for text input boxes

Garrett Smith dhtmlkitchen at gmail.com
Tue Sep 30 07:57:45 PDT 2008


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
>



More information about the whatwg mailing list