Transcript
Page 1: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Optimizing User ExperienceAcross Devices with

Responsive Web DesignUser Focus - October 19, 2012

Clarissa Peterson@clarissa

Page 2: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Captions have been added for those ofyou viewing this online. So you can

pretend like you were actually there…

Page 3: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Before starting, I want to make sure everyone knows what responsive design is.

Responsive Web Design

Page 4: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

If you’ve visited websites on a smartphone like an iPhone, you’re probably 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.

Page 5: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 6: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

On a responsive website, the browser responds to the size of the screen and displays 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.

One Website

Page 7: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

It makes more sense if I show you. This is The Boston Globe website, which launched a responsive redesign in 2011. At the time, it was the largest responsive web design project to date.

Page 8: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

This is the site at the narrowest width: what you would see on your smartphone. The text is all full size, you don’t need to zoom in to read.

Page 9: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

As you make the website wider, the content expands to fill the space.

Page 10: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Now there’s enough room for the content to move into two columns. It’s the exact same content, though.

Page 11: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

At desktop width, there is now room for everything to rearrange into three columns. You can see a lot more without scrolling, but it’s

the same content as you see on a mobile phone.

Page 12: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Looking at the site in more detail, you’ll notice that there isn’t a full navigation at the top of the page.

Page 13: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

But if you click on “Sections,” you’ll get a drop-down menu of the sections of the website.

Page 14: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Click it again and the Sections menu goes away.

Page 15: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 16: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 17: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

There isn’t enough room for the search box to appear at the top of the page. So instead there’s a search icon, and when you click on it…

Page 18: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Your search box appears.

Page 19: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Click it again and it goes away.

Page 20: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Now we’re at about the size of a tablet, and there’s enough room for two columns. Additionally, the search box in the header now

appears by default, you don’t need to click to get it.

Page 21: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

You still need to click the Sections link to see the navigation.

Page 22: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 23: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

As we go even wider, things expand to take advantage of the extra room, including the picture at the top left. The picture continues to

be the full width of the column even as the column gets wider.

Page 24: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

At a full desktop width, there is plenty of room for a detailed layout, but we still have the exact same content as we started with at the narrowest screen width.

Page 25: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Before I tell you how responsive design improves the user experience of a site, I’m first going to tell you a little bit about how responsive design came about.

Page 26: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Before

Page 27: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Before mobile, computers and phones were totally separate. Our jobs as UX designers were much easier. And we couldn’t have even imagined what was coming.

Page 28: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

After

Page 29: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Now there are all these different devices that we can use to access the internet: smartphones, feature phones, tablets, laptops, eReaders. Who would have thought you can carry a computer around in your pocket?

Photo credit: Brad Frost via Creative Commons http://flic.kr/p/cfQwL7

Page 30: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 31: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

When we first started designing for mobile phones, there were two main options. The first 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.

Fixed-width Site

Page 32: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

This is what I get when I visit The New York Times website. I imagine they have a mobile site, but I can’t find a link from this page.

Page 33: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

It seems okay, other than everything being really tiny.

Page 34: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 35: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

The other option was to create a separate mobile website. It had separate code, and often separate content, from your main website.

Separate Mobile Site

Page 36: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

This mobile site from USA.gov doesn’t look too bad. It’s very clean and the navigation is easy to understand.

Page 37: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 38: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 39: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

In 2010, web designer Ethan Marcotte put together a few different techniques into something he called “Responsive Web Design.” It started to catch on.

Responsive Design

Page 40: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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/

Page 41: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Responsive web design offers us a way forward, finally allowing us to “design for the ebb and flow of things.”

- Ethan Marcotte

Page 42: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

One of the great things about responsive design is it allows us to plan for what might be coming in the future. We can’t predict the future and make our websites future-proof, but we can make our websites future-friendly.

Future-Friendly

Page 43: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

An 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.

Content Parity

Page 44: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

For example, on the Consumer Reports site, the Recalls & Safety section is very important if you need information about recalled products.

Page 45: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

But when I try to find that content on the mobile Consumer Reports site, I don’t see it.

Page 46: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

At the bottom of the page, there’s a helpful-sounding link, “Can’t find what you’re looking for?” Perhaps it will lead me to a site

map or something else that will help me find what I need.

Page 47: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

But when I click it, I get this. (read #2 above)

Page 48: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Something to think about:17% of cell phone owners in the United States access the internet 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.

The beauty of the web is its openness. Don’t arbitrarily lock people out because of browser, device or configuration.

- Brad Frost@brad_frost

Page 49: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.”

Page 50: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

This next page was kind of unnecessary, but then...

Page 51: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

I got to this page, where I discovered that I could access the payment page by just entering my phone number and zip code. I didn’t need to

remember my username, password, or account number.

Page 52: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

It makes sense. Why have unnecessary security on a page where the only option is to give them your money? Who is

going to try to sneak in to pay someone else’s bill?

Page 53: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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...

Page 54: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

I got this page, half of which is wasted on a photo of the night sky. It seems like the only option for paying my bill is to log in.

Page 55: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

I thought perhaps the “Explore GEICO” button would give me some of the other options from the website.

Page 56: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

But no, that just gives me links to their social media pages. I’m not sure what that has to do with exploring.

Page 57: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

So my only option, if I didn’t want to log in to pay my bill, was to click this tiny “Desktop Site” link all the way at the bottom of the screen. It’s clear that they don’t care if I can find my way to the rest of the content.

Page 58: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Another important user experience consideration is context of use. This refers to the conditions under which the website is being used.

Context of Use

Page 59: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

You’ll hear people talk about “mobile context,” but it’s more complicated than that. Not all people using mobile devices are out running around somewhere,

and not all people using desktops/laptops are sitting behind a desk.

Page 60: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Some people actually are running around when they’re using their mobile device.

Photo credit: Mith Huang via Creative Commons http://flic.kr/p/9B7A4c

Page 61: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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://flic.kr/p/5c4Sfv

Page 62: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

I’m not sure what these kids are doing, especially the one on the left, but they’re definitely not running around.

Photo credit: Carlos Smith via Creative Commons http://flic.kr/p/8tLb4P

Page 63: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

It can be downright surprising where people are using their mobile devices.

Photo credit: Pete Markham via Creative Commons http://flic.kr/p/2zvrrJ

Page 64: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 65: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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 suffered

through slow hotel room wifi where it takes a couple minutes to load one page.

Photo credit: Wendi Dunlap via Creative Commons http://flic.kr/p/vMJM6

Page 66: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

So then why not make it faster for everybody, not just mobile users?

Page 67: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

You also can’t make assumptions about screen size. An office worker may have a tiny screen...

Photo credit: Channy Yun via Creative Commons http://flic.kr/p/51QJr6

Page 68: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

While a home user may have a huge monitor.

Photo credit: Matt Hamm via Creative Commons http://flic.kr/p/EyrLG

Page 69: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

So you need a site that works for everyone. That’s where responsive design comes in.

Responsive Design

Page 70: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

There are different ways to put together a responsive design. The best way is to use a mobile-first perspective. Designing for the smallest screen first forces you to focus on the content, and decide what’s really important.

Mobile First

Page 71: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Trying to fit everything from a desktop site into a mobile site often just doesn’t make sense.

Page 72: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

The Washington Post realized this. Their mobile website is much simpler, cleaner, and straightforward. It only has the information you actually want.

Page 73: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

But then who do they think is actually going to want the rest of it? This is their front page. I counted 184 text links (that’s not including images or ads).

Page 74: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Too much visual information thrown at me all at once makes my head hurt.

Page 75: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Why is it easier to do a transaction on a mobile phone rather than on the bank’s regular website?

Mobile use case: I just transferred money at my desk using my phone because logging into my banking app requires fewer steps.

- Stephanie Rieger@stephanierieger

Page 76: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Make it work better for everybody.

Page 77: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Examples

Page 78: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

United Pixelworkers is an ecommerce site. Not all responsive sites are content-based rather than functionality-based. You can scroll down to

see the various products that are featured on the front page.

Page 79: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

When the screen gets wider, everything rearranges so you can see more at once.

Page 80: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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 be

missing anything if you go to this site from your mobile phone.

Page 81: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

The WWF site has beautiful photography. They don’t want to waste it by making the photos tiny on a small screen.

Page 82: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 83: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

This is a company that sells surfboards. Instead of making the picture change size...

Page 84: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

They show more of the picture. Responsive design gives you a lot of options.

Page 85: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

The University of Chicago has a lot of information on their website. By designing from the smallest screen size first, they were able to make sure the most important content appears at the top of the screen.

Page 86: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

On a desktop screen, you see the same content, but there is room for some additions, 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.

Page 87: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

You’ve probably noticed from these examples that responsive designs tend to be very clean and uncluttered. Compare that to the Washington

Post site we saw earlier. Which is a better user experience?

Page 88: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

On responsive designs, since it’s the same website no matter what size you’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.

Page 89: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 90: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

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.

Page 91: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

At desktop width, the menu layout is different and they’ve added pictures for the three menu types at the top, an enhancement. Mobile users don’t see the pictures, but that’s okay because they aren’t an essential part of the message.

Page 92: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

Bottom line, it’s all about the user.

Responsive Web Design

1. Give everybody the same content

2. Displayed appropriately for their device

3. No matter what device they have

Page 93: Optimizing User Experience Across Devices with Responsive Web Design (Clarissa Peterson)

There is no Mobile Web. There is only The Web, which we view in different ways. There is also no Desktop Web. Or Tablet Web.

- Stephen Hay@stephenhay