[Webkit-unassigned] [Bug 224026] New: Web Inspector: adapt :focus-visible internally

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 31 16:56:56 PDT 2021


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

            Bug ID: 224026
           Summary: Web Inspector: adapt :focus-visible internally
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nvasilyev at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

:focus-visible is implemented behind an experimental flag (":focus-visible pseudo class").
Once it's on by default, we should add:

    :focus:not(:focus-visible) {
        outline: none;
    }

This will allow to closer match macOS focus behavior. For example, currently, clicking on "Hover" checkbox (to force `:hover` state) displays the focus outline around it.
With the CSS rule above, it would only draw the outline when it's focused by using keyboard navigation, which matches native apps behavior.

https://twitter.com/leaverou/status/1045768279753666562?lang=en

-- 
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/20210331/2e729303/attachment.htm>


More information about the webkit-unassigned mailing list