Skip to content

"Practically" Accessible

b3u profile image Binyamin Green twitter logo github logo ・1 min read  

I was designing a button component today, and it was looking pretty good. But when I decided to check accessibility with a plugin, I realized that I had issues. I spent hours playing with my design before I came to a wonderful conclusion. Dark text on a light background is more accessible than light text on a dark background.

A side-by-side comparison of accessible buttons

That's my a11y gem for the week. I'd love to hear what you've picked up recently.

twitter logo DISCUSS
markdown guide
Classic DEV Post from Jul 26 '19

🎩 JavaScript Enhanced Scss mixins! 🎩 concepts explained

In the next post we are going to explore CSS @apply to supercharge what we talk about here....

Binyamin Green profile image
Developer, designer, blogger. (He/Him) ✡️