As a sighted mouse-user a clear focus is required - that's often provided only by the change of the pointer to a hand but it can be very helpful to have more - make it part of the design: make it contextual so it enhances the pointer when needed but don't dismiss it as 'not wanted or required' - I feel there's a designer who cares more about the purity of their concept than the UX in action. They will be the same ones who put the ramped access out the back so it can be used for the rubbish bins as well as the wheelchairs and the front stays looking as they wanted.
-----Original Message----- From: Patrick H. Lauke <redux@splintered.co.uk> Sent: Friday, June 2, 2023 6:52 AM To: w3c-wai-ig@w3.org Subject: Re: Clarifying WCAG 2.4.7 Focus Visible
CAUTION: This email originated from outside of the organization.
For context, adding a summary of the answer I gave on a11yslackers...
tl;dr: just use :focus-visible
noting that 2.4.7 talks about there being a "mode of operation" where the focus is visible. under this aspect, it's fine to say that focus is only visible when using keyboard/keyboard-like input
of course, if you can have a very prominent visible focus indication at all times, regardless of whether activated/achieved by mouse/touch/etc or keyboard, then go for it. from a compliance with WCAG point of view though, it's fine using :focus-visible for instance
if it's an immediate-action type control, i'd say it's good not to have visible focus indication as result of mouse/touch activation. for form fields etc, you'd likely want to have focus indication regardless. i.e. what :focus-visible does