WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Identifying focus rectangles

for

From: Farough, David (CFP/PSC)
Date: Feb 7, 2019 10:15AM


Actually, I don't believe that the colour contrast requirements even apply to the focus indicator. I would be much happier if they did. All that is required is that it be visible.

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Jonathan Cohn
Sent: Wednesday, February 06, 2019 03:24 PM
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Identifying focus rectangles

I believe this is essentially the same answer I got when I asked on the BATS (Blind Accessibility Testing) group a year ago. One can certainly look to ensure that focus rectangles have not been disabled in the CSS, but it is near impossible to confirm they exist and have the proper color contrast ratios.

Jonathan Cohn

> On Feb 6, 2019, at 4:17 AM, Patrick H. Lauke < <EMAIL REMOVED> > wrote:
>
> On 06/02/2019 07:24, <EMAIL REMOVED> wrote:
>
>> For a screen reader user, how can they detect focus rectangles when
>> the keyboard focus is on an element? Is this an requirement to check
>> the CSS and possibly the Javascript? Is there any other methods?
>
> I'd say that this is one of those SCs that are very difficult, if not outright impossible, to test fully for a non-sighted user (as there can be so many variations in how the element is being styled, and the styling may even be placed programmatically on a parent/ancestor element, requiring you to analyse potentially the whole DOM branch going all the way to the root of the page).
>
> 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
> > > archives at http://webaim.org/discussion/archives
>