WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: WCAG 2.1 SC 1.3.5 Identify Input Purpose - TestingMethodology

for

From: Jared Smith
Date: Sep 27, 2018 11:16AM


Mark Rogers wrote:

> Doesn't the failure only happen when the input field purpose matches one of the input purposes listed:
> https://www.w3.org/TR/WCAG21/#input-purposes

Yes, and only when collecting information directly from and about the
user completing the form.

This makes it a bit difficult to test this automatically. It's
difficult to surmise whether a form is collecting information about
THE user vs. information about SOME OTHER user. This SC would only
apply to the former.

> I don't think autocomplete='on' counts as a pass, because ‘on' is the default if autocomplete is not specified, and means user agents use heuristics to guess the input type which seems at odds with the SC.

Correct. This would not provide the level of field purpose
identification necessary for this success criterion.

> I think having more documented successes and failures would help clarify this.

Yep. I know the documentation for this is still in the works.

For what it's worth, I agree with Patrick's assessment of the examples
you provided.

Jared