Re: added note warning about use of placeholder as a label

Hi Jay, Mallory

I have updated the note after reviewing your feedback

now reads [1]:

Use of the placeholder attribute as a replacement for a label can reduce
> the accessibility and usability of the control for a range of users
> including older users and users with cognitive, mobility, fine motor skill
> or vision impairments. While the hint given by the control's label is
> shown at all times; the short hint given in the placeholder attribute is
> only shown before the user enters a value. Furthermore, placeholder text
> may be mistaken for a pre filled value, and as commonly implemented the
> default color of the placeholder text provides insufficient contrast and
> the lack of a separate visible label reduces the size of the hit region
> available for setting focus on the control.
>

further feedback welcome!

[1]
http://www.w3.org/html/wg/drafts/html/master/forms.html#the-placeholder-attribute

regards
SteveF

On 25 February 2013 23:39, Steve Faulkner <faulkner.steve@gmail.com> wrote:

> thanks to you both. I will update the note taking into account your
> feedback.
>
> regards
> SteveF
>
>
> On 25 February 2013 23:37, Mallory van Achterberg <
> stommepoes@stommepoes.nl> wrote:
>
>> On Tue, Feb 26, 2013 at 12:06:33AM +0000, Jay Munro wrote:
>> > --- suggestion
>> > Note: The placeholder<
>> http://www.w3.org/html/wg/drafts/html/master/forms.html#attr-input-placeholder>
>> attribute should not be used as a replacement for a label<
>> http://www.w3.org/html/wg/drafts/html/master/forms.html#the-label-element>
>> because the placeholder text disappears when the field gets focus. This can
>> reduce accessibility and usability of the input control for users who view
>> documents using screen readers or other assistive technology, or need a
>> little more time to see a prompt.
>>
>> Not only because the placeholder text disappears. Some users may never
>> see the light-grey-on-white placeholder, some users of AT may never hear
>> it, we lose the larger clickable area labels offer, and users may see
>> placeholders as default values and consider them pre-filled and skip them
>> without closer look.
>>
>> Examples of more reasons.
>>
>> --Mallory
>>
>
>
>
> <http://www.paciellogroup.com/resources/wat-ie-about.html>
>

Received on Wednesday, 27 February 2013 08:05:00 UTC