Jeffrey Zeldman's Blog, page 26
October 22, 2015
Phonedrome

SOMETIME in the night, maybe around 4:00 AM, my new iPhone, which is my only alarm clock, and which was plugged into the wall and fully charged, powered itself down and went black. Maybe it just happened. Maybe Snow White, my restless night ghost cat, accidentally triggered the shutdown by stepping daintily on the phone.
Sometime in the night, maybe around 4:00 AM, I woke up. I’m no longer in the habit of waking in the middle of the night, and I don’t know what made me do it this morning. Maybe it was Snow White, silently walking on my chest, and fleeing just before her action produced the desired result of waking me, so that I thought I woke on my own. Maybe it was a preternatural connection between my central nervous system and the iPhone—like something out of Cronenberg—responding to the phone’s silent shutdown. (Wake up! I’ve died! the iPhone cried.)
Or maybe it was the anxieties of the day before catching up with me. A hugely important business meeting yesterday, yada yada. Something odd and unsettling my daughter’s teacher had said in school the day before (if my daughter’s report of what happened was accurate). An argument my daughter had yesterday with her best friend, and her conviction (voiced to me only) that they were drifting apart forever. Or maybe I just drank too much water before going to sleep. Whatever the cause, I lay there awake. And lay there. Giovanni, the tuxedo cat, on my arm. Snow White, who sleeps in my daughter’s room, suddenly in my room, standing on my chest.
After about an hour of anxious thoughts and idle fur stroking, I reached for the phone to see what time it was. And that’s how I discovered that the device was strangely cold, except around the lightning port, which felt unnaturally hot. The screen was black. My button pushing, which began desultorily and grew ever more urgent, had no effect. The device would not come on. It was cold. Off. Maybe dead!
And suddenly I was out of bed, because that’s what happens when your mobile device stops working. You spring into action like a firefighter at a burning building. Flicking on living room lights, brewing a Nespresso (sorry), plugging things in, pushing buttons with the methodical calm of an ER surgeon.
Never fear, O my friends of the internet, the device came back to life. Yes.
What’s strange is that, if I hadn’t woken up early, I would have slept right through, because the alarm would not have gone off, and without it (for instance on Saturdays) I sleep in hard.
And if I had slept right through, I would have missed my daughter’s “publishing party” at school today (that’s what the school calls it when the kids read stories aloud that they have written), and she would have been late to school one too many times this year. I would also have missed my appointment at the Apple store in Grand Central—the first Apple store appointment I’ve made in years, to fix an iPad Mini which mysteriously stopped taking a charge two weeks ago and is now, essentially, a large, awkward guitar pick.
Is my phone jealous of my iPad? Did it shut down so I’d sleep through my appointment at the Apple store?
Did I wake from family worries? Business concerns?
Was it because I knew my phone needed me?
Or was it just the cats?
The post Phonedrome appeared first on Zeldman on Web & Interaction Design.
October 21, 2015
Web Performance Today

WEB DESIGNERS have cared about web performance since the profession’s earliest days. When I started, we saved user bandwidth by employing GIF images that had the fewest possible colors—with no dithering, when possible, and by using actual web text instead of pictures of web text. (Kids, ask your parents about life before CSS enabled, type designers created formats for, browsers finally supported, and Typekit quickly popularized web fonts.)
Later, we learned to optimize JPEGs and blur their backgrounds: the blurrier large swathes of a JPEG image can be, the lower the bandwidth requirements for the image. We found the optimally performant size for repeating background tiles (32 x 32 and 64 x 64 were pretty good) and abandoned experiments like single-pixel-wide backgrounds, which seemed like a good idea but slowed browsers, servers, and computers to a crawl.
We developed other tricks, too. Like, when we discovered that GIF images optimized better if they possessed repeating patterns of diagonal lines, we worked diagonal background images into a design trend. It was the trend that preceded drop shadows, the wicked worn look, and skeuomorpic facades, which were themselves a retro recurrence of one of the earliest styles of commercial web design; that trend, which was always on the heavy side, performance-wise, eventually gave way to a far more performant grid-driven minimalism, which hearkened back to classic 1940s Swiss graphic design, but which our industry (sometimes with little knowledge of design history) called “flat design” and justified as being “born digital” despite its true origins going back to pixels, protractors, and a love of Greek mathematics.
All of this nostalgia is prelude to making the obvious comment that web design today is far more complex than it was in those golden years of experimentation; and because it is so much more complex, front-end performance is also far more complicated. You didn’t need an engineering degree to run DeBabelizer and remove needless elements from your markup, but, boy, does front-end design today feel more and more like serious coding.
All of which is to say, if you’re a front-end designer/developer, you should probably read and bookmark Nate Berkopec’s “Ludicrously Fast Page Loads – A Guide for Full-Stack Devs.” While you’re at it, save it to Pocket, and as a PDF you can read on your tablet.
I cannot verify every detail Nate provides, but it is all in line with recommendations I’ve heard over and over at top conferences, and read in articles and books by such performance mavens as Jake Archibald, Lara Hogan, Scott Jehl, and Yesenia Perez-Cruz.
You should also pick up these great books on performance:
Designing For Performance: Weighing Aesthetics and Speed by Lara Hogan (O’Reilly); also free to read online
Responsible Responsive Design by Scott Jehl (A Book Apart)
(It’s not why I wrote this post, but if you order Scott’s book today, you can save 10% when you enter discount code ABAHARVEST at checkout.)
Even the most complex site should work in any device that reads HTML. It should work if stylesheets fail to load or the device doesn’t recognize CSS. It should work if JavaScript fails to load or the device doesn’t recognize JavaScript. The principles of standards-based design will never change, no matter how complex our web becomes. And as it becomes more complex (and, arguably, much richer), it behooves us to squeeze every byte of performance we can.
Websites can never be too rich or too thin.
The post Web Performance Today appeared first on Zeldman on Web & Interaction Design.
October 15, 2015
A Helvetica For Readers
ACUMIN by Robert Slimbach is a new type family from Adobe that does for book (and ebook) designers what Helvetica has always done for graphic designers. Namely, it provides a robust yet water-neutral sans-serif, in a full suite of weights and widths. And unlike the classic pressing of Helvetica that comes on everyone’s computers—but like Helvetica Neue—Acumin contains real italics for every weight and width.
Reading about the design challenges Slimbach set himself (and met) helps you appreciate this new type system, whose virtues are initially all too easy to overlook, because Acumin so successfully avoids bringing a personality to the table. Enjoying Acumin is like developing a taste for exceptionally good water.
Nick Sherman designed the website for Adobe, and its subtly brilliant features are as easy to miss at first look as Acumin’s. For starters, the style grid on the intro page dynamically chooses words to fit the column based on the viewport size. Resize your browser and you’ll see how the words change to fill the space.
Heaps of behind-the-scenes calculation allow the page to load all 90 (!) fonts without breaking your pipes or the internet. Developer Bram Stein is the wizard behind the page’s performance.
Nick uses progressively enhanced CSS3 Columns to create his responsive multi-column layout, incorporating subtle tricks like switching to a condensed font when the multi-column layout shrinks below a certain size. (This is something A List Apart used to do as well; we stopped because of performance concerns.) In browsers like IE9 and earlier, which do not support CSS3 Multiple Column specification, the layout defaults to a quite readable single column. Nick adds:
It’s the first time I’ve used responsive CSS columns for a real-world project. This was both frustrating and fun because the CSS properties for controlling widows and orphans are very far behind what’s possible in InDesign, etc. It also required more thinking about vertical media queries to prevent a situation where the user would have to scroll up and down to get from the bottom of one column to the top of the next. If the viewport is too short to allow for easy reading across columns, it stays as a single column.
He describes the challenges of creating the site’s preview tool thusly:
We had to do some behind the scenes trickery in order to get the sliders to work for changing widths and weights. It’s a good way to allow people to type their own text and get a feeling for how the family can be used as a system for body text and headlines (unlike Helvetica, which is more limited to the middle range of sizes). Chris Lewis helped out a lot with getting this to work. It even works on a phone!
Book designers have long had access to great serif fonts dripping with character that were ideal for setting long passages of text. Now they have a well-made sans serif that’s as sturdy yet self-effacing as a waiter at a great restaurant. Congratulations to Robert Slimbach, Adobe, and the designers and developers mentioned or interviewed here. I look forward to seeing if Acumin makes it into new website designs (perhaps sharing some of Proxima Nova‘s lunch), especially among mature designers focused on creating readable experiences. And I pray Acumin makes its way into the next generation of ebook readers.
(Just me? In both iBooks and Kindle, I’m continually changing typefaces after reading any book for any period of time. All the current faces just call too much attention to themselves, making me aware that I am scanning text—which is rather like making filmgoers aware that they are watching projected images just when they should be losing themselves in the story.)
The post A Helvetica For Readers appeared first on Zeldman on Web & Interaction Design.
October 9, 2015
USA: Designed With Web Standards
MY BIG WEB SHOW guest today is front-end designer Maya Benari, a leading contributor to the U.S. Web Design Standards.
Recently launched, and deservedly much lauded, the U.S. Web Design Standards consist of open source UI components plus a visual style guide, and are designed to create consistency and beautiful user experiences across U.S. federal government websites. Accessibility, semantics, and mobile-first responsive web design are baked in, right out of the box.
Maya and Jeffrey discuss the genesis of the project, the teams behind the scenes, and why improving people’s lives is sexier than building sandwich rating apps.
✩ ✩ ✩ ✩ ✩ ✩ Listen to Big Web Show № 136—USA: Designed With Web Standards, featuring Maya Benari.
RELATED LINKS FOR YOUR EXPLORING PLEASURE
U.S. Web Design Standards – https://playbook.cio.gov/designstandards/
Introducing the U.S. Web Design Standards – https://18f.gsa.gov/2015/09/28/web-design-standards/
Maya Benari’s website – http://maya-benari.com
Maya Benari: Front End Designer – https://18f.gsa.gov/team/maya/
18F Guides – https://pages.18f.gov/guides/
18F – https://18f.gsa.gov
Maya Benari on Github – https://github.com/maya
Getting Started with U.S. Web Design Standards – https://playbook.cio.gov/designstandards/getting-started/
Bourbon – http://neat.bourbon.io
The post USA: Designed With Web Standards appeared first on Zeldman on Web & Interaction Design.
September 29, 2015
Love. Listen. Learn.

NOTE: Below is a transcript of my aural contribution to Episode № 185 of The ShopTalk Show (“This Idea Must Die”):
AS A COMMUNITY, we have to stop demonizing those with whom we disagree.
Attacking the intelligence, moral fiber, and grip on sanity of those who hold opinions contrary to ours is nothing new on the internet. It’s as old as newsgroups. A minute after somebody started alt.opinions.design, a second person signed up just to tell the first person to screw off.
And of course it’s even older than that. Progressive groups that try to bring positive change to their community are always splitting into factions that despise each other. If you’ve seen Monty Python’s “The Life of Brian,” and remember the sequence where the zealots are sitting in an ancient square, attacking other zealot groups for being “splitters,” you have a good idea of how far back this goes.
To J. Edgar Hoover, there was no difference between Lenin, Stalin, and Trotsky—but, boy, did the Stalinists and Trotskyites disagree with that point of view. Ask two Communists a question and you’ll get three answers and four bullets. And, minus the bullets, the same is true for social-progress-minded web designers and developers. And equally true for reactionaries, who think the system is fair for everyone, since it’s always been good to them.
Until we are free to disagree on the most sensitive of subjects without maligning each other’s integrity, we will not be able to solve the biggest problems we face as a people and an industry.
I’m Jeffrey Zeldman. Thanks for listening.
I encourage you to listen to Episode № 185 of The ShopTalk Show (“This Idea Must Die”).
The post Love. Listen. Learn. appeared first on Zeldman on Web & Interaction Design.
September 23, 2015
Web Animation with Val Head
VAL HEAD and I discuss how to create an animation style guide, the genius of user queries, the web animation API, frame by frame animation, animating with math in Flash, Disney animation and the illusion of life, animating for meaning, how to animate without triggering vestibular disorders, resources for accessible animations, and what to eat in Lawrenceville, PA.
BIG WEB SHOW № 135: How Does Your Brand Live in Motion? Web Animation with Val Head
The post Web Animation with Val Head appeared first on Zeldman on Web & Interaction Design.
September 18, 2015
Ad Blocking and the Future of the Web

YOUR site may soon be collateral damage in a war between Silicon Valley superpowers. By including ad blocking in iOS9, Apple isn’t trying to take down your site or mine—just like the drone program doesn’t deliberately target civilians and children. Apple is trying to hurt arch-rival Google while providing a more elegant (i.e. more Apple-like) web experience than user-hostile ad networks have previously allowed. This is a great example of acting in your own self-interest, yet smelling like a rose. Will independent sites that depend on advertising be hurt along with Google?
We have always been at war with Eastasia
We should be used to this war between digital super companies by now. iPhone and iPad users, consider your Amazon experience on the platform. Notice how you can’t buy books in your Kindle app in iOS? Apple supports Amazon to the extent of letting Amazon distribute Kindle software on the iOS platform. But if you want to buy a Kindle book for your phone, you have to go to a desktop browser (or open Safari on your phone and navigate to Amazon.com). Kind of encourages you to get your digital books in iBooks instead.
Same with Amazon’s video app on iOS. You can stream all the movies you want on your phone or iPad, but you can’t buy them in the Amazon Video app. You must use a desktop browser or navigate to amazon.com in the version of Safari that comes with iOS. Kind of encourages you to buy videos from iTunes instead.
You also can’t buy Kindle books or streaming Amazon videos in the Amazon shopping app for iOS, although you can use that app to shop for anything else.
See, Amazon doesn’t want to give Apple a cut of its media sales, so Apple won’t let Amazon sell products in its apps. In Apple’s reasoning, all other vendors pay Apple a cut; Amazon shouldn’t get a pass. And Amazon is serious about not sharing revenue, because Amazon is a ruthless competitor that has taken over nearly all retail sales in the U.S. by giving consumers the lowest possible price—a price that leaves them no margin to share with Apple. It’s also a price that strangles the companies that provides the goods Amazon sells. Oh, well.
Because Amazon is serious about not sharing sales revenue with Apple, and Apple is serious about blocking sales by any vendor that refuses to share revenue, Apple denies Amazon the right to sell products via its iOS apps. Who suffers? You, the consumer, as you put down your phone and toddle over to a desktop—or just shrug and do without. (Not that it’s the worst suffering in this world. But it is anti-consumer, and makes both Amazon and Apple look bad.)
Still, we’re used to this and don’t think about it.
Ad blocking is a different beast.
Certainly, at first, ad blocking seems like a different beast. After all, consumers may want to buy books in their Kindle app, but no consumer is clamoring for more ads. And media and advertising have only themselves to blame for the horrendous experience online advertising has become. We hate advertising so much, we’ve trained ourselves not to look at the top or right sidebar on most sites. In fact, it’s become a designer’s trick that if the client forces you to put the CEO’s pet link on the home page, you hide it in plain sight at the top of the sidebar, where no one but the CEO will see it. Popups and screen takeovers and every other kind of anti-user nightmare have made advertising a hated and largely ignored thing on the web.
There are tasteful ad networks, to be sure. The Deck, which Jim Coudal created with Jason Fried and me, serves one single, small, tasteful, well targeted ad per page. When we launched The Deck, I hoped other networks would take inspiration from it, and figure out how to increase engagement while minimizing clutter. But of course the ad networks have done the opposite—constantly interrupting content to force misleading, low-interest ads on you.
Hip web consumers have long used third-party ad blockers to unfug the web experience, and great applications like Readability explored alternate content revenue models while boosting type size and removing ad clutter from web content. I served on the Readability advisory board. And I used to go around the world warning designers that if we didn’t figure out a way to create readable, clutter-free layouts for our clients’ sites, apps like Readability would do it for us—putting us out of work, and removing advertising as a revenue stream for media companies. As it happens, in the intervening years, many smart sites have found a way to put content first and emphasize not just legibility but readability in their layouts. The best of those sites—I’m thinking of The New York Times here—have found a way to integrate advertising tastefully in those large-type, content-focused, readability-oriented modern layouts. (Medium.com, of course, does an amazing job with big type and readability, but it doesn’t need to integrate advertising—at least not yet—as it floats on a sea of VC bucks.)
But advertisers don’t want to be ignored, and they are drunk on our data, which is what Google and other large networks are really selling. The ads are almost a by-product; what companies really want to know is what antiperspirant is a woman of 25-34 most likely to purchase after watching House of Cards. Which gets us into issues of privacy and spying and government intrusion and don’t ask.
And in this environment of sites so cluttered with misleading ads they are almost unnavigable, Apple looks heroic, riding to the consumer’s rescue by providing all the content from newspapers without the ads, and by blocking ugly advertising on websites.
Consumer good vs. consumer good
What Apple’s doing wouldn’t matter so much if consumers were still sitting down at a desktop to get their news. But they’re not. Everyone does everything on mobile. Including browse the web.
Thus in The Verge today, Nilay Patel argues there’s a real risk that, in attacking Google’s revenue stream, Apple may hurt the web itself:
The collateral damage of that war — of Apple going after Google’s revenue platform — is going to include the web, and in particular any small publisher on the web that can’t invest in proprietary platform distribution, native advertising, and the type of media wining-and-dining it takes to secure favorable distribution deals on proprietary platforms. It is going to be a bloodbath of independent media. … Taking money and attention away from the web means that the pace of web innovation will slow to a crawl. —Welcome to hell: Apple vs. Google vs. Facebook and the slow death of the web
John Gruber thinks otherwise, at least for small indie sites like his:
Perhaps I am being smug. But I see the fact that Daring Fireball’s revenue streams should remain unaffected by Safari content-blocking as affirmation that my choices over the last decade have been correct: that I should put my readers’ interests first, and only publish the sort of ads and sponsorships that I myself would want to be served, even if that means leaving (significant) amounts of money on the table along the way. But I take no joy in the fact that a terrific publication like The Awl might be facing hard times. They’re smart; they will adapt.—Because of Apple
In Publishing Versus Performance, I looked at the conflict between advertising and content through the filter of performance. For those who didn’t read it (or don’t remember), I pointed out that most consumer interaction with the web happens on mobile, which means it happens on mobile networks, which, at times at least, may be severely bandwidth-constrained; so performance counts as it hasn’t in years. And while good designers and developers are working like never before to create performant websites, the junk ad networks spew interferes with their good work and slows websites to a crawl. This threatens the future of the web, as consumers will blame the web for poor performance, and stick to apps. But removing those ad networks isn’t an option, I pointed out, since, abhorrent or not, advertising dollars are the engine that drives digital media—no bucks, no content.
Well, now, Apple has decided for us. Removing those ad networks may not be an option, but it’s happening anyway. How will it affect your site?
The post Ad Blocking and the Future of the Web appeared first on Zeldman on Web & Interaction Design.
September 16, 2015
This Machine Kills Pixels: Khoi Vinh on Design & Design Tools
KHOI VINH (@khoi) is my guest this week. Khoi is a a Principle Designer at Adobe, design chair at Wildcard, and former design director at NYTimes.com. He blogs at subtraction.com. Over a cordial hour, we discuss the surprising results of his recent design tools survey; how to watch TV; being creative on the iPad; the inspiration behind Adobe Comp CC; juggling multiple projects to stay fresh; choosing an extracurricular project; how design has changed in the past two years; and more. Enjoy Big Web Show Episode № 134: This Machine Kills Pixels.
Sponsored by Braintree, Casper, and DreamHost.
URLS
@khoi on Twitter
Subtraction.com
The Tools Designers Are Using Today
Sketch digital design software
Design Tools: What Are You Using
Khoi’s latest book
Wildcard
Kidpost – Photo Sharing for Families
The post This Machine Kills Pixels: Khoi Vinh on Design & Design Tools appeared first on Zeldman on Web & Interaction Design.
September 13, 2015
The independent content producer refuses to die!

2001 IS CALLING, and while it may not look fresh, its message still resonates:
We believe that the web is a remarkable medium for new forms of art, personal storytelling, and all manner of information and services whose rewards are not necessarily financial.
The independent content scene is alive and well, but is largely unknown by the general web-using public.
We seek to support each other as a community, and to increase, if possible, the general public’s awareness not only of existing independent sites, but of the fact that they can create their own.
INDEPENDENTS DAY is a wholly non-owned, non-commercial, non-subsidiary of nothing.
Independent content on the web: a declaration of principles from 2001, still relevant today, from Independents Day.
The post The independent content producer refuses to die! appeared first on Zeldman on Web & Interaction Design.
September 10, 2015
@font-face and Web Performance
Some time in 2009, Firefox and Opera began shipping @font-face support with the former behavior: text would render with fallback fonts until downloadable font resources became available. But this choice frustrated many users (see the Firefox bug report) and was quickly dubbed FOUT, the Flash of Unstyled Text . Articles were written about fighting the @font-face FOUT. It wasn’t long before most browsers were hiding text while fonts downloaded. Unfortunately, the main issue with @font-face now is what many wanted to avoid years ago: the FOIT, or Flash of Invisible Text.
Source: The @font-face dilemma | Viget
The post @font-face and Web Performance appeared first on Zeldman on Web & Interaction Design.