Re: Firefox Accessibility Inspector reports placeholder attribute as eligible for accessible name

Brooks,
What is fuzzy is what constitutes a “label”. The definition is https://www.w3.org/TR/WCAG21/#dfn-labels and it is interpreted to include visual information that is present and makes it apparent what the input is for. For example - https://www.google.com – the “label” might be seen as the text on the adjacent button which reads “google search” or the magnifying glass button adjacent to your search input at https://www.thomsonreuters.com/en.html.


Thanks,
AWK

Andrew Kirkpatrick
Head of Accessibility
Adobe

akirkpat@adobe.com
http://twitter.com/awkawk


From: "Newton, Brooks (Legal)" <Brooks.Newton@thomsonreuters.com>
Date: Wednesday, August 8, 2018 at 10:42
To: Andrew Kirkpatrick <akirkpat@adobe.com>, Stefan Schnabel <stefan.schnabel@sap.com>, Patrick Lauke <redux@splintered.co.uk>
Cc: WCAG <w3c-wai-gl@w3.org>
Subject: RE: Firefox Accessibility Inspector reports placeholder attribute as eligible for accessible name

I’d like to know more about this WCAG requirement for visible labels…

I know that there is requirement for programmatically determinable labels, but not sure there is consensus that visible labels for inputs are specifically required as part of what is explicitly stated in WCAG.

Brooks

From: Andrew Kirkpatrick [mailto:akirkpat@adobe.com]
Sent: Wednesday, August 08, 2018 9:34 AM
To: Schnabel, Stefan <stefan.schnabel@sap.com>; Patrick H. Lauke <redux@splintered.co.uk>
Cc: w3c-wai-gl@w3.org
Subject: Re: Firefox Accessibility Inspector reports placeholder attribute as eligible for accessible name

Should this be exposed by the browser to the accessibility API as "foo" or not, if there's nothing else giving the input a programmatic name?

It should. But it violates WCAG requirement for VISIBLE label for input, so it is an authoring error, too.

For the record, there isn’t enough information to say whether this is a violation of WCAG. This certainly meets 4.1.2 (Name Role Value) but there isn’t enough information to say whether it also meets 2.4.6 (Headings and labels).

AWK

Received on Wednesday, 8 August 2018 15:22:47 UTC