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