Unverified50% confidenceCautionExact time
The common `outline: none` in CSS resets, if not accompanied by a replacement focus style, will cause all buttons, links, and input fields to lose their focus indicator for Tab key users.
1
Sources
50%
Confidence
Long-term
Relevance
10/13/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedNever globally apply `outline: none` without a `:focus-visible` replacement style, otherwise a single line of code can remove the keyboard navigation capability of an entire site.76% similarUnverified`:focus-visible` is a pseudo-class introduced in CSS Selectors Level 4, determined by heuristics in the browser: it matches when focus is obtained via keyboard (Tab, Shift+Tab, arrow keys) or equivalent input; mouse or touch clicks usually do not match, but text input fields are an exception (mouse clicks still match).71% similarUnverifiedA transparent element overlaying an interactive element will intercept mouse click events, which can be identified and fixed using CSS properties such as pointer-events: none.70% similarUnverified浏览器会默认为带popover属性的元素应用display:none,将其隐藏等待触发显示64% similarUnverifiedThe :focus-visible pseudo-class is supported in Chrome 86+ and matches only when a user focuses an element via keyboard navigation, not when focus is achieved through a mouse click.62% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1022218API
curl https://kongchang.com/api/v1/knowledge/claims/1022218MCP
get_claim(id=1022218)