-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Components: Remove hover style for secondary Button when aria-disabled is set #54978
Conversation
Size Change: +87 B (0%) Total Size: 1.62 MB
ℹ️ View Unchanged
|
Flaky tests detected in 3bb0229. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6382702083
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take your word for it visually. Code looks valid.
I'll defer to Alex on this one, and only concur. |
Thanks for the reviews! |
What?
This is a follow-up to #54722 (comment).
PR removes hover styles for a secondary Button when disabled via the
aria-disabled
prop.Why?
Disabled buttons shouldn't have a hover style.
Testing Instructions
Screenshots or screencast
CleanShot.2023-10-02.at.19.51.22.mp4