[Webkit-unassigned] [Bug 30523] Add support for -webkit-focusring CSS pseudo class

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 11 07:11:56 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=30523

--- Comment #6 from Kyle Bavender <kyle.bavender at me.com> ---
re: Justus:
":focus-visible works as expected on Safari 14.0.3, just make sure to have the accessibility settings setup."

You are referring to the :focus pseudo-class, not the :focus-visible pseudo-class. You may review documentation for what :focus-visible is and does on this page: https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible . As is said there, :focus-visible "...is useful to provide a different focus indicator based on the user’s input modality (mouse vs. keyboard)." This is in contrast to :focus, which is set on an element whether it was selected via tabbing on the keyboard, or by way of clicking with a mouse.

You can see for yourself that Safari/WebKit do not support the :focus-visible pseudo-class: There is also an Example on the page in which you can test tabbing from one input to button to the next — Safari does not show the dashed dark orange outline that comes from :focus-visible styles as it does in Chrome and Firefox.

-- 
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/20210211/129e6ff3/attachment.htm>


More information about the webkit-unassigned mailing list