adaptive web design, does size really matter?

28

Upload: cyber-duck

Post on 13-Jan-2015

160 views

Category:

Technology


4 download

DESCRIPTION

Exploring adaptive / responsive web design from the perspective of a digital agency. Includes looking at how we approached it on a real client project from the pitch, through to UX and design, the technical considerations and challenges.

TRANSCRIPT

Page 1: Adaptive Web Design, does size really matter?
Page 2: Adaptive Web Design, does size really matter?

Does size matter?An agency approach to adaptive web design

Page 3: Adaptive Web Design, does size really matter?

What we’ll be covering…

http://www.flickr.com/photos/national_library_of_australia_commons/6174070848

• Why adaptive?• Adaptive UX / Layouts• Sensors• Challenges

Page 4: Adaptive Web Design, does size really matter?

What is already out there?

http://www.flickr.com/photos/alui0000/4814280779

Page 5: Adaptive Web Design, does size really matter?

• Native apps

• Adaptive websites

• Web apps

• Non-scalable websites

Page 6: Adaptive Web Design, does size really matter?

http://www.flickr.com/photos/rubberdragon/6652378679

Speed, cost and scalability are the biggest factors for choosing adaptive websites or web apps rather than native apps

Page 7: Adaptive Web Design, does size really matter?

Considerations for adaptive web design

FeaturesWhich devices?

Sensors & limitations

Input method

Content Context of user

Page 8: Adaptive Web Design, does size really matter?

Designing for every device or breakpoint?

Not only would this be impossible but it is a pointless and costly exercise.

Instead focus on key break points that the design fluidly adapts to.

http://www.flickr.com/photos/nnova/5022567963

Page 9: Adaptive Web Design, does size really matter?

What are my key breakpoints?

Well, who is your audience?•Look at analytics

Pick key breakpoints that will still enable a good user experience on in-between devices/widths

Page 10: Adaptive Web Design, does size really matter?

Planning an adaptive layout

We went for 3 key breakpoints:1024 – Desktop or tablet landscape

768 – Tablet portrait

320 - Mobile

Page 11: Adaptive Web Design, does size really matter?

Fluid columns or less columns?

Page 12: Adaptive Web Design, does size really matter?

Fluid percentage based grids

Fluid % based columns alone =Columns / gutters become too narrow

Page 13: Adaptive Web Design, does size really matter?

Fixed width grids

Reducing / stacking columns alone = Design only works on fixed widths

Page 14: Adaptive Web Design, does size really matter?

Better = Fluid grids with fixed breakpoints

There are lightweight CSS grid frameworks which already support this.

http://www.getskeleton.com http://csswizardry.com/inuitcss/ http://twitter.github.com/bootstrap/

http://foundation.zurb.com/ http://cssgrid.net/

Page 15: Adaptive Web Design, does size really matter?

http://www.flickr.com/photos/kristiand/3223920178/sizes/m/in/photostream/

Is using a responsive grid on its own enough?

Page 16: Adaptive Web Design, does size really matter?

http://www.flickr.com/photos/kose/4143558754

We need to consider input methods and context

Page 17: Adaptive Web Design, does size really matter?

Tailor UX for touch

Page 18: Adaptive Web Design, does size really matter?

SensorsThere are several options here:

•Media queries (CSS based on screen size/orientation)•JS screen size detection•JS feature detection•User agent detection (back-end)

Page 19: Adaptive Web Design, does size really matter?

Pros

•Easy

•Powerful on client-side

Cons

•Support

•Cannot handle server calls

Media Queries VS JS validation VS UA (back-end)

Pros

•Can differentiate more than just screen size

•Helps interactivity

Cons

•Relies on JS

•Accessibility?

•Not so easy to implement

Pros

•Only serves exactly what’s needed

Cons

•Not easy to implement and therefore more costly

•Browsers can fake it.

•Accessibility?

Page 20: Adaptive Web Design, does size really matter?

http://www.flickr.com/photos/epublicist/3546059144

Challenges

• Mobile first?• Images & video• Forms• Tables

Page 21: Adaptive Web Design, does size really matter?

Designing for mobile first?• Progressive enhancement is the ideal.

• Sometimes impractical – based on traffic, type of site or even the client.

• If the website still has a heavy IE userbase then the order of the CSS needs to be carefully considered.

Page 22: Adaptive Web Design, does size really matter?

Touch gestures

• For a better user experience tailor the interfaces and inputs to the capabilities of the device.

• Touch based gestures can improve usability on mobile websites – E.g. overscroll, swipe, dragging.

Page 23: Adaptive Web Design, does size really matter?

Adaptive images

• display: none doesn’t stop content being downloaded

• Low res images not a solution, as many devices have higher pixel density than desktop

• Doesn’t apply to background images

http://www.flickr.com/photos/ooh_food/3219732465

Page 24: Adaptive Web Design, does size really matter?

Scaling images using JS feature detection

Scale from low res (or hidden) up to hi res images based on detecting the browser capabilities.

However, if the user does not have javascript enabled, this will present a problem.

Page 25: Adaptive Web Design, does size really matter?

Example

Mobile

Desktop

Page 26: Adaptive Web Design, does size really matter?

Video

Embedding via 3rd party players such as YouTube or Vimeo can be problematic – a more professional solution is needed in this instance.

http://www.flickr.com/photos/colinwood0/5814240909

Page 27: Adaptive Web Design, does size really matter?

Forms & Tables

• Long forms with unnecessary fields = bad UX regardless of mobile.

• Auto-select the appropriate keyboard on mobile.• Establish the context your users will be using data

tables on mobile before considering UX.

All mobile UX decisions come down to context. Where / How / Why will people be using your website on mobile.

Page 28: Adaptive Web Design, does size really matter?

Thanks!Please show your appreciation by following us below

www.cyber-duck.co.uk

Twitter.com/Cyberduck_uk