[Webkit-unassigned] [Bug 243289] New: :focus-visible matches on anchor focused via script
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 28 03:16:19 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=243289
Bug ID: 243289
Summary: :focus-visible matches on anchor focused via script
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: harry-moore at live.co.uk
When using a mouse to click an anchor which triggers a script that sets focus to another element, the focused element matches :focus-visible.
On a single page application this is really noticeable and arguably not desired behaviour.
See https://codepen.io/HazzMan2409/pen/rNdYNpa
Note this is very similar to this bug https://bugs.webkit.org/show_bug.cgi?id=236782
Maybe this issue occurs with other elements (not just anchors).
--
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/20220728/35458639/attachment.htm>
More information about the webkit-unassigned
mailing list