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

Preview:

DESCRIPTION

Given at UXPA-DC's User Focus Conference, Oct. 19, 2012

Citation preview

Optimizing User ExperienceAcross Devices with

Responsive Web DesignUser Focus - October 19, 2012

Clarissa Peterson@clarissa

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

pretend like you were actually there…

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

Responsive Web Design

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.

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.

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

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.

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.

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

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

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.

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

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

Click it again and the Sections menu goes away.

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.

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.

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…

Your search box appears.

Click it again and it goes away.

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.

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

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.

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.

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.

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.

Before

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.

After

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

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.

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

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.

It seems okay, other than everything being really tiny.

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.

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

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

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.

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.

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

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/

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

- Ethan Marcotte

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

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

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

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

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.

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

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

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

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

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.

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?

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

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.

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

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

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.

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

Context of Use

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.

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

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

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

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

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

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.

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

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

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

While a home user may have a huge monitor.

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

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

Responsive Design

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

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

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

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

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

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

Make it work better for everybody.

Examples

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.

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

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.

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

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.

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

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

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.

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.

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?

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.

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.

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.

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.

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

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

Recommended