I'm always amused by HackerNews being presented as this awful, unreadable, low-contrast atrocity, when it is the most user-friendly, easiest-to-read, most seamlessly customizable thing I access on literally any given day.
That being said, yes; awful low-contrast sites exist. But it's not, hah, black and white. There's certainly such a thing as too high of a contrast - depending on the person, monitor, and background light.
Normal comment text on HN is fine, but the title and description text on a post page is absolutely awful low-contrast.
It's medium gray on light gray. It's #828282 against #F6F6EF, a contrast ratio of 3.54:1 which is a fail. WCAG 2.0 level AA requires at least 4.5:1 for normal text. This isn't subjective or aesthetics, it's an objective measurement.
It's genuinely uncomfortable to read when it's a long "Tell HN" or similar.
> There's certainly such a thing as too high of a contrast
Not really, as long as you can adjust your screen brightness. That's what screen brightness is for. You can always decrease contrast that's too high, but you can't increase it much if it starts too low.
> This isn't subjective or aesthetics, it's an objective measurement.
I’m going to push back against this slightly (I’m not disagreeing that the HN contrast is bad, but I am challenging the WCAG ratios). It’s objective, but it’s not a good measurement. WCAG computes contrast in sRGB, which is not perceptually uniform. As such there are cases where WCAG will give better scores to worse contrast. For example, the WCAG math prefers black text on a medium blue background to white text on a medium blue background, which is the exact inverse to what most people feel is most legible.
Aren’t 99% of users going to be on some random sRGB display, though? How many of us have wide gamut displays that are actually properly calibrated? Looking at the examples from your link is illustrative… several of their 4.5:1 passes are basically unreadable. What I suspect needs to happen is an additional penalty if the background isn’t what would be considered a typical paper color (white, ivory, tan, etc. blues, purples and oranges are right out. )
It's not that it's wrong to focus on sRGB but the computation itself does not use linear gamma (which is not excusable - incorrectly assuming that 2.2 gamma is how people perceive light results on overemphasis on brighter spots)
> This isn't subjective or aesthetics, it's an objective measurement.
Its an objective measurement, but whether the standard is correct or not is a subjective question of aesthetics. Or it could be empirical question if there qas a performance goal tied to it, and it was a testable proposition whether the objective measure corresponded to the performance goal optimally (sibling comment addressing perceptual uniformity suggests that for any given performance goal, that probably is not the case.)
That's more statement due to how terrible other sites are; for example's HN utterly fucking idiotic idea of making any "Show HN" posts text body light gray
That's what happens with flagged posts. The point of graying posts is to leave a chance for redemption when snowflakes brigade those who post worthwhile comments that don't align with the groupthink. Enable flagged posts and you'll also find some that never deserved to be eliminated so vouch for them.
Arguably the best feature of the web is that any content can be zoomed in and out as much as one pleases without problems. It does break on some websites, but as someone who zooms in most content I find it's relatively rare.
If you make text large you will have people complaining the text is too large. If you make text small you will have people complaining the text is too small. You you make text somewhere in-between you will have people complaining from both ends. So as long as you ensure it can be zoomed it doesn't really matter.
It's 9pt text, if that's unreadable the issue is with your user agent. I know a lot of browsers behave poorly on larger displays, but having each website guess how big a typical monitor is and use a treadmill of increasing font sizes is not an answer; you should demand better behaviour from your browser.
My understanding is that there is no "right" thing.
There will be cases where you want font sizes to be absolute and not vary depending on the system. For instance if it's text that comes with specific graphics of fixed size, or there are strong layout concerns bound to it.
In other cases you'll want relative sizing and adjust to the user's system preferences as much as possible.
That's a decision that has to be made site by site, element by element, which is why em are a recommandation, and couldn't blanket replace absolute units.
The fonts on HN are a bit small. I have my browser set for HN to get a 125% magnification.
The comment text is a nice #000000, but the rest of the text is #828282, which is insufficiently contrasty. Lighthouse flags this, as well as some other accessibility issues.
I notice that on mobile the front page will sometimes have tiny text and if I reload then it will be larger. I'm not sure why the non-deterministic behavior there.
The line length of about 144 is uncomfortably long. It should be about half that. Line height of 1.5 would improve readability as well.
I do not think people in general need maximum contrast. What they need is near optimal contrast and there are objective recommendations on how to achieved it.
What we often have instead is barely readable light gray text in the name of "clean" design. Well it is not clean, it is moronic. If creators disrespects potential readers that much they might as well present blank screen and be done with it.
The comments in lower contrast are ones that have been downvoted. The more it is downvoted the less and less visible it becomes. It's clever but it makes the site less accessible.
But other elements, including submission text like in an Ask HN thread are also too low contrast.
HN's page styling is simple and stable enough that if someone comes here often and has any sort of visual or readibility complaints they can just fix their own issues by modifying the CSS in my opinion.
I didn't say so - I said it's easy for the user to fix in case people haven't. Practicality > theory. Obviously the website fixing it is the best option.
That being said, yes; awful low-contrast sites exist. But it's not, hah, black and white. There's certainly such a thing as too high of a contrast - depending on the person, monitor, and background light.