WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: [EXTERNAL]How important in practice is WCAG Technique G165: Using the default focus indicator for the platform?

for

From: Patrick H. Lauke
Date: Oct 3, 2019 12:55AM


On 03/10/2019 04:43, Birkir R. Gunnarsson wrote:
...
> Rolling your own is good if you want consistency with your brand, your
> site, across user agents, going with user agent defaults is good if
> you don't want to worry about WCAG and think that providing a custom
> indicator could confuse people who are used to a certain user agent.

Rolling your own is also necessary when some browsers are far from smart
in how they provide their default focus indicator. Take Chrome's blue
focus outline...sure, it's nice and all, but if your site already uses a
similar blue color palette for backgrounds and such, it'll become pretty
hard/impossible to see. So sometimes, if you know a large number of your
audience comes from that particular user agent, as a site owner you make
a calculated decision to provide a good clear focus indicator for that
audience (though yes, you could just leave it as is and say it's
Chrome's fault...which yes, it is...but that won't help your visitors).

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