107 comments

[ 2.7 ms ] story [ 163 ms ] thread
Beautiful site.

HN is called out as a site with poor contrast (the text in a self post). I do find myself frequently tilting my monitor back to improve the contrast of posts here, but I think only on the downvoted ones, which, I suppose, is the point.

But now, looking up at the now-clicked-on story link, I see that visited links have rather low contrast, too.

pg has said that self-posts have low contrast font to discourage people from using HN as their blog. So, similar reasoning to < 0 posts.

But I also have difficulty finding stories I already read on the front page.

Well maybe. But at least I can run sites with low contrast through Readability. No such luck with this Heath Robinson powerpoint-a-like they've built.
I've gotten into the habit of modifying the CSS of web sites I frequent to improve the readability and usability in general. I do this using a plugin for the web browser. For instance, this is how the HN home page looks like: http://i.imgur.com/WaTQq.jpg

This is the most perfect design because it's tailored to my needs.

Here's how YouTube looks like: http://i.imgur.com/eZAsx.jpg

Reddit: http://i.imgur.com/rnaxb.jpg

YouTube is very clean. I don't suppose you would share your CSS? If not, I'll do it myself...but it's always nice not to re-invent the wheel.
It would be my pleasure: https://gist.github.com/1106842

This CSS fix for YouTube removes a lot of functionality like the search form but since I can search youtube using extensions and the browser address field this isn't a huge issue.

Thank you. I agree re: the search bar; not such a big deal. YouTube will be much nicer now.
Seems like you might just have poor eyesight. Why not simply Ctrl-scrollwheel the text larger instead of going through the trouble to alter the CSS?
There's nothing wrong with my eye sight. I don't mind wasting some vertical space to get better readability. Modifying the css is very easy and doesn't take much time.
I'm a big fan of userContent.css myself.

One of the big disappointments I've had with Chrome so far is that there's no way to set default font sizes (within the browser UI itself). I suspect there may be configuration settings .... hrm .... no "about:config", damn.

I'll try the userContent.css trick next. I've long forced all sites to use both my preferred fonts and sizes. Most comply reasonably well, though some (overly specified) designs break.

And that's for a guy who's been surfing in his 20s-40s, with good vision, though I'm just starting to feel the need for reading glasses. My parents are in their late 70s, Dad's got glaucoma. I've had to push up the contrast and zoom settings in his Mac account, for which he's grateful (the Web is one of his primary outlets / connections to the world now).

Sites designed on large, high-contrast Mac monitors, viewed on smaller, lower contrast devices, suffer the most. HN definitely could use a contrast improvement (I'm viewing zoomed up a couple of clicks right now, couldn't say just how much).

The real key isn't just sizing fonts (and setting contrast) appropriately, but to design pages which resize and rescale gracefully. I can live with the first if the second also occurs. Far too often it doesn't.

The text on that site is so damn large it's actually hard to read.
Exactly. Some used fonts are also very narrow and therefore hard to read.

But ofcourse they are called Contrast Rebellion. Not Readable Rebellion.

I rarely complain about design, but the drastic color changes between the sections and the large capital letters actually gave me a slight headache.
Interesting you say about high contrast, all the examples are black on white. Do this mean all content related websites should be white backgrounds and black text?
I think the reason they used so many colors in their bombastic website is to demonstrate non-typical contrast solutions.
In Fireforx: View -> Page Style -> No Style.
In Opera (depending how you designed yours): Page -> Style -> Accessibility Layout.
Or Shift + G to completly disable CSS.

You can of course create shortcuts for any of those styles in Page -> Style:

  Select user CSS file, # | Deselect user CSS file, #
where # is a number of a style in styles/user/ (ls -U, starting from zero).
I think what we need is a balance.

If everything in your website is in high contrast, big font-size, black & white - it is also a problem.

But I agree the idea behind the "Contrast Rebellion" - the accessibility of web content.

tldr: Do not waste your time on this.

-----

Webdesigners: please make sites usable.

The non-javascript fallback display is somewhat broken but at least it works. With javascript enabled the site is stuck on the second slide (Opera 11.50).

And then there is the part where the site says "Content ≠ Illustration". Well, yeah, you first. And by the way, centered text is hard to read. And I can't use my browser's back button nor does the site provide such a function. And dear god, it gets even better on this slide:

Let's put an end to this low-contrast, light gray nonsense and use typography for its purpose:

MAKING TEXT READABLE.

AGREE? LET'S CHANGE THE WORLD TOGETHER!

Never heard about all uppercase text being hard to read?

This might just be an elaborate joke or sarcasm, if so, I do not get it.

I also don't understand why people feel the need to use giant text everywhere- that's just as hard/annoying to read as tiny text. I'm with you on all points.
I think that, despite making some mistakes of its own, the content of the article is still valid and raises some important points. I did find it irritating that they used small, light coloured text on a dark background in places, as I find this very difficult to read (and am hardly alone in that).

However, I think there are bigger fish to fry than quibbles like that. On any given day, there's at least one article on the HN front page that I actually cannot easily read, and frequently it's black text on a white background, plenty of contrast, just far far too thin on my display. I suspect the significant difference between font weights in browsers between OS X and everything else may be to blame.

Whenever I see a piece like this on Hacker News anymore (one that is going to provoke discussion), I am expecting a comment like this one. One that is equally as provocative in itself and taking the opposite stance.

People upvote these comments and they tend to make it to the top. This says something about HN.

What's wrong with comments like these ones is that they are being overly aggressive and argumentative for the sake of being overly aggressive and argumentative. Sure, being critical of others' opinions is a good habit to have, but disrespect is not.

In this comment, you tell the other site users to not waste your time on this and that this might just be an elaborate joke or sarcasm. That's pretty harsh for something that someone wrapped up together in their spare time and evidently put effort into it. Whether or not you agree, at least try to find the light in the piece of the work.

I know that a lot of people would be more inclined to read and accept an answer if you made it into less of a one-sided argument. Acknowledging both side and taking time to point out the strengths before the weaknesses go a long way and add to the overall politeness of the comment.

There's a second problem that's popping up lately: font-face on the body text.

System fonts have been painstakingly hinted to make them more readable on-screen. Most web-embeddable fonts don't have appropriate hinting or are just plain bad choices for body text. Hoefler & Frere Jones (one of the most respected foundries around) haven't released embeddable fonts because they've been working on it for years.

The result is fuzzy text at small/medium text sizes. It's huge pain to read. It seems some designers forget that good typography is concerned with readability too.

Core fonts don't necessarily equal good web typography. Arial, for instance, is pretty mediocre for the web. You could say the same about Helvetica (it is still better designed than Arial).

As for web fonts, Adobe and other foundries have large collections of gorgeous fonts specifically designed for the web.

Helvetica on Windows is terrible, see https://github.com/paulirish/html5-boilerplate/issues/42. This is because Helvetica comes from Linotype instead of Microsoft, and they care more about print than screens.

Arial might not be a good typeface, but as a font it's pretty damn well hinted for screens.

Except for Minion Web and Myriad, I haven't seen a really legible web font from Adobe that is usable at 11-15px. Heck, even Typekit uses Georgia/Arial for long copy.

Can you provide any further reading about this? I had never heard that the practice was frowned upon.
Here is a comprehensive article on font hinting by Peter Biľak a very respected Typographer:

http://www.typotheque.com/articles/hinting

"[font-face] also raises new issues, including poor onscreen display of non-hinted fonts. And because hinting is tedious, time-consuming and widely believed to be nearly obsolete, 99% of all fonts, even commercial ones, are non-hinted."

> There's a second problem that's popping up lately: font-face on the body text.

Plus, browsers will flash the body text in the alternate system font (or a blank page) while the font-face file is downloaded from the web server.

Some true facts that you might consider before passing that over-generalised statement:

-There are a number of fonts designed specifically for screen reading.

-Some of them happen to be preinstalled on our computers.

-Not all default fonts installed on our computers are meant for screen reading. Not all web safe fonts are either.

-A huge number of web fonts off late have been designed with screen in view. e.g FF Meta, FF Tisa Web Pro and so many others.

-There is nothing wrong with using font-face for body text.

Examples: Every article on trentwalton.com uses font-face (uses Typekit for webfonts) and works great in terms of readability. Please do not mix the poor aliasing on Windows with a problem with web fonts.

Their script went wrong towards the end, with the following text on the dark gray background with the fist on it:

"Usability expert Jakob Nielsen has shown many, many times that reading on the computer screen is harder than reading printed material even without making the font illegible. And mobile is worse.

.. and many have written about why gray text is a crime here, here, here and here...

So what we're trying to say is..."

which did rather undermine their point.

Do they print books with black pages and white text?

No, they do not.

With good reason. If I read white on black for more than 5 minutes, whenever I look away there are negative lines floating across my vision.
I don't agree that it's good reasoning, and indeed most (or all?) early monitors used to be green/amber/white-on-black because it's easier on the eyes.

It's not a common problem I know but I have countless floaters swooshing around in my vision so for me staring at a mostly white screen all day is absolutely horrible and a great way to give myself eye strain.

No, because it would be a waste of ink. Fortunately monitors don't have this problem.
It's not just contrast that makes text legible or not, there are many other factors:

- Width of the text area - Line spacing - Font-size - Correct use of headings, paragraphs, emphasis etc ...

Actually low contrast is a great tool to have. You can't have high contrast all over the page otherwise various elements will be shouting for your attention. Controlling the volume of your copy is just as important as the factors I mentioned above.

Propaganda by photoshop clone developers who don't want to design opacity layers into their interfaces.

In all seriousness, if everything was high contrast, everything would be SCREAMING AT YOU FOR ATTENTION. Webdesigners: use your personal judgement when identifying what should be high contrast (higher visual recognition priority) and what should be lower contrast (lower visual recognition priority) and all will be well.

FYI: the HN example on your site actually makes perfect sense. The high contrast content is almost always the thing I consider most important. Index: Titles of threads, Subpages: Comments.

> if everything was high contrast, everything would be SCREAMING AT YOU FOR ATTENTION

Simply not true. There's many more factors besides contrast that determine attention focus.

See this excellent series on gestalt principles of design: http://www.andyrutledge.com/gestalt-principles-1-figure-grou... (it's five parts you need to click to get to the other 4)

Also see http://24ways.org/2007/typesetting-tables which shows a very nice way of adding structure to a table using contrast, instead of making everything scream for attention equally. (Additionally, the site used a different layout when this article was written in 2007, and currently it seems 24ways is a good example of low-contrast crappy readability :) )

Any idea how this site was made? Was some kind of framework used or was it all hard coded?
It's amusing that a website arguing for readability makes extensive use of all-caps, well known to be difficult to read.

http://en.wikipedia.org/wiki/All_caps#Readability

No it’s not. There is nothing whatsoever wrong with sparingly using all-caps in headlines.

This page certainly does not make extensive use of all-caps.

Even worse (or probably related) than the general contrast problem is the absolutely crazy suggestion to use

-webkit-font-smoothing: antialiased;

in your CSS (http://maxvoltar.com/archive/-webkit-font-smoothing)

I've yet to come across an instance where antialiased is better than using subpixel hinting.

In addition, I think it's crazy that the browser would allow a site designer to alter such a highly OS- or even machine-specific setting.

Heck - there's even special tuning wizards in most OSes to configure the subpixel hinting perfectly for a specific monitor.

Dear designer, turning that off for everybody just because you didn't manage to configure it correctly on your machine is egoistic and, IMHO, plain stupid as you make everyone suffer for a thing you should fix at your end.

/endrant

Yes, a thousand times yes. Even worse are those who use

    -webkit-text-stroke: 1px transparent;
which absolutely _kills_ scrolling performance.
(comment deleted)
Totally, absolutely agree. Apple's website actually forces antialiased text through that CSS rule. I wrote a userstyle to force it back to how it should look.
Yeah, well... you know... that's just, like, your opinion, man.

I think subpixel hinting looks terrible. I think letterforms are really interesting and beautiful and I actually want to see them when I use the web.

That said, I do agree that web sites shouldn't override the browser settings for body text. But turning off hinting of titles is probably reasonable.

There's a number of tech blogs linked here regularly which use anti-aliased html5 fonts that end up looking spidery/ghostly and really hard to read. I have to use Readable or text highlighting just to read them.

Campaigns like the OP that raise awareness are very much needed, there's no downside to them.

The downside is that the argument is not very effective.

Those designers believe that anti-aliased fonts look better and no tirade will convince them. It’s just ineffective to try and convince them that anti-aliased fonts should not be used. It’s the wrong argument.

Here is what the argument should be: Most users of the web (nearly everyone not using XP and everyone using Internet Explorer 7 and XP) have anti-aliasing turned on by default. There is no need to worry about them. Additionally, the property designers are using to turn anti-aliasing on doesn’t even work for many browsers. It’s mostly targeting users of Chrome or Safari and XP. That’s a really small subset of users and the benefit of enabling anti-aliasing for them is doubtful. Most other websites won’t be anti-aliased for them, the one that is will likely stick out and somehow look “wrong” to them – not because anti-aliasing is objectively worse but because they are just not used to it.

Who will be very angry is everyone who explicitly disabled anti-aliasing. That’s a small minority, for sure, but I don’t see how the benefits are worth that tradeoff in any way.

(comment deleted)
I am mostly on your side. I wrote a rant a while back too: http://peterc.org/blog/2010/235-webkit-font-smoothing-antial...

However, since then I acknowledge there is an instance where it does make sense.. any text on black. In OS X, at least, the default rendering of type on a black background bleeds horribly, so I've swallowed my pride and started to use it in situations where it makes sense. It's particularly noticeable with Helvetica, I've found.

> In OS X, at least, the default rendering of type on a black background bleeds horribly

It depends on monitor's gamma!

My monitor with generic color profile exhibits the opposite: black-on-white is bleeding red badly, but white-on-black looks fine.

The issue is (mostly) fixable by using appropriate monitor color profile.

>This is what we see by default. Some people like it, most don’t. (from maxvoltar, on the default webkit rendering (subpixel-antialiased))

Unsubstantiated claim is unsubstantiated. I, for one, find that I can read more quickly with OSX-style text rendering, and efficiency matters to me.

As to the "high contrast movement" OP, I find the lower contrast easier on my eyes. And I have friends who have to wear sunglasses to read books / computer screens because of the high contrast. It's a horse apiece.

As to the "high contrast movement" OP, I find the lower contrast easier on my eyes. And I have friends who have to wear sunglasses to read books / computer screens because of the high contrast. It's a horse apiece.

External monitors, at least, have contrast controls as well as brightness (I wonder why laptops don't).

The closest I've seen has been "Shades" for OSX - it just puts a colored transparent layer over everything (by default black) that makes the screen darker. Handy at night, when the lowest setting is still too bright, though it does make the not-blackness of on-screen black stand out.
You sure they're wearing sunglasses for the high contrast and not because of the white background?
I find it easier to read some of the low contrast sites than the linked - too MUCH contrast is often worse than too little (for me).
Dear webdesigners: please don't use huge images and CSS3 magic that makes your site ultra slow to scroll.
The author's focus on just 2 things, contrast and font, are not only overly simplistic, but are not even universally true for all people. For my eyes, reading high contrast black on white all day causes eye fatigue, while HN level of contrast (and the contrast on my site) causes less fatigue. I have no idea what percentage of people feel that way, but clearly some do.

I am a huge proponent of designing web sites for readability, and discuss my thoughts on optimizing site design for reading here:

http://www.filterjoe.com/2009/03/23/site-design-for-reading/

So many sites have too much clutter or layout problems that using Readable or Readability has become a requirement for me. For anyone not sure which to choose, I reviewed the latest versions of them here:

http://www.filterjoe.com/2011/04/11/web-page-reformatting-se...

I'd be curious for thoughts from HN readers on my own site's readability. It's what I optimized for, though I'm always open to improvement.

EDIT: reorganized, added eye fatigue

I'd be curious for thoughts from HN readers on my own site's readability.

Looking at:

http://www.filterjoe.com/2009/03/23/site-design-for-reading/

I find the comments and list items (within an item) need more line height for comfortable web reading. Body paragraph line height seems fine.

Both font size and line height are smaller for comments and list items. Are you saying you prefer more line height (without font size change)? Or do you generally prefer both line height and font size in lists/comments to be identical to body text? Or perhaps something half way in between, with line height just nudged up a little but not as much as body text?

I really appreciate the feedback - thanks.

Personally, I'd prefer the line height to be the same for all the mentioned items for a consistent vertical rhythm.

In any case, I know the line height was small enough that I noticed list items and comments felt cramped even before I saw you'd asked for feedback.

In this example, regardless of font size or face, the vertical rhythm follows the same beat:

http://www.alistapart.com/d/settingtypeontheweb/example.html

Another example (using third step headings for section spacing) showing smaller font on the same baseline grid:

http://www.thesheep.co.uk/examples/vertical-rhythm/

A calculator to help make the CSS:

http://topfunky.com/baseline-rhythm-calculator/

Just made some changes to line height that moved most of the way in the direction you suggested. You're right - it looks better. Thanks!
Just visited, and I no longer get that "lines too close" feeling, so I'd say whatever you did, worked great.
I like your site's readability. I also like the body font. It might be my default text font, dunno. But it seems that the lines of &lt;li&gt; elements are oddly compressed.
Thanks. Terreta mentioned the same thing about compressed line heights on lists so I just changed it. What do you think now?
The black-on-grey is hard to read for me, especially at default zoom. I'm bumped up 4 steps (just checked) which gives a bolder text.

Garrett Hardin (the Lifeboat Ethics / Tragedy of the Commons guy) actually had several of his books published with a deep brown ink on cream-colored paper, for maximum readability (c.f. _Stalking the Wild Taboo_ referenced here: http://books.google.com/books?id=jT-pl1LQTIIC&lpg=PA101&... ) Note that that particular reviewer didn't care for the effect.

HN _does_ have a simple layout that's highly amenable to resizing, to its credit.

You mention black-on-grey. Are you referring to HN or my site, www.filterjoe.com? My site is close to the color of a faded paperback novel, a yellow/beige. HN looks halfway between beige and grey on my monitor - so I'm guessing you're referring to HN. I've noticed that the higher the resolution is on a monitor, the easier it is to read lower contrast text.

I've noticed large color variance on different monitors. When I first started my site I went for very low contrast link color with no underlines (trying to reduce links as a source of distraction) but some people on some monitors couldn't see the links at all. So I put back in the underlines.

I meant HN, sorry about the ambiguity.

And yes to color variance on monitors. Early-gen laptop screens were horrible for accurately rendering subtle shading differences.

My stylesheet explicitly highlights links, and at least for a while there would add a yellow background on mouse hover, bolding on click. This was really useful especially for distinguishing closely-placed links, or links partially obscured by other page content.

You should not forget about compatibility, i.e. make sure the site works across various browsers and platforms. Why I'm talking about this? I can't use the lt/gt arrows to view more examples. The compatibility problem translates as an usability problem to the user.

edit: Also, the tooltip text went missing after some actions/time.

There was an article that did well on Hacker News a few months ago that said while high contrast is good, it shouldn't be 100% contrast. Instead, you should very slightly hint toward the theme color. So if you have a bluish background, your text could be #112 or something. I've followed the advice since and it definitely makes things easier on the eye vs #000 everywhere.
http://timecube.com/

- high contrast? check. - giant letters? check. - readable? ummmm ...

That said, it's a good suggestion, but the giant letters make this site hard to read on my 1024x600 netbook screen. And they did mention readability on smaller screens.

>designers need to think of elderly users with bad vision

There are plenty of us young folks with terrible low-contrast vision, too :) I've personally got HN turned up to 175% zoom, and even that's a bit on the low side if I want to read the text of self-posts.

IMO, this is an important distinction -- I once heard a friend indicate that, because their app was targeted at people aged ~20-30, accessibility wasn't an important focus. I thought that was a very short sighted decision.

A short sighted decision, indeed! :)
I Find it strange they're only talking about contrast and not line-height. That's the real dealbreaker for me. I am personally constantly changing line-height on other websites much more than type colour.
Why don't they show some high contrast designs that aren't just black text on a white background?

Some of the low contrast examples they gave were low contrast to draw attention away from them, not just for aesthetics.

This guy is overreacting.

Can you think of any well done websites with high contrast designs that aren't just black text on a white background? I was thinking the same thing but I couldn't think of any good examples off the top of my head--and to me that's a bit of a let down because all this time I've thought the text and style you use on your website can be an identifier of your brand or website. I mean if I could clearly read a site written in dark purple or something, I'd remember that.