DEV Community

Binyamin Green
Binyamin Green

Posted on

3

"Practically" Accessible

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.

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay