WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: WCAG 2.1 SC 1.3.5 Identify Input Purpose - TestingMethodology

for

From: Patrick H. Lauke
Date: Sep 27, 2018 3:27AM


On 27/09/2018 10:22, Mark Rogers wrote:
[...]
> I think having more documented successes and failures would help clarify this.

Agree.

> Is this password reset form with old and new passwords without autocomplete a fail of this SC?
> <form>
> <label>Old Password: <input type="password" name="old_password" ></label>
> <label>New Password: <input type="password" name="new_password" ></label>
> </form>

Fail?

> Is this password reset form with old and new passwords and autocomplete='on' a fail of this SC?
> <form>
> <label>Old Password: <input type="password" name="old_password" autocomplete="on" ></label>
> <label>New Password: <input type="password" name="new_password" autocomplete="on" ></label>
> </form>

Fail?

> Is this password reset form with old and new passwords and matching autocomplete tokens a pass of this SC?
> <form>
> <label>Old Password: <input type="password" name="old_password" autocomplete="current-password" ></label>
> <label>New Password: <input type="password" name="new_password" autocomplete="new-password" ></label>
> </form>

Pass

> Is this a pass of the SC, given there's no matching input purpose?
> <form>
> <label>Grade Point Average: <input type="number" name="gpa" ></label>
> </form>

Pass / Not applicable

P
--
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke