106 points · by omnifischer · 9y ago · 83 comments
110+ characters per line is hard to read and ugly [1].
Pure black on white has been discussed many times. While it satisfies min contrast requirements, it feels unnatural, and again, hard to read, causing eye strain [2][3]. Although this is not an issue on screens with automatic brightness adjustment, they are sadly not everywhere and it is wiser to target an average screen considering Mozilla auditory.
[1] http://practicaltypography.com/line-length.html [2] http://ianstormtaylor.com/design-tip-never-use-black/ [3] https://ux.stackexchange.com/questions/23965/is-there-a-prob...
I completely disagree with this. Consider the failure modes of erring in either direction:
- Too much contrast? Reduce screen brightness. (This has the beneficial side effect of increasing battery life on mobile devices.)
- Too little contrast? Uhh… squint more, or try to find software that lets you override the designer's intent.
Most people aren't using professional screens in low lighting, and not everyone has young eyes. Lower contrast can be a deal-breaker for these people. Even for those with perfect vision, low contrast can be incredibly annoying. It's so frustrating to view a screen in direct sunlight and be unable to see content because a designer didn't want to cause eye strain.
A side note: Amusingly, the first thing I did when looking at your second source (http://ianstormtaylor.com/design-tip-never-use-black/) was use my reader mode extension. I disliked the off-black sans-serif font.
1. e.g. scroll to the bottom of https://geoff.greer.fm/2017/02/28/software-rot/ and click "go dark".
>I completely disagree with this
Pure black on white has been reccommended against for some time, typically you'd use dark grey on a pure white bg
>Note: for low resolution screens, an overly strong contrast (full black and white) is not ideal either, as the text starts to flicker. Benchmark: #333 on #fff.
It's not that straightforward. While shorter line lengths may be preferrable for reading bodies of text[1], API pages are rarely read top to bottom. Reducing the number of characters per line makes less content visible on screen, necessitating extra scrolling and slowing down visual searching.
[1] Though it's quite possible to cherry-pick citations for either side: https://www.researchgate.net/profile/Barbara_Chaparro/public... (PDF)
Er, not sure if you're looking at the before and after screenshots the wrong way round? The new design appears to reduce the number of characters per line from ~100 to ~80 (by increasing the body font size).
Compare first line of Array#slice in the old design:
"The slice() method returns a shallow copy of a portion of an array into a new array object selected"
vs the new:
"The slice() method returns a shallow copy of a portion of an array into a new array"
If I find myself there more, I'd be inclined to send him something.
As to its effects, I think he'd prefer to drive off any and every reader who is offended by the ask. They are just costing him bandwidth with zero chance of any return. Maybe they share it with someone who ends up donating, but people who actually donate are much more inclined to be good sources of referrals to other people who may donate.
As to whether it equates to posting a link to an ad or promotion, I really don't think it crosses the line. This isn't one of those informercial sites that lead you on for an eternity without ever providing anything of substance. Instead this is just an interstitial on steroids meant to drive off undesirable traffic. It's 1000 times better than annoying ads and/or anti-blocking measures, imo.
I guess because I have been to the site before, Matthew has just an irrational disdain for HN readers.
So the poster probably didn't even know about this redirection.
I always favor MDN over w3schools results when searching for a javascript, HTML, DOM or CSS property :)
You should check out Django's documentation: https://docs.djangoproject.com/en/1.11/
In my opinion, it is the gold standard.
Though lately, caniuse, node.green and similar seem to be my bigger searches. It's hard to keep up with some of the cross supported JS features. MDN helps a lot with syntax/usage, and it's way better than any alternatives I've seen as a pure JS resource. I do wish they'd expand the browser versions supported beyond just which browsers are supported a bit more though, then they'd be my first for almost everything.
However, I'm just as concerned about the huge font sizes and high font weight as the majority here. It really distracts from the actual content.
In the "highlight bold" variant, if you type out "mozilla" it becomes the new wordmark: https://ffp4g1ylyit3jdyti1hqcvtb-wpengine.netdna-ssl.com/ope...
I've posted the link to this thread over there along with a couple main points from the comments here so far, but if you really want to make sure your input is heard, you might want to hop on over there to give it. You can log in with a GitHub or Google account if you don't feel like signing up with your email.
And less actual content, forcing you to scroll or zoom out.
Even Hacker News I have permanently zoomed to 125% and sometimes find it to be too small.
Bravo Mozilla, looks great!
This is an issue of eyesight, a ridiculously high DPI without corresponding scaling, or both.
HN didn't exist in the 1990s, but its design principles are from that era. The look itself is a nice throwback, but the type size follows a technical constraint that no longer makes sense (it only made sense when CSS was nonexistent or very limited).
Plus, improving typography and cohesiveness of design language can aid speed of navigation, when done carefully.
That said, I did think MDN's current design was both usable and modern, so it wasn't high up on the list of sites I was hoping for a refactor of...
Comparison: http://imgur.com/a/81cYg
The increased font size and more pronounced page hierarchy make it easier for me to grok the page structure at a glance and navigate to the section I need (since I'm probably not reading the entire page front to bottom if I'm at an MDN link).
Why does all information need to be above the fold? It's not like I can interpret everything on the page in the 1000ms necessary it would take me to scroll.
No, it doesn't. The Array.prototype.slice() documentation is eight screens high on my Macbook Pro.
Note also the difference in vertical size of the two screenshots - you're comparing apples to oranges.
And unrelated, the new Mozilla logo: still cannot get used to it; seems like the calligraphic humble old one was vandalized by some 1337 H4X0RZ :|
Is scrolling really the big of a barrier for information? It seems like a fair trade off to me. They're current design tends to blend together for my eye when scanning and is difficult to "jump" to the sections I'm looking for.
IMO they could try making the bold header a lighter shade to stop stealing focus. I much prefer the older one for readability.
At least the ES6 Map has finally usurped the antiquated <map> as the top 'Map' result :)
Firefox's drop to 15% market share has a big effect on developers. I've watched my add-on usage drop in lockstep with Firefox's market decline.
[0] https://blog.mozilla.org/opendesign/future-mdn-focus-web-doc...
MDN looked and felt great to browse before, now the headline is absurdly misproportioned and in the wrong place (not in the text column).
So, I have to make the rest of my UI unreadable, just because you prefer to use a cheap chinese 20$ screen which can’t even handle sRGB?
Please edit this sort of acerbic swipe out of your comments here. It breaks HN's civility rule.
https://news.ycombinator.com/newsguidelines.html
We detached this subthread from https://news.ycombinator.com/item?id=14746365 and marked it off-topic.
Welcome to reality, most people use cheap $20 chinese screens.
We should try and create the content in the best possible formats, with the highest available standards, and then the user agent, acting on behalf of the user, should scale that to the user’s current system, increasing or decreasing the contrast.