33
Aaron Gustafson Ruining the User Experience

Ruining The User Experience (The Rich Web Experience '07)

Embed Size (px)

DESCRIPTION

When JavaScript and Ajax go bad, your users aren't the only ones who lose out... Every descision we make in the process of building our websites, applications, and interfaces contributes to the overall experience a user has. Sometimes, in our rush to ride the latest wave in interaction design, we miss the mark and end up doing more harm than good.

Citation preview

Page 1: Ruining The User Experience (The Rich Web Experience '07)

Aaron Gustafson

Ruining theUser Experience

Page 2: Ruining The User Experience (The Rich Web Experience '07)
Page 3: Ruining The User Experience (The Rich Web Experience '07)
Page 4: Ruining The User Experience (The Rich Web Experience '07)

What is a good user experience?

Page 5: Ruining The User Experience (The Rich Web Experience '07)

Would you do this?

Page 6: Ruining The User Experience (The Rich Web Experience '07)

lala.com

Page 7: Ruining The User Experience (The Rich Web Experience '07)

JavaScript is a Requirement

Page 8: Ruining The User Experience (The Rich Web Experience '07)

A “Solution”

Page 9: Ruining The User Experience (The Rich Web Experience '07)

Levels of Service

Page 10: Ruining The User Experience (The Rich Web Experience '07)

Level 1: No Frills

Just the content

Clean, semantic markup

Light, fast-downloading pages

No distractions

Page 11: Ruining The User Experience (The Rich Web Experience '07)

Level 1: No Frills

Page 12: Ruining The User Experience (The Rich Web Experience '07)

nicely designed

visual hierarchy

maybe a bit of Flash

adequate browser testing

basic styles for alternate media

Level 2: Dress It Up

Page 13: Ruining The User Experience (The Rich Web Experience '07)

Level 2: Dress It Up

Page 14: Ruining The User Experience (The Rich Web Experience '07)

Responsive interface elements

Predictive data delivery (Ajax)

Allows for more customizable interactions

Level 3: Make It Sing

Page 15: Ruining The User Experience (The Rich Web Experience '07)

.optional

.optional

.collapsing

Level 3: Make It Sing

Page 16: Ruining The User Experience (The Rich Web Experience '07)

Page

JS

Create the link to show/hide the

optional fieldsets

Yes No

Hide the optional fieldsets

Level 3: Make It Sing

Page 17: Ruining The User Experience (The Rich Web Experience '07)

Level 3: Make It Sing

Page 18: Ruining The User Experience (The Rich Web Experience '07)

Levels of Service

Page 19: Ruining The User Experience (The Rich Web Experience '07)

Example: Tab Interface

Page 20: Ruining The User Experience (The Rich Web Experience '07)

Page

JS

Split the content& make some tabs

Yes No

Example: Tab Interface

Page 21: Ruining The User Experience (The Rich Web Experience '07)

.tabbed

Example: Tab Interface

Page 22: Ruining The User Experience (The Rich Web Experience '07)

Example: Tab Interface

Page 23: Ruining The User Experience (The Rich Web Experience '07)

Example: FAQ

Page 24: Ruining The User Experience (The Rich Web Experience '07)

No Yes

Page

JSYes No

User clicks ?

Anyopen?

No Yes

CSSInsideclick?

Yes No

Close any open FAQs

Slide openrequested FAQ :target used

Defaultbrowserbehavior

Example: FAQ

Page 25: Ruining The User Experience (The Rich Web Experience '07)

dl.faq

dd#id

dt>a

Example: FAQ

dl.faq

Page 26: Ruining The User Experience (The Rich Web Experience '07)

.faq dd:target

Example: FAQ

Page 27: Ruining The User Experience (The Rich Web Experience '07)

Example: FAQ

Page 28: Ruining The User Experience (The Rich Web Experience '07)

Tools at our disposal

Page 29: Ruining The User Experience (The Rich Web Experience '07)

DOM Methods

getElementById()

getElementsByTagName()

getAttribute()/setAttribute()

createElement()/createTextNode()

innerHTML (if absolutely necessary)

Page 30: Ruining The User Experience (The Rich Web Experience '07)

Class Swapping

.tabbed .tabbed-on

.collapsing .collapsible

.faq .faq.on

Page 31: Ruining The User Experience (The Rich Web Experience '07)

Think Customer Service

Page 32: Ruining The User Experience (The Rich Web Experience '07)

Questions?

Page 33: Ruining The User Experience (The Rich Web Experience '07)

Aaron Gustafson

Ruining theUser Experiencehttp://slideshare.net/AaronGustafson