WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Placeholder instead of explicit label?

for

From: Jonathan Avila
Date: Jan 5, 2015 8:27AM


> > I know that using a TITLE attribute is a sufficient technique,

> [Yucca wrote] It isn't. The great majority of users will not perceive anything in the TITLE attribute, unless they mouse over the field.

In my opinion title would pass SC 1.3.1 and SC 4.1.2 but not SC 3.3.2. That is -- it could be used as an accessible name but it is not a substitute for a visual label or instructions.

Jonathan

-- 
Jonathan Avila 
Chief Accessibility Officer
SSB BART Group 
<EMAIL REMOVED>
Phone 703.637.8957  
Follow us: Facebook | Twitter | LinkedIn | Blog | Newsletter


-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ] On Behalf Of Jukka K. Korpela
Sent: Monday, January 05, 2015 10:20 AM
To: <EMAIL REMOVED>
Subject: Re: [WebAIM] Placeholder instead of explicit label?

2015-01-05, 17:08, Lynn Holdsworth wrote:

> Is using a PLACEHOLDER attribute instead of a <label> tag enough to
> satisfy WCAG2?

No. Even the HTML5 spefication, which defines the attribute, expresses rather strongly that it should not be used as a replacement for a label.

> I know that using a TITLE attribute is a sufficient technique,

It isn't. The great majority of users will not perceive anything in the TITLE attribute, unless they mouse over the field.

Yucca