News for hackers. Stuff that matters.
Re:Modern Font Stacks by gketuma on Wednesday March 15, 2023 @11:16AM (#35169610)
So is the fix to remove the underlines? Or to stop using red/green color combination? Trying to learn as well. Thanks
Re:Modern Font Stacks by coreyp_1 on Wednesday March 15, 2023 @11:38AM (#35169978)
For me, it's not just an "underline" issue. In my case, it's a "thin line" issue, and letters are usually made up of thin lines, especially the monospace font used here. But that's just me. (Side note: I still use monospace fonts in programming, I just choose one that has thicker lines in relation to the character size.)

For example, when I saw the website in question, I did not notice the red or green text color at all. I did see the underline, though. I didn't know it's significance, however, because the key is at the bottom of the examples (5 rows of blocks of text examples) rather than the top. Oddly enough, in this particular instance, the green of the text looks more like a light grey, and I can see the red better than the green. Normally it's the other way around, but it might have something to do with the particular shades involved.

Importantly, there are different forms of red/green colorblindness. For some people, the colors are literally indistinguishable. They look exactly the same.

Mine is a form of reduced sensitivity. I can see it if it's a large area. E.g., if you're wearing a red shirt, then I know it's red, and it looks completely different from a green shirt. If it's just a thin line of red, though, then I might not pick up on it unless I concentrate. It just doesn't stand out when the lines are thin.

Fabric can be weird for me. Some fabrics cause issue because they will use red threads interspersed throughout the cloth in order to achieve a red/pinkish overtone, and I won't notice it at all (unless I really concentrate on it). It's because the red is coming from thin lines. I have to be careful with tweed, for example.

But again, that's just my experience.

Re:Modern Font Stacks by messe on Wednesday March 15, 2023 @12:32PM (#35170829)
I have the same kind (IIRC it’s called deuteranomaly).

I find increasing the brightness of the display helps, but it’s still a pain in the arse to distinguish the two when the lines are thin in this example.

Just for fun, can you make out the lettering in this image posted to the fediverse: https://mathstodon.xyz/@csk/109786201604517074

If you have deuteranopia or deuteranomaly, you should be able to just about make it out. With normal colour vision, on the other hand, it’s meant to be nearly impossible to see.

Re:Modern Font Stacks by coreyp_1 on Wednesday March 15, 2023 @12:36PM (#35170892)
LOL, that's great!
Re:Modern Font Stacks by Daneel_ on Wednesday March 15, 2023 @08:10PM (#35176447)
Yeah, I definitely can't see it with my 'normal' colour vision. I did notice down in the comments there's a processed version that lets you see where the letters are, but even with that knowledge it's still impossible.
Re:Modern Font Stacks by bryanrasmussen on Thursday March 16, 2023 @08:49AM (#35181174)
actually when I look at the processed version I can then make the outer ring of the O and about 70% of the last two letters. Like I can see oh there is that part of the letter - basically in the orange.
Re:Modern Font Stacks by illiarian on Wednesday March 15, 2023 @01:17PM (#35171578)
> because the key is at the bottom of the examples (5 rows of blocks of text examples) rather than the top.

It's worse in mobile. It's several screens of example blocks before you get to the key.

Re:Modern Font Stacks by capableweb on Wednesday March 15, 2023 @11:29AM (#35169827)
Depends on the use case. If you want to signal deletion, strikethrough can be more appropriate than coloring. If you really have to use color, I've heard brown-blue combo should be easier, or at least blue-yellow color blindness is a lot rarer than red-green, so it'll be more accessible.

But the most accessible would be to use appropriate structure (together with appropriate semantic structure for those that cannot see at all) rather than appropriate coloring.

Re:Modern Font Stacks by heisenbit on Wednesday March 15, 2023 @03:24PM (#35173443)
Make color areas bigger and use higher contrast light/dark versions to keep some distance between red and green. Generally avoid thin red to signal anything important.
Re:Modern Font Stacks by MisterTea on Wednesday March 15, 2023 @03:56PM (#35173853)
The fix is "designers" need to understand that there are people with visual disabilities and take steps to stop discriminating against them.
Re:Modern Font Stacks by nativeit on Thursday March 16, 2023 @04:05AM (#35179390)
Wait, so just no more using red? Anywhere, at all, in any facet of design? What about other differentiated abilities. Should “designers” stop using anything under 18-pt font? 24-pt? How accessible must an interface before you will grant “designers” their un-quoted status as designers?
Re:Modern Font Stacks by dragonwriter on Thursday March 16, 2023 @04:11AM (#35179423)
> Wait, so just no more using red? Anywhere, at all, in any facet of design?

The usual advice I’ve seen to avoid discriminating against people with reduced ability to differentiate color is “don’t use color distinctions alone for any purpose”. If you want to make things recognizable as different at a glance, and are inclined to use color for it – do that, but also use some other visual distinction. If its text, use a non-color stylistic distinction as well as color.

Re:Modern Font Stacks by nativeit on Thursday March 16, 2023 @04:37AM (#35179581)
Sound advice. All that strike through is going to look horrible, and diminish the overall readability for a much larger population. I’m not sure there’s a very good solution for this particular case. Should they trash the entire idea rather than accept some lesser accessibility?

I’m certainly not against broader accessibility in any sense, I have had multiple sclerosis for 22-years, I was really more against using “quotes” to question a professional’s credibility for what seems like a fairly sensible choice.

Re:Modern Font Stacks by yuchi on Wednesday March 15, 2023 @06:18PM (#35175496)
The solution from literature is “use color as much as you want (within the limits of sufficient contrast for readability) but nether rely exclusively on it, always add some other visual device, such as icons or (even better) textual additions”.
Re:Modern Font Stacks by datagram on Thursday March 16, 2023 @02:59PM (#35186664)
The W3C has lots of documentation and guidance on how to deal with this issue, since it's part of their Web Content Accessibility Guidelines: https://www.w3.org/WAI/WCAG21/Understanding/use-of-color.htm...