Skip to content

fix the focus#484

Open
cedric07 wants to merge 1 commit intomasterfrom
fix-mixin-hover
Open

fix the focus#484
cedric07 wants to merge 1 commit intomasterfrom
fix-mixin-hover

Conversation

@cedric07
Copy link
Copy Markdown
Contributor

@cedric07 cedric07 commented Apr 17, 2026

Fix du focus du mixin hover, pour rester cohérent avec le focus de base qui est focus-visible : https://github.com/BeAPI/beapi-frontend-framework/blob/master/src/scss/04-utilities/_focus.scss#L8


Note

Low Risk
Low risk: a small selector change limited to hover/focus styling; may slightly alter keyboard-focus behavior where :focus previously applied but :focus-visible does not.

Overview
Updates the hover mixin in _m-hover.scss to use &:focus-visible (instead of &:focus) alongside :hover/:active, aligning its focus behavior with the project’s focus-visible utility and reducing unwanted focus styles for non-keyboard interactions.

Reviewed by Cursor Bugbot for commit ef4a0c4. Bugbot is set up for automated code reviews on this repo. Configure here.

@cedric07 cedric07 requested a review from francoistibo April 17, 2026 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant