open and accessible ui

77
Open and Accessible Mark Meeker

Upload: mark-meeker

Post on 05-Jul-2015

1.222 views

Category:

Technology


3 download

DESCRIPTION

From Flourish 2009 conference in Chicago (http://flourishconf.com). Discussing the value of accessibility and universality for web UIs.

TRANSCRIPT

Page 1: Open and Accessible UI

Open and Accessible

Mark Meeker

Page 2: Open and Accessible UI

About Me

Now...

Previously...

Page 3: Open and Accessible UI

Image Source: http://en.wikipedia.org/wiki/Britannica

Barriers“The Sum of Human Knowledge”

Page 4: Open and Accessible UI

Barriers“The Sum of Human Knowledge”NEWv

Page 5: Open and Accessible UI

“ The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”

- Tim Berners-Lee

Page 6: Open and Accessible UI
Page 7: Open and Accessible UI
Page 8: Open and Accessible UI
Page 9: Open and Accessible UI

“Browsers are the most hostile software engineering

environment possible”- Douglas Crockford

Page 11: Open and Accessible UI

Users will never use your site in theway you expect them to.

Page 12: Open and Accessible UI

Barriershttp://www.flickr.com/photos/goldfishsnaps/2830876853/

Page 13: Open and Accessible UI

Disabilities

• Blind, low vision

• color blindness

• Limited mobility

• Deaf, hearing impaired

Page 14: Open and Accessible UI
Page 15: Open and Accessible UI

Old Technology

Release date: August 27, 2001

Page 16: Open and Accessible UI

Accessibility

Universality

Page 17: Open and Accessible UI

Usability

Page 18: Open and Accessible UI

Solutionshttp://www.flickr.com/photos/82046831@N00/514212023/

Page 19: Open and Accessible UI

W3C - WCAG 2.0

Page 20: Open and Accessible UI
Page 21: Open and Accessible UI

• Use the HTML elements the way they were intended.

• There are 91. How many can you name?

• http://www.oneplusyou.com/bb/html_quiz

Semantic Markup

Page 22: Open and Accessible UI

Progressive Enhancement

• Separate HTML from CSS from JavaScript.

• No in-line style or onclick attributes

http://www.alistapart.com/articles/understandingprogressiveenhancement

Page 23: Open and Accessible UI

• Not every browser is equal in capability.

• Don’t serve what a browser can’t support.

• Color TV versus Black and White TV

• http://developer.yahoo.com/yui/articles/gbs/

Graded Browser Support

Page 24: Open and Accessible UI

Graded Browser Support

http://developer.yahoo.com/yui/articles/gbs/

Page 25: Open and Accessible UI

http://tv.yahoo.com

Page 27: Open and Accessible UI

http://sa.watson.ibm.com

Page 28: Open and Accessible UI

http://sa.watson.ibm.com

Page 29: Open and Accessible UI

JavaScript Libraries

Page 30: Open and Accessible UI

“As far as the customer is concerned, the interface

is the product.”- Jef Raskin

Page 31: Open and Accessible UI

Redundant Inputs

Page 32: Open and Accessible UI

• Offer multiple input options

• GUI input and keyboard input

• Enhance visual cues with text-based cues

• Look to desktop interfaces for patterns

• Seek out CLI developers for testing

Redundant Inputs

Page 33: Open and Accessible UI

http://netflix.com

Redundant Inputs

Page 34: Open and Accessible UI

http://developer.yahoo.com/yui/examples/

Redundant Inputs

Page 35: Open and Accessible UI

Linearization

Page 36: Open and Accessible UI

Linearization

http://ebookers.com

Page 37: Open and Accessible UI

State/Province

Zip/Postal Code

Examples

No Yes United Kingdom, France, Germany

Drop Down Yes United States, Canada, Australia

Input Yes

No No Ireland

Linearization

Page 38: Open and Accessible UI

Linearization

http://basecamphq.com

Page 39: Open and Accessible UI

Focus

Page 40: Open and Accessible UI

Focus

vs.

<input>

<a>

<button>

<div>

<td>

<img>

Page 41: Open and Accessible UI

Real Link?

http://ebookers.com

Page 43: Open and Accessible UI

http://amazon.com

Real Checkbox?

1 2 3

4 5 6

7 8 9

Page 44: Open and Accessible UI

http://amazon.com

Real Checkbox?

1 2 34 5 67 8 9

Page 47: Open and Accessible UI

Updates

Page 51: Open and Accessible UI

<div id=”tripcost” tabindex="-1">// trip cost markup

</div>

onclick:document.getElementById('tripcost').focus();

Set Focus on Update?

Page 52: Open and Accessible UI

Set Focus on Update?

Screen Magnifiers?

Page 53: Open and Accessible UI
Page 54: Open and Accessible UI
Page 55: Open and Accessible UI
Page 56: Open and Accessible UI

http://apple.com

Page 57: Open and Accessible UI

http://blaugh.com/2006/08/21/ajax-makes-everything-better/

Ajax is Everywhere

Page 58: Open and Accessible UI

• Filters• Transitions• Auto-complete• Calendar Pickers• Collapse• Drag and Drop• Lightboxes• Yellow Fade• Auto Update• Hover• Tabs

• Rating Widgets• Sliders• Micro-content• Auto-fill• Expand / Collapse• Inline Validation• Zoom• Navigation• Auto Refresh• Carrousel• Inline edit

Interaction Patterns

Page 59: Open and Accessible UI

WAI-ARIA

Page 60: Open and Accessible UI

• <div> can be a button

• <span> can be a slider

• Need a better API

• Leverage accessibility support in the OS

Replicating the Desktop

Page 61: Open and Accessible UI

• W3C Web Accessibility InitiativeAccessible Rich Internet Applications

• Adds hooks into accessibility API of the platform

• Define Roles and States so scripts can interact with AT APIs

• http://www.w3.org/WAI/

WAI - ARIA

Page 62: Open and Accessible UI

• link• combobox, options• checkbox• radio, radiogroup• button• progressbar• slider• spinbutton• tree,treeitem

• application• presentation• group• grid, gridcell• tab, tablist, tabpanel• list, listitem• menu, menubar• toolbar• alert

Roles

Page 63: Open and Accessible UI

States

• checked

• disabled

• readonly

• expanded

• valuemin, valuemax, valuenow

Page 64: Open and Accessible UI

ARIA

<div role="dialog" ... >

Page 65: Open and Accessible UI

ARIA

<div role="dialog" ... >

Page 66: Open and Accessible UI

ARIA

<li role="treeitem" aria-expanded="true" ... >

Page 67: Open and Accessible UI

ARIA

<div role="slider" aria-valuemin="1" aria-valuemax="5" aria-valuenow="1”>

Page 68: Open and Accessible UI

ARIA

<div role="region” aria-live=”polite” ... >

Page 69: Open and Accessible UI

Resources

Page 70: Open and Accessible UI

Testing

Just Ask: Integrating Accessibility Throughout Design

Shawn Lawton Henry

http://www.uiaccess.com/accessucd/

Page 71: Open and Accessible UI

Testing

http://developer.yahoo.com/yui/theater/

Page 72: Open and Accessible UI

Assistive Technologies

JAWS: Freedom Scientific

Window-Eyes: GW Micro

ZoomText: Ai Squared

FireVox

Page 73: Open and Accessible UI

• Lists of headings

• Text equivalents for images

• Disable scripting, mouse events

• Validation and testing tools

• Zoom

Toolbars

Page 74: Open and Accessible UI

Toolbars

http://firefox.cita.uiuc.edu/

http://www.paciellogroup.com/resources/wat-ie-about.html

http://www.paciellogroup.com/resources/wat-about.html

Page 75: Open and Accessible UI

• Colour Analyzer: http://juicystudio.com/services/colourcontrast.php

Color Contrast

Page 76: Open and Accessible UI

“For most people, technology makes things easier. For people with disabilities, technology makes things possible.”

- President’s Council on Disability

Page 77: Open and Accessible UI

Questions?