adapting to a responsive design at untangle the web on 29th july 2013

58
Adapting to a Responsive Design Matt Gibson / Cyber-Duck @duckymatt / @cyberduck_uk #untangletheweb

Upload: matt-gibson

Post on 27-Jan-2015

106 views

Category:

Design


0 download

DESCRIPTION

These are the slides from my talk "Adapting to a Responsive Design" I gave at Untangle The Web on 29th July 2013. The talk was adapted from my case study of the same name on Smashing Magazine: http://mobile.smashingmagazine.com/2013/06/18/adapting-to-a-responsive-design-case-study/ about cyber-duck.co.uk's responsive re-design.

TRANSCRIPT

Page 1: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Adapting to a Responsive

DesignMatt Gibson / Cyber-Duck

@duckymatt / @cyberduck_uk#untangletheweb

Page 2: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

How do we define responsive?

Page 3: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

To react quickly and positively.

Page 4: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Responsive web design is a design approach that aims to create interfaces

that react quickly and positively to the user’s

conditions.

Page 5: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Flickr credit: @alui0000

People will access our websites in ways we perhaps hadn’t even considered yet.

Page 6: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

The previous state(s) of our website

“Desktop” site (2011)

“Tablet” site (Later 2011)

*Not to scale :)

“Mobile” site (2012)

Page 7: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Our separate mobile websites:A stop-gap strategy

Page 8: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

So why go responsive?

Page 9: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

1. Multiple code bases

2. Content management

3. More and more new devices and form factors

Page 10: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

You don't get to decide which device people use to access your website.

Karen McGrane

http://bondartscience.com/

Page 11: Adapting to a Responsive Design at Untangle the Web on 29th July 2013
Page 12: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Setting goals for a RWD...

Page 13: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

1. Content Parity

Credit: http://wtfmobileweb.com/

The same content and functionality should be on all platforms.

Page 14: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

2. Speed

Flickr credit: @myoldpostcards

Performance affects everyone.

Page 15: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

3. Future friendly

Credit: http://futurefriend.ly/

Cut down on maintenance and support known unknowns

#ffly

Page 16: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

4. Accessibility

Credit: http://futurefriend.ly/

Styles, backgrounds and JavaScript are progressive enhancements

Page 17: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

1. Content Parity

Page 18: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

RWD meansassuming less

about our users

Page 19: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Begin by defining the content people visit your website for.

http://xkcd.com/773/

Page 20: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Researching our content strategy

Speaking to existing customers

Google Analytics

CrazyEgg

Lead Forensics

Page 21: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Defining the content first

Page 22: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Our content defines the layouts we need.

Not the other way around.

Page 23: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

2. Speed

Page 24: Adapting to a Responsive Design at Untangle the Web on 29th July 2013
Page 25: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Does responsive = poor performance?

Credit: Guy Podjarny - Creator of Mobitest: http://www.guypo.com/mobile/what-are-responsive-websites-made-of/

Page 26: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

To react quickly and positively.

Page 27: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

It’s easy to confuse implementation with

technique.

Page 28: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Making performance a priority.

We set ourselves a performance budget of 500kb for mobile.

Page 29: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

To load the Facebook, Twitter and Google social media buttons for a total of 19 requests takes 246.7 KB in bandwidth.

http://zurb.com/article/883/small-painful-buttons-why-social-media-bu

Page 30: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Off the shelf front-end frameworks

The next big thing TM

Page 31: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Flickr credit: @donshall

They try to do everything.

Page 32: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

They make design decisions for you.

Flickr credit: @jamesrbowe

Page 33: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Knowing your code from top to bottom is essential to have total control over it.

Using frameworks doesn’t help with that.

Page 34: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

https://github.com/Cyber-Duck/hoisin.scss

We created a mini-library that doesn’t include any predefined

styling for layout / grid, buttons, typography etc.

Page 35: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Did we need CMS software to manage

our content?

No CMS Software ≠ No CMS

Page 36: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

For most projects the answer would

be yes.

For our own website it was no (apart from our blog).

Page 37: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Only loading what we need

when we need it.

Page 38: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Javascript

CSS

Images

Page 39: Adapting to a Responsive Design at Untangle the Web on 29th July 2013
Page 40: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

3. Future friendliness

Page 41: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

The web doesn’t have a fixed width.

Page 42: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

We should embrace the fact that the web doesn’t have the same

constraints [as the printed page] and design for this flexibility.

John Allsopp, A Dao of Web Designhttp://alistapart.com/article/dao

Page 43: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Layout & flowBreakpoints based on content and design, rather than device

Page 44: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Designing for context

Page 45: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

The right code for the right task

Leave styling to CSS and use JS only to change

the “state” of an element.

Page 46: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Animation as an enhancement

Using CSS3 for animations enhances the experience for browsers

that support it, while older browsers still get the functionality if not

the eye candy.

Page 47: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

4. Accessibility

Page 48: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

6 quick wins for accessibility

Page 49: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

1. Make the purpose of all links as clear and

descriptive as possible

Avoid link anchors that presume the interaction method like “click here”

Page 50: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

2. Create a hidden skip navigation link

Page 51: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

3. Make URLs human readable and permanent

where possible.

Is this human readable?http://art.com/artgallery/default.asp?

sid=9DF4BC0580DF11D3ACB60090271E26A8&command=freelist.

Page 52: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

4. Use descriptive alt tags for when an image cannot be shown.

Page 53: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

5. Don’t use placeholders as an alternative for

labels on forms.

Page 54: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

6. Use appropriate input types and attributes on

forms.

Page 55: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

The results?

Page 56: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Since launch:

200%increase in

mobile traffic

2.07%increase in

conversion rate

-4000%reduction in homepage

exit rate on mobile

Page 57: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Our conclusion

We are still learning.

There is more to do to make our websites faster, more

future friendly, more accessible.

AKA more responsive.

Page 58: Adapting to a Responsive Design at Untangle the Web on 29th July 2013

Thank you.Matt Gibson / Cyber-Duck

@duckymatt / @cyberduck_uk#untangletheweb