Adapting to a Responsive Web Design - TFM&A - 26-02-14

70
ADAPTING TO A RESPONSIVE WEB DESIGN

description

We can no longer predict how people are accessing our websites now, let alone in a few years’ time when the technology people use to access the web will inevitably diverge even further, and perhaps in ways we haven’t even considered yet. Rather than seeing this unpredictability and lack of control as a problem, we should embrace these ‘known unknowns’ and the inherent flexibility of the web. Put simply, responsive web design is about being more flexible and assuming less about our users, from how they’re accessing our websites and what technology they’re using to their environment.

Transcript of Adapting to a Responsive Web Design - TFM&A - 26-02-14

Page 1: Adapting to a Responsive Web Design - TFM&A - 26-02-14

ADAPTING TO A RESPONSIVE WEB DESIGN

Page 2: Adapting to a Responsive Web Design - TFM&A - 26-02-14

HELLO I’m Matt @duckymatt !

!

!

!

!

!

Page 3: Adapting to a Responsive Web Design - TFM&A - 26-02-14

@cyberduck_uk cyber-duck.co.uk

Page 4: Adapting to a Responsive Web Design - TFM&A - 26-02-14

HOW DO WE DEFINE RESPONSIVE?

Page 5: Adapting to a Responsive Web Design - TFM&A - 26-02-14

To react quickly and positively.

Page 6: Adapting to a Responsive Web Design - TFM&A - 26-02-14

Responsive web design is a design approach that aims to create interfaces that react quickly and positively to the user’s conditions.

Page 7: Adapting to a Responsive Web Design - TFM&A - 26-02-14

PEOPLE WILL ACCESS OUR WEBSITES IN WAYS WE HADN’T EVEN CONSIDERED YET

Image Copyright: Walt Disney Pictures & Tim Burton Pictures

Page 8: Adapting to a Responsive Web Design - TFM&A - 26-02-14

THE PREVIOUS STATE(S) OF OUR OWN WEBSITE

“DESKTOP” SITE (2011)

“TABLET” SITE (LATER 2011)

*Not to scale :)

“MOBILE” SITE (2012)

Page 9: Adapting to a Responsive Web Design - TFM&A - 26-02-14

OUR SEPARATE MOBILE WEBSITES: A STOP-GAP STRATEGY

Page 10: Adapting to a Responsive Web Design - TFM&A - 26-02-14

SO WHY GO RESPONSIVE?

Page 11: Adapting to a Responsive Web Design - TFM&A - 26-02-14

3 FACTORS

Image Copyright: L.A. Films & Home Box Office (HBO)

Page 12: Adapting to a Responsive Web Design - TFM&A - 26-02-14

MULTIPLE CODE BASES 1

CONTENT STRATEGY2

KNOWN UNKNOWNS3

Page 13: Adapting to a Responsive Web Design - TFM&A - 26-02-14
Page 14: Adapting to a Responsive Web Design - TFM&A - 26-02-14

SETTING 4 GOALS FOR A RESPONSIVE DESIGN

Image Copyright: Chartoff-Winkler Productions & United Artists

Page 15: Adapting to a Responsive Web Design - TFM&A - 26-02-14

CONTENT PARITY

Credit: http://wtfmobileweb.com/

THE SAME CONTENT SHOULD BE AVAILABLE ON ALL PLATFORMS

1

Page 16: Adapting to a Responsive Web Design - TFM&A - 26-02-14

SPEED MATTERSBECAUSE PERFORMANCE AFFECTS EVERYONE

2

Image Copyright: Universal Pictures

Page 17: Adapting to a Responsive Web Design - TFM&A - 26-02-14

FUTURE FRIENDLY

See: http://futurefriend.ly/

CUT DOWN ON MAINTENANCE AND SUPPORT KNOWN UNKNOWNS

3

Image Copyright: Universal TV

Page 18: Adapting to a Responsive Web Design - TFM&A - 26-02-14

ACCESSIBILITYSTYLES, BACKGROUNDS AND JAVASCRIPT ARE PROGRESSIVE ENHANCEMENTS

4

Photo Credit: Neil McKenzie: http://www.flickr.com/photos/furbyx4/2968376257/

Page 19: Adapting to a Responsive Web Design - TFM&A - 26-02-14

CONTENT PARITY

1

Page 20: Adapting to a Responsive Web Design - TFM&A - 26-02-14

ASSUMPTIONS

1

Image Copyright: BBC

Page 21: Adapting to a Responsive Web Design - TFM&A - 26-02-14

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

your website.

KAREN MCGRANE

http://alistapart.com/article/your-content-now-mobile

Photo credit: Eirik Helland Urke: http://www.flickr.com/photos/webdagene/6149954950/

Page 22: Adapting to a Responsive Web Design - TFM&A - 26-02-14

Credit: http://xkcd.com/773/

1

Page 23: Adapting to a Responsive Web Design - TFM&A - 26-02-14

1

Page 24: Adapting to a Responsive Web Design - TFM&A - 26-02-14

RESEARCHING CONTENT STRATEGY SPEAKING TO EXISTING CUSTOMERS

GOOGLE ANALYTICS

CRAZYEGG

LEAD FORENSICS

1

Image Copyright: Warner Bros.

Page 25: Adapting to a Responsive Web Design - TFM&A - 26-02-14

OUR CONTENT DEFINES THE LAYOUTS WE NEED

!

NOT THE OTHER WAY AROUND

1

Page 26: Adapting to a Responsive Web Design - TFM&A - 26-02-14

SPEED MATTERS

2

Page 27: Adapting to a Responsive Web Design - TFM&A - 26-02-14

2

moto.oakley.com

Page 28: Adapting to a Responsive Web Design - TFM&A - 26-02-14

If you were data roaming on an iPhone, at $9 per Mb data

roaming, that web page would cost me $785 to look at on my

iPhone!

ANDREW CLARKE

http://alistapart.com/article/dao/

Photo credit: Jeffrey Zeldman: http://www.flickr.com/photos/zeldman/12621077243

http://dandelion-burdock.com/articles/view/the-weight-of-the-web

Page 29: Adapting to a Responsive Web Design - TFM&A - 26-02-14

DOES RESPONSIVE = POOR PERFORMANCE?

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

2

Page 30: Adapting to a Responsive Web Design - TFM&A - 26-02-14

To react quickly and positively.

2

Page 31: Adapting to a Responsive Web Design - TFM&A - 26-02-14

IT’S EASY TO CONFUSE IMPLEMENTATION WITH

TECHNIQUE

2

Image Copyright: Metro-Goldwyn-Mayer (MGM)

Page 32: Adapting to a Responsive Web Design - TFM&A - 26-02-14

MAKING PERFORMANCE A PRIORITY !

SETTING A PERFORMANCE “BUDGET”

2

timkadlec.com/2013/01/setting-a-performance-budget/

Image Copyright: Twentieth Century Fox Film Corporation

Page 33: Adapting to a Responsive Web Design - TFM&A - 26-02-14

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

2

Page 34: Adapting to a Responsive Web Design - TFM&A - 26-02-14

OFF THE SHELF FRONT-END FRAMEWORKS

2

Page 35: Adapting to a Responsive Web Design - TFM&A - 26-02-14

Photo credit: Don Shall: http://www.flickr.com/photos/donshall/3817115551/

TRYING TO DO EVERYTHING

2

Page 36: Adapting to a Responsive Web Design - TFM&A - 26-02-14

THEY MAKE DESIGN DECISIONS FOR YOU

2

Photo credit: James Bowe: http://www.flickr.com/photos/jamesrbowe/4231509266/

Page 37: Adapting to a Responsive Web Design - TFM&A - 26-02-14

KNOWING YOUR CODE FROM TOP TO BOTTOM IS ESSENTIAL TO

HAVE TOTAL CONTROL OVER IT

2

Image credit: http://css-tricks.com/

Page 38: Adapting to a Responsive Web Design - TFM&A - 26-02-14

http://cyber-duck.github.io/hoisin.scss/

WE CREATED A MINI-LIBRARY THAT IS SIMPLE, FLEXIBLE, LIGHT AND

DOESN’T MAKE DECISIONS FOR YOU

2

Page 39: Adapting to a Responsive Web Design - TFM&A - 26-02-14

ONLY LOADING WHAT WE NEED

WHEN WE NEED IT.

2

Page 40: Adapting to a Responsive Web Design - TFM&A - 26-02-14

JAVASCRIPT2

http://requirejs.org/

Page 41: Adapting to a Responsive Web Design - TFM&A - 26-02-14

CSS2

http://sass-lang.com/

Page 42: Adapting to a Responsive Web Design - TFM&A - 26-02-14

IMAGES2

BEGIN WITH OPTIMISATION

Page 43: Adapting to a Responsive Web Design - TFM&A - 26-02-14

IMAGES2

THEN COMPRESSION

http://imageoptim.com/ https://tinypng.com/

Page 44: Adapting to a Responsive Web Design - TFM&A - 26-02-14

IMAGES2

27 KB 266 KB

USING THE RIGHT IMAGE FOR THE RIGHT TASK

Page 45: Adapting to a Responsive Web Design - TFM&A - 26-02-14

CACHING2

SERVING FILES FASTER

http://www.cloudflare.com/ https://www.varnish-cache.org/

Page 46: Adapting to a Responsive Web Design - TFM&A - 26-02-14

2

Page 47: Adapting to a Responsive Web Design - TFM&A - 26-02-14

FUTURE FRIENDLINESS

3

Page 48: Adapting to a Responsive Web Design - TFM&A - 26-02-14

THE WEB DOESN’T HAVE A FIXED WIDTH

3

Page 49: Adapting to a Responsive Web Design - TFM&A - 26-02-14

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

http://alistapart.com/article/dao/

Photo credit: TEDxNSW: http://www.flickr.com/photos/42645924@N02/3933255654/

3

Page 50: Adapting to a Responsive Web Design - TFM&A - 26-02-14

LAYOUT AND FLOW

3

Page 51: Adapting to a Responsive Web Design - TFM&A - 26-02-14

LAYOUTS BASED ON CONTENT

RATHER THAN DEVICE

3

Page 52: Adapting to a Responsive Web Design - TFM&A - 26-02-14

RESPONSIVE DESIGN WORKFLOW

3

Page 53: Adapting to a Responsive Web Design - TFM&A - 26-02-14

SKETCH

3

Copyright: Twentieth Century Fox Film Corporation & Paramount Pictures

Page 54: Adapting to a Responsive Web Design - TFM&A - 26-02-14

PROTOTYPE

3

Copyright: Paramount Pictures & Marvel Enterprises

Page 55: Adapting to a Responsive Web Design - TFM&A - 26-02-14

PROTOTYPECREATE PATTERN LIBRARIEShttp://styletil.es/

3

Copyright: Universal Pictures & Alphaville Films

Page 56: Adapting to a Responsive Web Design - TFM&A - 26-02-14

ENHANCE FOR CONTEXT3

Page 57: Adapting to a Responsive Web Design - TFM&A - 26-02-14

ANIMATION AS AN ENHANCEMENT

3Copyright: Touchstone Pictures & Amblin Entertainment & Silver Screen Partners III & Walt Disney

Page 58: Adapting to a Responsive Web Design - TFM&A - 26-02-14

ACCESSIBILITY

4

Page 59: Adapting to a Responsive Web Design - TFM&A - 26-02-14

7 QUICK WINS FOR ACCESSIBILITY

4Copyright: Warner Bros.

Page 60: Adapting to a Responsive Web Design - TFM&A - 26-02-14

1. MAKE THE PURPOSE OF ALL LINKS AS CLEAR AND

DESCRIPTIVE AS POSSIBLE

AVOID LINK ANCHORS THAT PRESUME THE INTERACTION METHOD LIKE “CLICK HERE”

4

Page 61: Adapting to a Responsive Web Design - TFM&A - 26-02-14

2. CREATE A HIDDEN SKIP NAVIGATION LINK

4

Page 62: Adapting to a Responsive Web Design - TFM&A - 26-02-14

3. MAKE URLS HUMAN READABLE AND PERMANENT

WHERE POSSIBLE

IS THIS HUMAN READABLE? !

HTTP://ART.COM/ARTGALLERY/DEFAULT.ASP?ID=9DF4BC0580DF11D3ACB60090271E26A8&COMMAND=FREELIST

4

Page 63: Adapting to a Responsive Web Design - TFM&A - 26-02-14

4. USE DESCRIPTIVE ALT TAGS FOR WHEN AN IMAGE CANNOT BE SHOWN.

4

Page 64: Adapting to a Responsive Web Design - TFM&A - 26-02-14

5. DON’T USE PLACEHOLDERS AS A SUBSTITUTE FOR LABELS

ON FORMS

4

http://www.webaxe.org/placeholder-attribute-is-not-a-label/Image credit: Dave Bushell: http://dbushell.com/2013/11/08/form-label-design/

Page 65: Adapting to a Responsive Web Design - TFM&A - 26-02-14

6. USE APPROPRIATE INPUT TYPES AND ATTRIBUTES ON

FORMS

4

Page 66: Adapting to a Responsive Web Design - TFM&A - 26-02-14

7. PROOF DESIGNS IN GREYSCALE TO CHECK COLOUR CONTRAST

4

ALSO USE COLOUR BLINDNESS SIMULATORS AND COLOUR CONTRAST CHECK TOOLS

Related: http://24ways.org/2012/colour-accessibility/

Page 67: Adapting to a Responsive Web Design - TFM&A - 26-02-14

THE RESULTS

Page 68: Adapting to a Responsive Web Design - TFM&A - 26-02-14

SINCE LAUNCH:

200% INCREASE IN

MOBILE TRAFFIC

2.07% INCREASE IN

CONVERSION RATE

-4000% REDUCTION IN

HOMEPAGE EXIT RATE ON MOBILE

Page 69: Adapting to a Responsive Web Design - TFM&A - 26-02-14

MUCH TO LEARN THERE IS

Copyright: Lucasfilm

Page 70: Adapting to a Responsive Web Design - TFM&A - 26-02-14

THANK YOU@duckymatt @cyberduck_uk

Copyright: Studio 37 & La Petite Reine & La Classe Américaine & JD Prod & France 3 Cinéma & Jouror Productions & uFilm