fix(buttons): add focus states on all buttons#248
Merged
mattrothenberg merged 4 commits intocloudflare:mainfrom Mar 18, 2026
Merged
fix(buttons): add focus states on all buttons#248mattrothenberg merged 4 commits intocloudflare:mainfrom
mattrothenberg merged 4 commits intocloudflare:mainfrom
Conversation
commit: |
Contributor
Docs PreviewCommit: |
Contributor
mattrothenberg
requested changes
Mar 17, 2026
Collaborator
There was a problem hiding this comment.
Thanks for catching this a11y issue! The fix works great for Button - I tested locally and can see the focus ring now.
While testing, I noticed the same outline-none pattern exists in a few other input components that would benefit from the same treatment while we're in here:
input.tsx(line 111)select.tsx(lines 62, 160)sensitive-input.tsx(lines 333, 396)combobox.tsx(lines 478, 502)
- Remove outline-none from inputVariants() - Remove outline-none from selectVariants() and Select trigger - Remove outline-none from Combobox inputs - Remove outline-none from SensitiveInput, add focus ring to eye button
Collaborator
|
Hey! I went ahead and pushed a commit extending the fix to the other components that had the same
|
mattrothenberg
approved these changes
Mar 18, 2026
Extends the focus state fix to Combobox by removing outline-none from the positioner, allowing the browser's default focus ring to show.
pedromenezes1
pushed a commit
to pedromenezes1/kumo
that referenced
this pull request
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

















































































problem
focus state was missing in all buttons which didn't meet a11y guidelines on ensuring focus indicators are easy to spot during keyboard interactions.
what changed
removed
outline-noneto ensure focus states are visible for all button variants.