Designing an accessible color palette with magic numbers
darekkay.com
darekkay.com
Technically, this violates ADA guidelines on contrast, but I think it is a completely legitimate use.
https://darekkay.com/blog/accessible-ui-frameworks/
I wonder if he does this to generate a bit of intrigue. :)
If you can read the negative voted comment, but another person can't, then it is not a "legitimate" violation. Why is it right that some disabled people shouldn't have access to that content?
A visibility toggle would serve the same purpose and make the experience of reading discussion threads the same regardless of personal ability or the screen you're using.
When referencing hacker news as “the orange site” I would definitely assume that kind of familiarity.
I am aware that this is only applied to downvoted comments. But using an insufficient contrast ratio excludes the _readers_, not the posters. There are accessible ways to deemphasize unwanted comments.
BTW, HN currently has 237 occurrences of insufficient contrast ratio on the front page. While my example was an extreme one, even regular content is not sufficient on HN, unfortunately.
Though I agree that HN is rife with examples of poor contrast. For instance, when you are looking at a submission's comments, the submission title at the top is in poor contrast.
As I'm editing, the toolbar right above above my comment "1 point by kazinator 2 minutes ago | parent | edit | delete ..." is in poor contrast.
The idea there seems to be to deemphasize non-content.
I'm totally getting the motivation, but it doesn't solve the accessibility issue. If some people with high karma decide that a comment is low quality, then by all means, HN could collapse the comment by default. Totally fine with me, because everyone else can still access it if they choose to. With the current solution, many people don't get this chance. Accessibility is about equal treatment.
A higher-contrast option would solve it, but configuration always introduces new headaches. It's best when all users can be satisfied with the same display (using their own configurations, such as browser settings). Which is too bad, because the low-contrast display is a clever approach to de-emphasize poor content, but it doesn't work for all users.