DEV Community

Binyamin Green
Binyamin Green

Posted on

"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)