Ileriayo / markdown-badges

Badges for your personal developer branding, profile, and projects.
https://ileriayo.github.io/markdown-badges
MIT License
12.46k stars 1.54k forks source link

[🚧Design] - Accessibility of badges #355

Open kohasummons opened 2 years ago

kohasummons commented 2 years ago

🐛 The case: How do we encourage accessible badges?

(this is probably the 100th time I'm rephrasing this heading)

Recently, I suggested a contributor https://github.com/Ileriayo/markdown-badges/pull/350#issuecomment-1082166276 change the background color of the badge he was submitting. Why?

The contrast between the text color and the background color was low and it would be difficult for people with eye disabilities to parse the tiny info on the badge.

I was curious and did a lightning scan of the badges in our current stash and I noticed a trend of issues with contrast.

For example: Supabase

This might be easy for you to see but imagine someone with an eye disability staring at this. Not so easy, eh?

🧇 Why do I believe this is important?

Hence the question, 🔥 How do we encourage badges which are accessible and inclusive?

DalpatRathore commented 2 years ago

For more inclusive and better accessibility: