WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Identifying focus rectangles

for

From: Steve Green
Date: Feb 7, 2019 10:52AM


WCAG 2.1 doesn't say that. There is an exception "where the appearance of the component is determined by the user agent and not modified by the author". So if you apply any styling to the component, which includes its border and background colours, the success criterion applies even if you are using the browser's default focus indicator.

For the exception to apply, the browser's default styles must be applied to all aspects of the component, not just the focus indicator.

Steve Green
Managing Director
Test Partners Ltd


-----Original Message-----
From: WebAIM-Forum < <EMAIL REMOVED> > On Behalf Of glen walker
Sent: 07 February 2019 17:21
To: WebAIM Discussion List < <EMAIL REMOVED> >
Subject: Re: [WebAIM] Identifying focus rectangles

For WCAG 2.0, that is correct, but in WCAG 2.1, 1.4.11 says the focus indicator should be (at least) 3:1 ratio unless you are using the default focus indicator of the browser.

On Thu, Feb 7, 2019 at 10:15 AM Farough, David (CFP/PSC) < <EMAIL REMOVED> > wrote:

> 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.
>
>