WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: WCAG 2.1 SC 1.3.5 Identify Input Purpose - Address Attribute Values

for

From: Patrick H. Lauke
Date: Mar 7, 2019 12:24PM


On 07/03/2019 19:18, Steve Green wrote:
> https://www.w3.org/TR/WCAG21/#input-purposes states that the autocomplete="address-level1" value represents the broadest administrative level in the address, and that in the UK, this is the post town.

Note that it's not about the exact keyword, but about the intent

"The terms below are not keywords that must be used, but instead
represent purposes that must be captured in the taxonomy adopted by a
webpage"

[...]

> So which value should we use? Should we always use address-level1 for the Town or City field? If so, that means we can't apply an autocomplete attribute to the County field if there is one.
>
> Or should we use address-level1 for the County and address-level2 for the Town, which contradicts the statement in https://www.w3.org/TR/WCAG21/#input-purposes. Is that section of WCAG normative? It doesn't seem to say either way.

Do what you think is best in terms of autocomplete keyword to capture
the *concept* of the broadest administrative level. i.e. follow the
technical spec, and what you think is best reflected there, to convey
the concept of the "broadest administrative level".

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