W3C home > Mailing lists > Public > w3c-wai-gl@w3.org > October to December 2014

Re: Placeholder behavior

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Tue, 7 Oct 2014 15:38:06 +0100
Message-ID: <CA+ri+VkP2M7jW3hRMvhNkd9bPk2Ogn=1e2C=N0n=R6+47xcgXA@mail.gmail.com>
To: Sailesh Panchang <spanchang02@yahoo.com>
Cc: Andrew Kirkpatrick <akirkpat@adobe.com>, Alastair Campbell <acampbell@nomensa.com>, Web Content Accessibility Guidelines Working Group <w3c-wai-gl@w3.org>
On 7 October 2014 14:47, Sailesh Panchang <spanchang02@yahoo.com> wrote:

> The present algorithm  does refer to attributes like alt, title,
> aria-label, aria-labelledby and the HTML label explicitly. The
> "placeholder" attribute which was in the list earlier is the only one that
> has been stripped out.

the doc is an editors draft, the work is ongoing

> The email that started this thread alluded to the HTML5 specs and the
> accessibility barriers documented there. It says the placeholder is meant
> to  provide a hint / advisory text and clearly is not a substitute for the
> label. So I do not understand the rationale for its inclusion in accessible
> name calculation. It is alright for accessible description at best. And it
> fails SC 3.3.2 for sure simply because the placeholder is not a label.

The rationale for inclusion as an accessible name is that it is was
browsers implement, like the title attribute which is not meant to be used
as an accessible name but as an accessible description, but does get used
as fallback accessible name when other sources are not available.

> Yet, like H65, the placeholder  may be used for single field forms like
> the search form or say for multi-part  fields like phone# or SSN provided
> there is a common label like a legend. When a title is used in these
> situations, SC 3.3.2 is not flagged. If it is a fallback for accessible
> name in these limited circumstances, it might help to include such examples
> following the algorithm.
> I do not agree that it is okay to use it for login forms for user name and
> password.

I am not, and have not implied that it is OK or not OK for WCAG conformance.



HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
Received on Tuesday, 7 October 2014 14:39:13 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 16 January 2018 15:34:16 UTC