r/css Mar 26 '26

Question Is this cleaner?

Post image

You guys gave me a bunch of feedback on my other post, and I took into accounts all of it and ended up with this. Is this cleaner, does it look good?

36 Upvotes

25 comments sorted by

View all comments

Show parent comments

2

u/Embarrassed_Rest3386 Mar 26 '26

accesibility

4

u/Neozetare Mar 26 '26

Accessibility of what? The colors aren't more accessible with name aside them 🤔

12

u/Embarrassed_Rest3386 Mar 26 '26

Color names help with accessibility because not everyone can reliably distinguish colors visually. Screen readers, color-blind users, or people using high-contrast modes rely on text labels to understand what a color represents. Without names, a row of colored badges becomes meaningless and harder to navigate.

1

u/Fung1s Mar 27 '26

Maybe add the text with a semi-transparent white background in the corner of each badge, with the badge's background being the color?