WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: WCAG 2.1 SC 1.3.5 Identify Input Purpose - TestingMethodology

for

From: Sailesh Panchang
Date: Nov 2, 2018 7:15AM


For SC 1.3.5, the Understanding doc states:
"By adopting and repurposing this predefined taxonomy of definitions,
user agents and assistive technologies can now present the purpose of
the inputs to users in different modalities. For example, assistive
technologies may display familiar icons next to input fields to help
users who have difficulties reading. An icon of a birthday cake may be
shown in front of an input field with autocomplete="bday", or the icon
of a telephone in front of an input field with autocomplete="tel"".

The HTML 5.2 specs do not require user agents or assistive
technologies to use different modalities to elaborate the control's
purpose.
The autocomplete attribute's primary purpose is to enable browsers
perform autofill as per the HTML 5 specs.

So the use of the phrase, "adopting and repurposing " in the above
statement is very significant.
Till such time that user agents or assistive technologies really
exploit the taxonomy defined by autocomplete, the mere use of the
autocomplete attribute does little to enhance accessibility as
intended. In other words, it is not AT-supported at present.
Secondly, when user agents / assistive technologies do start
displaying familiar icons next to input fields as suggested in the
above statement, will it not help if the familiar icons are displayed
next to other date or phone number fields on the page even though they
do not relate to the particular user filling out the form? Developers
may think it it will be a disservice if they do so for some fields and
not for others on the page regardless of what the SC mandates.

The Understanding doc also acknowledges, "For some input fields, the
type attribute already offers a way to specify the purpose, for
example, input type="tel", input type="email". ... these are only
very broad categories, ... does not clarify if the purpose is for
entering the user's e-mail address or some other person's e-mail".
Does this same argument not apply to autocomplete types like name,
given-name, bday, etc.?

The HTML 5.2 guidance on the topic is relevant:
The autocomplete attribute, in contrast, describes what the value that
the user will enter actually represents. Choosing between different
values of this attribute is the same choice as choosing what the label
for the element will be".

Thanks,
Sailesh panchang

On 11/1/18, Jared Smith < <EMAIL REMOVED> > wrote:
> John -
>
> If I'm understanding the issue correctly, here's a scenario (though,
> admittedly, a bit of an edge case)...
>
> Someone is completing an online form to request a background check and the
> form has several fields where the user is asked to enter all of their known
> "given" or "first" names - any name by which they may be known. Giving all
> of these fields an autocomplete attribute would lend itself to incorrect
> entry. But NOT giving all of the fields autocomplete would be a WCAG
> failure. So which is the proper approach?
>
> Jared
> > > > >


--
Sailesh Panchang
Principal Accessibility Consultant
Deque Systems Inc
Phone 703-225-0380 ext 105
Mobile: 571-344-1765