-
Notifications
You must be signed in to change notification settings - Fork 482
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
Make the Report Abuse link on the projects page into a button #46055
Conversation
display: 'inline-block' | ||
bottomButton: { | ||
marginTop: '30px', | ||
marginBottom: '15px', |
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.
My brain wants these to be balanced, but aside from that LGTM!
> | ||
<h3>{i18n.reportAbuse()}</h3> | ||
</a> | ||
color={Button.ButtonColor.gray} |
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.
Also, this seems like a default button, but is there enough contrast between these two shades of grey for it to be accessible?
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.
(For posterity: This passes AA but not AAA. If we used 'dark_slate_grey' instead of 'charcoal' it would pass!)
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.
Confirmed that it meets AA standards
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.
✨
The request was to make this link a button that matches the other button on this page
Before:
After:
Links
Testing story
Deployment strategy
Follow-up work
Privacy
Security
Caching
PR Checklist: