this post was submitted on 03 Nov 2024
488 points (97.7% liked)

World News

32283 readers
535 users here now

News from around the world!

Rules:

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] KammicRelief@lemmy.world 10 points 3 days ago (3 children)

Wtf are those colors, jfc... How bout a hand for us colorblinds.

[–] Alsephina@lemmy.ml 11 points 3 days ago (2 children)
[–] AlpacaChariot@lemmy.world 7 points 2 days ago

So much better, thanks!

[–] KammicRelief@lemmy.world 3 points 2 days ago

oh that's so much better! thank you!!

[–] ILikeBoobies@lemmy.ca 4 points 2 days ago (1 children)

Well Israel and US are one colour

Every one else is a different one

[–] KammicRelief@lemmy.world 1 points 2 days ago* (last edited 2 days ago)

^^_^^ thank you

[–] Qwaffle_waffle@sh.itjust.works 3 points 2 days ago (2 children)

Is there a website that can help me make sure I am covering colorblind? Like my work does green/red for pass/fail, but we are trying to add some alternate colors for user to enable as needed.

[–] KammicRelief@lemmy.world 2 points 2 days ago* (last edited 2 days ago)

Yes! One easy/good one to use is https://webaim.org/resources/contrastchecker/ It lets you pick two colors, and you can even use the eyedropper tool in their Color Picker box to select a color right off your screen. Then it'll tell you the Contrast Ratio of the two selected colors. Higher is better. It will give you a pass/fail for WCAG AA and AAA (two levels of web accessibility standards). I just now checked the red and green from the linked map and it had a ratio of 1.3:1 which is a fail for both AA and AAA.

Some websites (like Trello) give accessibility options to skip colors altogether, and use patterns (cross-hatch, polka-dot, etc.). But in general, going for a high enough contrast ratio should be good enough. I'm a web dev as well and we just run everything through one of those WCAG tools (I believe we've been using the WAVE browser plugin) and fix it until it passes. :) But, being the colorblind one on the team, I can often just be like "uhmm, that one ain't gonna work." lol.

btw sorry I got so spicy in my initial comment. I really wanted to see the map. :P

Edit: Another reply to my comment had a link to a more colorblind-friendly version of the map, with red and blue instead of red and green. Much clearer to my eyes. I eyedropped those two colors into that webaim checker, and I was surprised to see it also failed quite badly on the color contrast! For example you wouldn't want red text on a blue background (unless it was a bright red and dark blue, or vice versa). But for map colors, well... I guess that goes to show that for colorblind checking you have to use a little common sense and know what the most common no-no combos are (red/green seems to be the most common). I checked the accessibility docs at my work just now and we sometimes use this site to check what a site looks like under various types of colorblindness: https://www.toptal.com/designers/colorfilter

[–] Cort@lemmy.world 2 points 2 days ago

Make the green a little bluer.