WebAIM - Web Accessibility In Mind

E-mail List Archives

Sending focus in a radio button group on error - visible focus indicator.


From: Laurence Lewis
Date: Mar 19, 2022 3:16PM

A decision was made in our Workplace in regard to error management for a
radio button group. If the group has an error, focus is moved to the
<legend> and the error message is located inside the legend element
Example: Radio button group - error message location

When focus is moved to the legend element, is a visible focus indicator
needed, and why? If there is no visible focus indicator is this a failure
for 2.4.7 Focus Visible Level AA?


Laurence Lewis