1. Optimizing User Experience Across Devices withResponsive Web Design User Focus - October 19, 2012 Clarissa Peterson @clarissa
2. Captions have been added for those of you viewing this online. So you canpretend like you were actually there…
3. Responsive Web DesignBefore starting, I want to make sure everyone knows what responsive design is.
4. If you’ve visited websites on a smartphone like an iPhone, you’reprobably used to seeing the regular desktop version of a website shrunk down to a small size.You have to zoom in to read any of the text.
5. And you’ve seen websites that have a separate mobile version. You don’t have to zoom on your mobile phone, but you also may not get all of the content that’s on the full website.
6. One Website On a responsive website, the browser responds to the size of the screen anddisplays the content in a way that it is appropriate for that screen size. But it’s only one website, one set of code, one set of content. Not separate websites.
7. It makes more sense if I show you. This is The Boston Globewebsite, which launched a responsive redesign in 2011. At thetime, it was the largest responsive web design project to date.
8. This is the site at the narrowest width: what you would see on yoursmartphone. The text is all full size, you don’t need to zoom in to read.
9. As you make the website wider, the content expands to ﬁll the space.
10. Now there’s enough room for the content to moveinto two columns. It’s the exact same content, though.
11. At desktop width, there is now room for everything to rearrangeinto three columns.You can see a lot more without scrolling, but it’s the same content as you see on a mobile phone.
12. Looking at the site in more detail, you’ll notice that there isn’t a full navigation at the top of the page.
13. But if you click on “Sections,” you’ll get a drop- down menu of the sections of the website.
14. Click it again and the Sections menu goes away.
15. At this slightly wider size, the content has expanded to make use of the full screen, and you can also see that the items in the header have been rearranged to take advantage of the space.
16. There’s still a drop-down menu for the Sections navigation,but now the navigation items are in two columns instead of one. Again, this is to take advantage of the extra space.
17. There isn’t enough room for the search box to appear at the top ofthe page. So instead there’s a search icon, and when you click on it…
18. Your search box appears.
19. Click it again and it goes away.
20. Now we’re at about the size of a tablet, and there’s enough roomfor two columns. Additionally, the search box in the header now appears by default, you don’t need to click to get it.
21. You still need to click the Sections link to see the navigation.
22. At this width, there’s enough room for three columns. Additionally, the full Sections navigation appears at the top; you don’t need to click to see the navigation items.
23. As we go even wider, things expand to take advantage of the extraroom, including the picture at the top left. The picture continues to be the full width of the column even as the column gets wider.
24. At a full desktop width, there is plenty of room for a detailed layout, but we stillhave the exact same content as we started with at the narrowest screen width.
25. Before I tell you how responsive design improves the user experience of a site, I’m ﬁrst going to tell you a little bit about how responsive design came about.
27. Before mobile, computers and phones were totally separate. Our jobs as UXdesigners were much easier. And we couldn’t have even imagined what was coming.
29. Now there are all these different devices that we can use to access theinternet: smartphones, feature phones, tablets, laptops, eReaders. Whowould have thought you can carry a computer around in your pocket? Photo credit: Brad Frost via Creative Commons http://ﬂic.kr/p/cfQwL7
30. Nobody could have predicted the way things are now. So we need to understand we can’t predict the way things may be in the future.
31. Fixed-width SiteWhen we ﬁrst started designing for mobile phones, there were two main options. The ﬁrst was to just leave the site the way it was.You could still access the site from your mobile phone, you just had to zoom in and out to see everything.
32. This is what I get when I visit The New York Times website. I imagine they have a mobile site, but I can’t ﬁnd a link from this page.
33. It seems okay, other than everything being really tiny.
34. But when I zoom in so that the text is actually large enough for me to read, this is what I get. It’s pretty hard to read when you can’t even see a full line of text all at once.
35. Separate Mobile Site The other option was to create a separate mobile website. It hadseparate code, and often separate content, from your main website.
36. This mobile site from USA.gov doesn’t look too bad. It’s very clean and the navigation is easy to understand.
37. But when I go to the main USA.gov website, there’s all this content that isn’t on the mobile site. If I’m viewing the mobile site, I won’t have access to it.
38. Neither of those options was the right answer. Web designers tried out a lot of different ideas and techniques, looking for a better solution to the challenge of designing for mobile phones.
39. Responsive DesignIn 2010, web designer Ethan Marcotte put together a few different techniques into something he called “Responsive Web Design.” It started to catch on.
40. He described it in an article for A List Apart later that year, then wrote a book about it in 2011. This is a great book to read if you want to learn more about responsive design.Responsive Web Design http://www.abookapart.com/products/responsive-web-design/
41. Responsive web design offers us a wayforward, ﬁnally allowing us to “design forthe ebb and ﬂow of things.” - Ethan Marcotte
42. Future-FriendlyOne of the great things about responsive design is it allows us to plan forwhat might be coming in the future. We can’t predict the future and makeour websites future-proof, but we can make our websites future-friendly.
43. Content ParityAn important user experience issue that we need to think about is content parity, which is the idea that everybody should have access to the same content, no matter what device they’ve using to access the website.
44. For example, on the Consumer Reports site, the Recalls & Safety section is very important if you need information about recalled products.
45. But when I try to ﬁnd that content on the mobile Consumer Reports site, I don’t see it.
46. At the bottom of the page, there’s a helpful-sounding link, “Can’t ﬁnd what you’re looking for?” Perhaps it will lead me to a site map or something else that will help me ﬁnd what I need.
47. But when I click it, I get this. (read #2 above)
48. The beauty of the web is its openness. Don’t arbitrarily lock people out because of browser, device or conﬁguration. - Brad Frost @brad_frostSomething to think about:17% of cell phone owners in the United States access theinternet mostly from their phones.You can’t assume that people only do basic tasks on their phones, and do everything else from their desktop computers later.
49. Here’s another example. When I paid my car insurance bill recently, I found this helpful link on the front page of the Geico website, “make a payment.”
50. This next page was kind of unnecessary, but then...
51. I got to this page, where I discovered that I could access the paymentpage by just entering my phone number and zip code. I didn’t need to remember my username, password, or account number.
52. It makes sense. Why have unnecessary security on a pagewhere the only option is to give them your money? Who is going to try to sneak in to pay someone else’s bill?
53. I thought I’d check whether I’d have the same option on Geico’s mobile site. First, I got redirected to a page that tried to convince me to download an app to pay my bill. It seemed a lot of effort to just pay a bill, so I clicked “No thanks,” and then...
54. I got this page, half of which is wasted on a photo of the nightsky. It seems like the only option for paying my bill is to log in.
55. I thought perhaps the “Explore GEICO” button would give me some of the other options from the website.
56. But no, that just gives me links to their social mediapages. I’m not sure what that has to do with exploring.
57. So my only option, if I didn’t want to log in to pay my bill, was to clickthis tiny “Desktop Site” link all the way at the bottom of the screen. It’sclear that they don’t care if I can ﬁnd my way to the rest of the content.
58. Context of UseAnother important user experience consideration is context of use.This refers to the conditions under which the website is being used.
59. You’ll hear people talk about “mobile context,” but it’s more complicated thanthat. Not all people using mobile devices are out running around somewhere, and not all people using desktops/laptops are sitting behind a desk.
60. Some people actually are running around when they’re using their mobile device. Photo credit: Mith Huang via Creative Commons http://ﬂic.kr/p/9B7A4c
61. But others might be sitting on the sofa at home, browsing the web or buying tickets to Disney World.Photo credit: Kai Chan Vong via Creative Commons http://ﬂic.kr/p/5c4Sfv
62. I’m not sure what these kids are doing, especially the one on the left, but they’re deﬁnitely not running around.Photo credit: Carlos Smith via Creative Commons http://ﬂic.kr/p/8tLb4P
63. It can be downright surprising where people are using their mobile devices. Photo credit: Pete Markham via Creative Commons http://ﬂic.kr/p/2zvrrJ
64. Just as there isn’t only one context of use for people with mobile devices, there also isn’t only one context of use for desktop and laptop computers.
65. For example, you can’t assume someone on a phone has a slow connection, and someone on a laptop/desktop has a fast connection. Most of us have sufferedthrough slow hotel room wiﬁ where it takes a couple minutes to load one page. Photo credit: Wendi Dunlap via Creative Commons http://ﬂic.kr/p/vMJM6
66. So then why not make it faster for everybody, not just mobile users?
67. You also can’t make assumptions about screen size. An ofﬁce worker may have a tiny screen...Photo credit: Channy Yun via Creative Commons http://ﬂic.kr/p/51QJr6
68. While a home user may have a huge monitor.Photo credit: Matt Hamm via Creative Commons http://ﬂic.kr/p/EyrLG
69. Responsive Design So you need a site that works for everyone. That’s where responsive design comes in.
70. Mobile FirstThere are different ways to put together a responsive design. The best wayis to use a mobile-ﬁrst perspective. Designing for the smallest screen ﬁrst forces you to focus on the content, and decide what’s really important.
71. Trying to ﬁt everything from a desktop site into a mobile site often just doesn’t make sense.
72. The Washington Post realized this. Their mobile website is much simpler,cleaner, and straightforward. It only has the information you actually want.
73. But then who do they think is actually going to want the rest of it? This istheir front page. I counted 184 text links (that’s not including images or ads).
74. Too much visual information thrown at me all at once makes my head hurt.
75. Mobile use case: I just transferred moneyat my desk using my phone becauselogging into my banking app requiresfewer steps. - Stephanie Rieger @stephanierieger Why is it easier to do a transaction on a mobile phone rather than on the bank’s regular website?
76. Make it work better for everybody.
78. United Pixelworkers is an ecommerce site. Not all responsive sites arecontent-based rather than functionality-based.You can scroll down to see the various products that are featured on the front page.
79. When the screen gets wider, everything rearranges so you can see more at once.
80. At full width, you have a beautiful layout. But it’s the exact same content that you saw at the narrowest width.You won’t bemissing anything if you go to this site from your mobile phone.
81. The WWF site has beautiful photography. They don’t want to waste it by making the photos tiny on a small screen.
82. At desktop size, there’s space to make the main photo even bigger, but still room to show additional photos below.You’ll get the same content whether you’re on a mobile phone or a huge monitor, you’ll just be able to see more without scrolling.
83. This is a company that sells surfboards. Instead of making the picture change size...
84. They show more of the picture. Responsive design gives you a lot of options.
85. The University of Chicago has a lot of information on their website. By designing from the smallest screen size ﬁrst, they were able to make sure the most important content appears at the top of the screen.
86. On a desktop screen, you see the same content, but there is room for someadditions, such as the sub-caption on the main photo. That text isn’t an integral part of the content, so it was hidden at the narrower width to save space.
87. You’ve probably noticed from these examples that responsive designstend to be very clean and uncluttered. Compare that to the Washington Post site we saw earlier. Which is a better user experience?
88. On responsive designs, since it’s the same website no matter what sizeyou’re viewing it at, the branding and the look & feel are consistent across devices. This often isn’t the case when you have a separate mobile site.
89. There’s more content on the page at this width, and you see additional elements such as the navigation. But it still looks and feels like the same website.
90. Emeril’s site does a great job of presenting menus so they’re easily viewable on a small screen.You have to scroll down quite a ways to see everything, but that’s okay.
91. At desktop width, the menu layout is different and they’ve added pictures forthe three menu types at the top, an enhancement. Mobile users don’t see thepictures, but that’s okay because they aren’t an essential part of the message.
92. Responsive Web Design1. Give everybody the same content2. Displayed appropriately for their device3. No matter what device they have Bottom line, it’s all about the user.
93. There is no Mobile Web. There is onlyThe Web, which we view in differentways. There is also no Desktop Web. OrTablet Web. - Stephen Hay @stephenhay