[a11y] focus: and focus-visible: states
Author: PickleNikCreated Jul 16, 2023Updated Jun 14, 2026
Labelsgood first issueaccessibilitytedious
- add focus:outline-none on default html elements
- use focus-visible:ring-2 instead (or change border if component already has a border set)
- match hover effects wherever it makes sense
- set ring-blue-600 or something to match primary color
- override all shadcn input fields to not have focus-visible:ring-offset-x
Source: typehero/typehero