[Webkit-unassigned] [Bug 225148] [selectors] :focus-visible and keyboard events
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 4 23:36:04 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=225148
--- Comment #8 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to Manuel Rego Casasnovas from comment #6)
>
> As I said, this is one of they key things behind :focus-visible, that when
> you click a DIV with tabindex you don't see a focus ring. Only when you use
> the keyboard to focus it, it shows it.
That's not mentioned anywhere in https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo. Where was this discussed?
> If WebKit wants to always show a focus ring when a DIV with tabindex is
> focused via mouse click, then authors are going to start doing:
> :focus-visible {
> outline: none;
> }
> And that would disable it also for keyboard users which is bad for
> accessibility.
Well, it's also bad not to show the focus ring on a focused element.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210505/8fd5ac4e/attachment.htm>
More information about the webkit-unassigned
mailing list