87
BEAT THE TSUNAMI WITH A WAVE @PatrickDunph y

Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Embed Size (px)

DESCRIPTION

Presented at Penn State's 2014 Web Conference: The Future Friendly Web An introduction to web accessibility. Discusses what it is, & who is affected as well as tools and techniques for addressing accessibility issues

Citation preview

Page 1: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

BEAT THE

TSUNAMIWITH A WAVE

@PatrickDunphy

Page 2: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Who am I?

Page 3: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

I work here I co-lead here

Page 4: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

I live here

Page 5: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

The RealBeginning

1999The

Beginning

My Accessibility Journey

ThePresent

Page 6: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Some ThingsYou don’t expect to learn

Page 7: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Not TaughtEducation & Awareness Necessary

Page 8: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Change NecessaryEveryone is Responsible

Page 9: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb
Page 10: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb
Page 11: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb
Page 12: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb
Page 13: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

AccessibilityIt’s Good For You

Page 14: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

TechnologyConstant Change

Page 15: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb
Page 16: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb
Page 17: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb
Page 18: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Accessibility...

Page 19: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Core Concept of Accessibility

Page 20: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

It’s About PeopleAlways think about users needs

Page 21: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

DIFFERENT

USERSDIFFERENT

NEEDS• Limited Mobility• Cognitive Challenges• Colour Blind• Seizure Disorders• Deaf / Hearing Impaired• Visually Impaired • Total Blindness

• Voice Interaction• Clear Defined Goals• Colour Contrast• Clean Animation• Closed Captions • Screen Magnification • Screen Readers

Page 22: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb
Page 23: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Accessibility Standards

AODA

WCAG 2.0

CVAASect

508

BS

8878ADA

ISO /iEC 40500

Page 24: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

The Wrong Question

Not about if, it’s about when

Page 25: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

The Silver Tsunami

• Fastest growing user group• 19% of USA by 2030• 4x likely to have disability• Experience = Expectations

Page 26: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb
Page 27: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Today’s GoalIntroduce free tools that are

easy to use and can be leveraged today.

Page 28: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

AGENDA

1. Identify Issues2. Discover Test Tools 3. Sample Test Plan4. Testing Techniques

Page 29: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

1. Accessibility Issues

Page 30: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

General Issues

• Keyboard support• Sensory cues• Consistent navigation• No Context• Dynamic content• Controlling the UX

Page 31: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Image Problems

• Misuse of alt text• Missing alt attributes• Charts and graphs• CSS images• Title attributes• Pictures of text

Page 32: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Content Issues

• Poor structure• Inappropriate markup• Source order• Absolute font sizes• Poor contrast• Inappropriate link text• Language undefined

Page 33: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

2. Testing Tools

Page 34: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

• Tools *assist* with evaluation• Identify *Potential* issues• Will not verify 100% accessible

Page 35: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Sample Accessibility Testing Toolkit

• WAVE• FireEyes• Web Developer

Toolbar• Functional

Accessibility Evaluator

• Juicy Studio Plugin

• Firebug / Code Inspector

• Fangs• Web Accessibility

Toolbar (IE)• Colour Contrast

Analyzer• Aviewer

Page 36: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

My Personal Favourite - WAVE

Wave Features:• Results Summary• CSS Toggle• Contrast Summary• Document Outline• Target / Documentation• Code Inspector

Page 37: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb
Page 38: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

USA Today.com | 34 Errors

Page 39: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

ESPN.com | 36 Errors

Page 40: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

NY Times.com | 61 Errors

Page 41: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

CNN.com | 69 Errors

Page 42: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

WEB Version toolbarApi

Page 43: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

• Tools catch < 30% errors

• Keyboard Functionality• High Contrast Mode• Form Labels / Errors• Code Inspection

Accessibility Requires

Manual Testing

Page 44: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

3. Sample Test Plan

Page 45: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

10 Step Test Plan1. Compile UI2. Sanity Test3. Validate Code4. Apply Tools5. Test

Subjectivity6. Use Keyboard7. Use

Screenreader8. Verify Target9. User Testing10.Rinse &

Repeat

Page 46: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Compile UI1. Modules, containers,

templates, pages

2. Prioritize frequency & prominence

3. Include typically challenging elements for PWD’s

Page 47: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Sanity Test

No CSS & No Images

Does it still make sense?

Page 48: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Validate Code

Validate HTML & CSS

Catches errors bad for

Assistive Technology

Page 49: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Apply Tools

At least 2

Compare results

Eliminate false positives

Page 50: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Test Subjectivity

Judgement calls

Improve w/Experience

Page 51: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Use Keyboard

Most Important Test!

Gateway to Accessibility

Hardware & Software

Page 52: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Keyboard test everything!

Links & Buttons are only way to interact with a page** by default

Page 53: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Use Screenreader

... R E A D E R

Page 54: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Use Screenreader

• IE 8+ and latest JAWS

• Firefox and NVDA

• Chrome & ChromeVox

• VoiceOver and iOS/OSX

• Talkback on Android

Page 55: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Verify Target

Measure againstpredefined standard

i.e. WCAG 2.0 AA

Page 56: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

User Testing

Involve Real People with Real Disabilities

PWD using AT will revealundiscovered issues

Include seniors

Page 57: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Rinse & Repeat

All Additions & Updates

Avoid Accessiblity Atrophy

Page 58: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

4. Testing Techniques

Page 59: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

1. Keyboard2. Headings 3. Images4. Links5. Forms

6. Colour7. CSS8. JavaScript9. Multimedia

Testable Items

Page 60: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

KEYBOARD

Page 61: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Possible Tools:1. Keyboard2. Keyboard3. Keyboard

Keyboard Issues:• Logical Order• Focus Indicators• Consistent Behaviour• Bypass Blocks

The Pointerless Web http://weba.im/pointerlessweb

Page 62: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

HEADINGS

Page 63: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Possible Tools:• FAE (functional accessibility evaluator)

• Juicy Studio• WAVE• FANGS

Heading Issues:• Site Structure• Visual Indication• Follow Hierarchy• Used by AT

The HTML5 Document Outlinehttp://weba.im/headerfiction

Page 64: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

IMAGES

Page 65: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Possible Tools:• WAVE• High Contrast Mode• Web Dev Toolbar• Favlets

Image Issues:• Alt Attributes• Context + Function• Make sense w/o• Images of Text

Text Alternative Decision Tree http://weba.im/alternativetree

Page 66: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

LINKS

Page 67: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Possible Tools:• FAE (functional accessibility evaluator)

• Fangs • Juicy Studio

Link Issues:• Improper Markup• Ambiguous Link Text• Consistency• Cognitive Load

Links & Hypertext http://weba.im/linktext

Page 68: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

FORMS

Page 69: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Possible Tools :• Keyboard• Web Dev Toolbar• Wave

Form Issues :• Required Fields• Logical Order• Grouped Items• Label : Input• User Feedback

Improving the Accessibility of Forms http://weba.im/canadaforms

Page 70: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

COLOUR

Page 71: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Possible Tools :1. Colour Contrast

Analyser2. Juicy Studio 3. WAVE

Colour Issues :• Insufficient Contrast• Sole means of info• Gradients• Images / background

Colour Accessibilityhttp://weba.im/24color

Page 72: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

CSS

Page 73: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Possible Tools :• Web Dev Toolbar• WAVE• WAT (IE)

CSS Issues :• Logical Order• Focus Indicators• CSS Content• Sprites

The Content CSS Property and Accessibility

http://weba.im/styleoversubstance

Page 74: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

JavaScript

Page 75: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Possible Tools :• WAVE Toolbar• FireEyes• Manual Inspection

JavaScript Issues :• Dynamic Content • Inappropriate Use• Modals / Menus• Controlling the user Accessible JavaScript

http://webaim.org/techniques/javascript/

Page 76: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Multimedia

Page 77: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Tools to use:• Keyboard• Speakers• Visuals

Multimedia Issues :• Autoplay• Captioning• Transcripts• Keyboard Access

BBC Multimedia Standardshttp://weba.im/bbcmedia

Page 78: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Vast Majority of Issues

Keyboard or Visual Focus

Page 79: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Final Words• YOU are the best test tool

• Offer PRAGMATIC solutions

• ASK Questions

• Avoid FUD (fear, uncertainty, doubt)

• Be a SPONGE

• SHARE your knowledge

Page 80: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Final Words• YOU are the best test tool

• Offer PRAGMATIC solutions

• ASK Questions

• Avoid FUD (fear, uncertainty, doubt)

• Be a SPONGE

• SHARE your knowledge

Page 81: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Final Words• YOU are the best test tool

• Offer PRAGMATIC solutions

• ASK Questions (#a11y is your friend)

• Avoid FUD (fear, uncertainty, doubt)

• Be a SPONGE

• SHARE your knowledge

Page 82: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Final Words• YOU are the best test tool

• Offer PRAGMATIC solutions

• ASK Questions

• Avoid FUD (fear, uncertainty, doubt)

• Be a SPONGE

• SHARE your knowledge

Page 83: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Final Words• YOU are the best test tool

• Offer PRAGMATIC solutions

• ASK Questions

• Avoid FUD (fear, uncertainty, doubt)

• Be a SPONGE

• SHARE your knowledge

Page 84: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

Final Words• YOU are the best test tool

• Offer PRAGMATIC solutions

• ASK Questions

• Avoid FUD (fear, uncertainty, doubt)

• Be a SPONGE

• SHARE your knowledge

Page 85: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb
Page 86: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

THANK YOU!

@PatrickDunphy

http://weba.im/psuweb14a11ytest

Page 87: Beat the Tsunami with a WAVE. Web Accessibility Testing 101 #PSUWeb

http://www.fundingexchange.org/news/0s-and-1s-the-tsunami-wave-of-change/http://webconference.psu.edu/http://sites.psu.edu/willamesbury/2013/09/13/beaver-stadium/http://www.yourleaf.org/blog/samantha-oneill/2013-04-22/dirty-hands-clean-planethttp://www.articlesweb.org/culture/neapolitan-ice-cream-origin-and-recipe-sourceshttp://agilemarketing.com.au/website-accessibility-and-usability-the-basics/http://www.lifeplus.com/us-en/product-category/vitamins-mineralshttp://chrisqueen.net/2011/04/19/from-newsreal-blog-bad-medicine/http://www.thatcutesite.com/kitten-doing-morning-exercises.htmlhttp://sciencefiction`.com/2013/12/31/bens-top-5-sciencefiction-com-movies-2013/http://motorburn.com/2014/03/icar-apple-makes-biggest-in-vehicle-play-yet-with-carplay/http://mackaycartoons.net/2013/08/20/tuesday-august-20-2013/http://www.archdaily.com/364518/the-architect-and-the-accessible-city-the-prize-winning-essay/http://www.relacoesinstitucionais.gov.br/http://magrabi.org/causes/magazine-for-the-blind/http://cheezburger.com/6788853248http://clickheretech.davegreenbaum.com/http://www.you-are-the-movement.com/?p=84http://hdfons.com/elmer-fudd/http://www.thatsyogarbage.com/metal-gear-rising-revengarbage/care-bears-caring-and-sharing-sm/http://www.picgifs.com/clip-art/spongebob/http://blog.kevineikenberry.com/influence/intention/improve-your-tomorrows-by-asking-one-question-today/

Photo Credits