[Webkit-unassigned] [Bug 258670] New: :focus-visible not working without pressing tab first

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 29 05:39:35 PDT 2023


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

            Bug ID: 258670
           Summary: :focus-visible not working without pressing tab first
           Product: WebKit
           Version: Safari 16
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: konsalexee at gmail.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 466865

  --> https://bugs.webkit.org/attachment.cgi?id=466865&action=review

Reproduction video of the issue described

For keyboard navigable table, there is a strange regression happening to Safari (validated this is not the case with latest Chrome, Chromium and Firefox).

If I navigate with arrow keys, and press `Enter` to focus on the first focusable element, the `:focus-visible` styles are not applied. 

The strange part is that if at least one `Tab` is pressed, then the styles will be visible.

Attaching a video to see this in practice: https://share.cleanshot.com/TSHJgM6C (also attached)

Also a URL where you can try this: https://table-focus-visible-issue-needle.surge.sh/iframe.html?args=&id=tables-keyboard-navigation-enabled--keyboard-nav-table&viewMode=story

-- 
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/20230629/c8dd77de/attachment.htm>


More information about the webkit-unassigned mailing list