Skip to content
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

Accessibility fix for default color #235

Merged

Conversation

normankong
Copy link
Contributor

The original default color does not have enough contrast (4.5) with white text color.
I have updated it to compatible with WCAG AA/AAA standard (4.5:1 and 7.5:1)

#d73d32 --> #A62A21
#4285f4 --> #0B51C1
#67ae3f --> #3A6024
#d61a7f --> #A81563
#ff4080 --> #B3003C

Thanks a lot !

@JorgenEvens JorgenEvens force-pushed the icon-default-colors-accessibility-fix branch from 5339421 to 92cac49 Compare May 31, 2022 14:55
@JorgenEvens JorgenEvens force-pushed the icon-default-colors-accessibility-fix branch from 92cac49 to 4747243 Compare May 31, 2022 14:55
@JorgenEvens JorgenEvens self-assigned this May 31, 2022
@JorgenEvens JorgenEvens merged commit 23fe94f into ambassify:master May 31, 2022
@JorgenEvens JorgenEvens added this to the 5.0.0 milestone May 31, 2022
@JorgenEvens
Copy link
Member

Hi @normankong ,

Thanks for your contribution! It has been released as part of the 5.0.0 release of react-avatar. 🎉

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.

2 participants