practical accessibility - midwest ux conference 2011

74
Practical Accessibility Midwest UX Conference 2011 A workshop by Chris Merkel UX Designer/IA, Computech Inc. Agenda: 2:10 - 4:00 pm • Introduction Visual Perception Navigation and Forms • Scripting Review, Q&A

Upload: chris-merkel

Post on 08-May-2015

1.903 views

Category:

Technology


2 download

DESCRIPTION

Design and development communities do want to plan and build accessibility features into products, yet most departments don't have a big lab, and rarely have direct familiarity with the major access devices and software used by the disabled. Even with the best intentions, companies' products might be merely accessible, but are not practically usable. This workshop will expand participants' knowledge outside of the "industry standard" checklists, and bring real understanding of this large pool of users. For each example, practical tips and exercises will be run through to show problems disabled users face in these situations, with practical usability solutions for them. After the workshop, participants will have a more thorough, hands-on empathy of how the disabled use an operating system and navigate websites, and will be better prepared to re-think their design approach for this large audience and its challenges.

TRANSCRIPT

Page 1: Practical Accessibility - Midwest UX conference 2011

Practical AccessibilityMidwest UX Conference 2011

A workshop by Chris Merkel

UX Designer/IA, Computech Inc.

Agenda: 2:10 - 4:00 pm

• Introduction• Visual Perception

• Navigation and Forms

• Scripting

• Review, Q&A

Page 2: Practical Accessibility - Midwest UX conference 2011

Computech, Inc.Design and UX Lead, FCC Licensing & Auctions

Spikesource, Inc.UX Manager, Microsoft & Intel contracts

Xerox Corporation,Creative Lead, Xerox.com & DocuShare

Yahoo!Producer, Yahoo! Personals

Who’s this Chris Merkel guy?

Page 3: Practical Accessibility - Midwest UX conference 2011

Disabled friends & veterans

Corporate responsibility

Personal fears: physical injury sight loss

What matters to me?

Page 4: Practical Accessibility - Midwest UX conference 2011

Changes in legal scope

Larger market share: 25.6 million

Prestige

(and angry mobs with torches)

Why should it matter to you?

Page 5: Practical Accessibility - Midwest UX conference 2011

What is it?• 1997 update to an

Amendment of the Rehabilitation Act of 1973

How to meet it?• 16 provisions

of Sub-part B, 1194.22*

Who needs to meet it?• All federal agencies

(with some exceptions*)

• State and local agencies

 Who enforces it?• Each organization

chooses the standards it wants to meet individually

What’s “Section 508”?

More official info: Section508.govComplete, handy practical checklist: webaim.org/standards/508/checklistOfficial federal standards are listed at: section508.gov/index.cfm?fuseAction=stdsdoc

Page 6: Practical Accessibility - Midwest UX conference 2011

What is it?• Web Content Accessibility Guidelines from the W3C

How to meet it?• 3 levels of conformance:

A, AA, AAA

• WCAG 1.0 created 1999

• WCAG 2.0 updated in 2008

Who needs to meet it?• Not required by law

(yet)

Who enforces it?• 3rd parties such as

NFB

• Private companies

• DOJ may soon use WCAG

What’s “WCAG”?

* More info at w3.org/TR/WCAG20/ (2008) and w3.org/TR/WCAG10/ (1999)

Page 7: Practical Accessibility - Midwest UX conference 2011

Practical AccessibilityMidwest UX Conference 2011

A workshop by Chris Merkel

UX Designer/IA, Computech Inc.

Agenda: 2:10 - 4:00 pm

• Introduction

• Visual Perception

• Navigation and Forms

• Scripting

• Review, Q&A

Page 8: Practical Accessibility - Midwest UX conference 2011

In the U.S…

Affects 1 in 1225,121,794

8% of men11,882,851

0.4% of women

611,703

Color Blindness

Page 9: Practical Accessibility - Midwest UX conference 2011

Delta: Full Color Vision

Page 10: Practical Accessibility - Midwest UX conference 2011

Delta: Red/Green Deficiency

Page 11: Practical Accessibility - Midwest UX conference 2011

Test in Adobe AI or PSD

Page 12: Practical Accessibility - Midwest UX conference 2011

Avoid certain color combinations

Color brightness & contrast

Pattern, shapes, borders

Font families & weights

Techniques for Color Blindness

Full Color 2 types of Red/Green

Blue/Yellow

Page 13: Practical Accessibility - Midwest UX conference 2011

How to improve Delta.com?

Normal R/G Deficient

How would you make this display more accessible for the visually impaired?

Page 14: Practical Accessibility - Midwest UX conference 2011

Facebook: Low Vision

Page 15: Practical Accessibility - Midwest UX conference 2011

Keep proper contrast

Carefully manage colors which change the most: Yellow, Green, Red

Highlight interactive thingies better

No “Tiny Text” and wimpy controls

View your UI on more screens & devices

Visual Techniques

Page 16: Practical Accessibility - Midwest UX conference 2011

Practical AccessibilityMidwest UX Conference 2011

A workshop by Chris Merkel

UX Designer/IA, Computech Inc.

Agenda: 2:10 - 4:00 pm

• Introduction

• Visual Perception

• Navigation and Forms

• Scripting

• Review, Q&A

Page 17: Practical Accessibility - Midwest UX conference 2011

Mobility DisordersThey Need Help to Reach That

Page 18: Practical Accessibility - Midwest UX conference 2011

Complete inability to use limbs

Repetitive stress disorder

Simple fatigue

Mobility Challenges

Page 19: Practical Accessibility - Midwest UX conference 2011

x Hard to spot

x Hard to click on

X Hard to use

Small Click Targets

How would you make these controls easier for the mobility impaired to use?

Page 20: Practical Accessibility - Midwest UX conference 2011

Inability to use mouse actions:

Cannot rely on : hover or onMouseOver

Interact with elements out of order

Click + Drag

Instead, they:

TAB and ÛÜÙÚ arrow keys to navigate

SPACE and ENTER to activate

Keyboard Use

Page 21: Practical Accessibility - Midwest UX conference 2011

Twitter: Visual Focus

Page 22: Practical Accessibility - Midwest UX conference 2011

Facebook: Visual Focus

Page 23: Practical Accessibility - Midwest UX conference 2011

Consider the TAB order

Surface intuitive directional and command keys, and common modifiers: , Shift, Control, Escape

Use common HTML controls, then enhance progressively

Keyboard Access Techniques

Page 24: Practical Accessibility - Midwest UX conference 2011

Keyboard Use

What would you do to make this playlist accessible for mobility handicapped?

Page 25: Practical Accessibility - Midwest UX conference 2011

You, with the smartphone:

Inability to use :hover or onMouseOver

Difficulty with Click + Drag

Limited viewing area

Difficulty with lighting

Patchy attention span

Multimedia access

Mobile Users

Page 26: Practical Accessibility - Midwest UX conference 2011

Non-Visual UsersSome People Can Only Hear the Web

Page 27: Practical Accessibility - Midwest UX conference 2011

Screen Readers Braille Printers

Sightless User’s Devices

Page Title: AccessibilitySkip main navigation linkList with six items...Introduction link...Barriers link... Assistive Technologies, and Alternative Access Strategies link...Accessibility in Law and Policy link...Designing accessible web sites link...Tools for accessibility link...Finding additional resources on Web accessibility link...

Page 28: Practical Accessibility - Midwest UX conference 2011

A “Soda Straw” Perception

Page 29: Practical Accessibility - Midwest UX conference 2011

A “Soda Straw” Perception

Page 30: Practical Accessibility - Midwest UX conference 2011

A “Soda Straw” Perception

Page 31: Practical Accessibility - Midwest UX conference 2011

A “Soda Straw” Perception

Page 32: Practical Accessibility - Midwest UX conference 2011

BROWSERS:

IE 8: 43.1%

Firefox 3+: 23.5%

IE 7: 12.5%

Safari: 9.6%

Others: 11.4%

(incl. IE6, 9, Chrome)

SCREEN READERS:

JAWS: 69.6%

NVDA: 34.8%

VoiceOver: 20.2%

Window-Eyes: 19.0%

Others: 29.7%(incl. System Access

& ZoomText)

Damned Lies & Statistics

2009 to 2010

Page 33: Practical Accessibility - Midwest UX conference 2011

Dispatch.com

Page 34: Practical Accessibility - Midwest UX conference 2011

Dispatch.com: Headers & Links

Page 35: Practical Accessibility - Midwest UX conference 2011

Dispatch.com: Headers & Links

“Ongoing Stories, Heading Level 3”

“Ted Williams… Heading Level 2,

Where we live… Heading Level 2”

Page 36: Practical Accessibility - Midwest UX conference 2011

Just like making an outline

Gives blind users a sense of a document’s contents and structure

Search engines will be better able to index your site with this grouping

(this only works with real heading tags)

Headers

Page 37: Practical Accessibility - Midwest UX conference 2011

Do your links make sense by themselves?

Links

Page 38: Practical Accessibility - Midwest UX conference 2011

Do your links make sense by themselves?

Links

Page 39: Practical Accessibility - Midwest UX conference 2011

Do your links make sense by themselves?

No one wants to…

“Read more, read more, read more, read more, read more”, or;

“Click here, click here, click here, click here, click here”

Links

Page 40: Practical Accessibility - Midwest UX conference 2011

United.com: Visual Display

Page 41: Practical Accessibility - Midwest UX conference 2011

Same Site: No Images

Page 42: Practical Accessibility - Midwest UX conference 2011

<img src="logo-ymail-wh-beta.png" alt=“ “>

<img src="logo-ymail-wh-beta.png" alt=“Home”>

<img src="logo-ymail-wh-beta.png" alt=“Yahoo! Mail”>

<img src="logo-ymail-wh-beta.png" alt=“Yahoo! Mail homepage”>

What’s the Right Description?

Page 43: Practical Accessibility - Midwest UX conference 2011

You are writing for people who cannot see or make use of images alone…or at all!

<img src="logo-ymail-wh-beta.png" id="ymail-image" alt="Yahoo! Mail">

3 Types of Text Alternatives:• Blank: alt=“ ” for decorative-only

images• Short: most common alternatives• Long: for very complex images, e.g.

charts

Images and ALT Tags

Page 44: Practical Accessibility - Midwest UX conference 2011

<table summary=“Items, quantity, and description”>

<caption>Equipment in stock</caption>

<thead> <tr><th>Item</th></tr></thead>

<tbody> <tr><td>Cleats</td></tr></tbody>

</table>

Tables

Equipment in stock

Page 45: Practical Accessibility - Midwest UX conference 2011

<ol> Ordered List<li> List Items

<ul> Unordered List<li> List Items

<dl> Definition List<dt> Definition Terms

<dd> Definition Description (s)

Lists

Page 46: Practical Accessibility - Midwest UX conference 2011

Lists: Google Search Results

List with 10 items…Out of list, List item one…Accessibility and Assistive Technology…

Page 47: Practical Accessibility - Midwest UX conference 2011

Bold, Strong? Italic, Emphasis?

<em>Accessibility 2011</em>:

Escape! | <em>Facebook</em>

Page 48: Practical Accessibility - Midwest UX conference 2011

Skip Links

“Link: A different version of this web site containing similar content optimized for screen readers and mobile devices may be found at the web address www.amazon.com/access.”

Page 49: Practical Accessibility - Midwest UX conference 2011

Document Landmark Roles

articlebannercomplementarycontentinfomainnavigationsearch

Introduction to WAI ARIA

banner

main

navig

ati

on

contentinfo

article

article

Page 50: Practical Accessibility - Midwest UX conference 2011

Document Landmark Roles

Introduction to WAI ARIA

banner

main

navig

ati

on

contentinfo

article

article

<li role=“article“ >...</li>

<div role=“main“ >...</div>

Page 51: Practical Accessibility - Midwest UX conference 2011

Improve Twitter for the Blind

How would you make this application more accessible for sightless users?

Page 52: Practical Accessibility - Midwest UX conference 2011

Use real headings in an outline order

Include a text alternative for all images

Make links and commands intuitive

Construct tables properly

Give users ways to skip through content

Don’t rely on mouse interactions

Non-Visual Techniques

Page 53: Practical Accessibility - Midwest UX conference 2011

Form ConstructionMaking Pesky Forms Accessible

Page 54: Practical Accessibility - Midwest UX conference 2011

NORMAL READING

• Speaks the content of an entire window

• Most users skip through content via shortcut keys

FORMS EDIT MODE

• Turns on when focusing on a form control

• Users then TAB from one field or control to another

• They do not hear any text that is not part of a field

Screen Reader Modes

Page 55: Practical Accessibility - Midwest UX conference 2011

All form fields need a label

United.com: Field Labels

Page 56: Practical Accessibility - Midwest UX conference 2011

<label for="shipping-user-companyName" > <span>Company Name (optional)</span></label><input name="shipping-user-companyName" type="text" id="shipping-user-companyName" aria-label="Company Name (optional)" >

Apple.com: Advanced Labels

Page 57: Practical Accessibility - Midwest UX conference 2011

Asterisks aren’t good enough• Add understandable text to form labels

Use ARIA attributes:

<input type="text" id="contactname“ name="contactname" size="30“ aria-required="true" >

Mark Form Fields Required

Page 58: Practical Accessibility - Midwest UX conference 2011

Make the form easy to find

Associate labels and instructions with all controls

Carefully manage page refreshes, focus, and error display

Number fields with <OL> in long forms

Mark required fields

Form Construction Techniques

Page 59: Practical Accessibility - Midwest UX conference 2011

Practical AccessibilityMidwest UX Conference 2011

A workshop by Chris Merkel

UX Designer/IA, Computech Inc.

Agenda: 2:10 - 4:00 pm

• Introduction

• Visual Perception

• Navigation and Forms

• Scripting• Review, Q&A

Page 61: Practical Accessibility - Midwest UX conference 2011

Negative “tabindex” lets an element receive programmatic focus without getting in the way of TAB key

<div id="progaccess" tabindex="-1" > ... </div>

var objDiv = document.getElementById('progaccess'); // Focus on the element objDiv.focus();

TAB Index

Page 62: Practical Accessibility - Midwest UX conference 2011

Twitter: Page Changes

www.twitter.com

Page 63: Practical Accessibility - Midwest UX conference 2011

Twitter: Page Changes

www.twitter.com

Page 64: Practical Accessibility - Midwest UX conference 2011

ARIA Live Regions

off: <ul aria-live="off" >…</ul>

polite: <ul aria-live="polite" >…</ul>

assertive: <ul aria-live="assertive" >…</ul>

Handle Data Refresh with ARIA

Page 65: Practical Accessibility - Midwest UX conference 2011

Roles:applicationgridgridcellalertbutton

States and properties:

aria-labeledbyaria-disabledaria-grabbedaria-dropeffect

Announce States with ARIA

test.cita.illinois.edu/aria/draganddrop/draganddrop1.php

Page 66: Practical Accessibility - Midwest UX conference 2011

Carefully manage page refresh & errors

Alert non-visual users to any changes

Ensure the proper focus in widgets and dialogs during user interaction

Keep keyboard commands in mind

Use libraries: YUI, jQuery UI, GWT, etc.

Scripting Techniques

Page 67: Practical Accessibility - Midwest UX conference 2011

Practical AccessibilityMidwest UX Conference 2011

A workshop by Chris Merkel

UX Designer/IA, Computech Inc.

Agenda: 2:10 - 4:00 pm

• Introduction

• Visual Perception

• Navigation and Forms

• Scripting

• Review, Q&A

Page 68: Practical Accessibility - Midwest UX conference 2011

Visual Display

Test your color use

Highlight your controls

No more “Tiny Text”

Navigation

Use real headings

Links must make sense

Functionality

Test with more devices

Label things

Manage focus properly

Content

Supplement controls with instructions

Don’t assume your users share your sensory

perceptions

Page 69: Practical Accessibility - Midwest UX conference 2011

Dive Into Accessibility“30 days to a more accessible web site”

Javascript Accessibility“JavaScript should be applied in a way that enhances the page, rather than requiring it”

Just Ask: Integrating Accessibility Throughout Design

“A different kind of accessibility book”

Yahoo! Accessibility Code Library“Code snippets, patterns, presentations and tutorials…”

Establishing a Screen Reader Test Plan

Techniques

Page 70: Practical Accessibility - Midwest UX conference 2011

JavaScript and screen readers“How Screen Readers Read Webpages”

How Blind People See the Interneton NBC Technolog

Accessibility for Web Writers“Some web writers may not know how much their work can affect accessibility. That needs to change.”

Can the Visually Impaired Access Your Site?

On the Web: Mobile and Accessible?

Articles

Page 71: Practical Accessibility - Midwest UX conference 2011

Web Axe: webaxe.blogspot.com | @webaxe

Web Accessibility In Mind: webaim.org

Windows Developers: msdn.microsoft.com…bb735024

The Paciello Group: paciellogroup.com/blog

Opera Community: dev.opera.com/articles/accessibility

AOL Developers: dev.aol.com/accessibility/bestpractices

Accessibility Insights: accessibilityinsights.com

Twitter: #a11y , #accessibility , #wcag , #wcag2 , #axs

Organizations & People

Page 72: Practical Accessibility - Midwest UX conference 2011

Web content accessibility validation - CynthiaSays.com

AIS accessibility toolbar - VisionAustralia.org.au

Color contrast checker - WebAIM.org …/contrastchecker

Web accessibility evaluation tool - WAVE.webaim.org

Firefox extensions - Addons.Mozilla.org…accessibility

Deque’s web accessibility products - Deque.com

Web markup eval tool list - WebAIM.org …/markup

Tools

Page 73: Practical Accessibility - Midwest UX conference 2011

Section508Easy checklist: WebAIM.org/standards/508/checklistOfficial specifications: Section508.gov

WCAGEasy checklist: WebAIM.org/standards/wcag/checklistOfficial specifications: w3.org/TR/WCAG20/

Standards & Compliance

Page 74: Practical Accessibility - Midwest UX conference 2011

Keep up the Conversation

[email protected] | @merkelwerks