+ All Categories
Home > Documents > Accessible DHTML

Accessible DHTML

Date post: 22-Jan-2016
Category:
Upload: ceana
View: 30 times
Download: 0 times
Share this document with a friend
Description:
Simon Bates David Bolter ATRC http://atrc.utoronto.ca/. Accessible DHTML. The Next ~50 Minutes. The problem: DHTML is not accessible The old “solution” Quick teasers about the new solution Illustrative Code demo problem, keyboard, AT, ARIA, High Contrast Dojo - PowerPoint PPT Presentation
Popular Tags:
24
Accessible DHTML Simon Bates David Bolter ATRC http://atrc.utoronto.ca/
Transcript
Page 1: Accessible DHTML

Accessible DHTML

Simon Bates David Bolter

ATRC

http://atrc.utoronto.ca/

Page 2: Accessible DHTML

The Next ~50 Minutes

The problem: DHTML is not accessible The old “solution” Quick teasers about the new solution Illustrative Code demo

problem, keyboard, AT, ARIA, High Contrast Dojo Questions?

Page 3: Accessible DHTML

DHTML Primer

• Custom widgets• JavaScript• CSS• adding behaviour to existing HTML

elements: div, span, ul

Page 4: Accessible DHTML

Why is DHTML Not Accessible?

lack of semantics developers focus on mouse interaction

lack of keyboard support visually biased information important visual stuff happening away from

focus

Page 5: Accessible DHTML

The Old “Solution”

<noscript> tags used to provide alternativeUser experience delta.

<noscript> tags == No love.

Page 6: Accessible DHTML

New DHTML Accessibility

Keyboard navigation!

ARIA: Semantics! Live Regions!

== Accessible Innovation

Page 7: Accessible DHTML

Let's look at code!

Page 8: Accessible DHTML

Keyboard

HTML4: form controls and hyperlinks HTML5 and ARIA: all elements

no tabindex as HTML4 tabindex = -1 programmatic, mouse tabindex = 0 +tab, document order tabindex > 0 +tab, numerical order

Firefox, IE, Opera

Page 9: Accessible DHTML

Let's implement keyboard interaction!

Page 10: Accessible DHTML

Keyboard still to do

Close menu on keypress Return focus Keyboard/mouse interaction

Page 11: Accessible DHTML

Assistive Technologies

Screen readers Screen magnifiers Alternative input Require user interface semantics to provide a

good user experience

Page 12: Accessible DHTML

Assistive Technologies

ApplicationPlatform

Accessibility Service

Assistive Technology

Page 13: Accessible DHTML

Assistive Technologies and HTML

HTML, JavaScript,

CSSBrowser

Platform Accessibility

Service

Assistive Technology

Page 14: Accessible DHTML

ARIA

Assistive Technologies and HTML

HTML, JavaScript,

CSSBrowser

Platform Accessibility

Service

Assistive Technology

Page 15: Accessible DHTML

ARIA: Accessible Rich Internet Applications

• W3C Working Draft• http://www.w3.org/TR/aria-roadmap/• Machine-readable semantics for custom widgets• Roles (menu, progressbar, tree)• States (disabled, valuenow, expanded)• Live regions• Drag and drop• tabindex• Firefox, Opera in progress

Page 16: Accessible DHTML

ARIA Example

<div role=“wairole:progressbar”aria-valuemin=“0”aria-valuemax=“10”aria-valuenow=“8”></div>

Page 17: Accessible DHTML

Let’s look at our menu's screen reader experience

Page 18: Accessible DHTML

High Contrast

Background colours are normalised Background images disappear Foreground colours (text, borders) are

normalised

Page 19: Accessible DHTML

Let's have a look at our menu

Page 20: Accessible DHTML

Dojo

• 1.0 coming very very soon!• dojo: core• dijit: widgets• dojox: extensions

Theme Tester demo

Page 21: Accessible DHTML

Dijit

• Infrastructure for building accessible widgets

• Themeable• Internationalisation, including detection

of writing direction• Set of accessible widgets

Page 22: Accessible DHTML

Accessible Dijit Widgets Form

Button, CheckBox, ComboBox, CurrencyTextBox, DateTextBox, FilteringSelect, Form, InlineEditBox, NumberSpinner, NumberTextBox, Slider, Textarea, TextBox, TimeTextBox, ValidationTextBox

Layout AccordionContainer, ContentPane,

LayoutContainer, LinkPane, SplitContainer, StackContainer, TabContainer

Misc ColorPalette, Dialog, Editor, InlineEditBox, Menu,

ProgressBar, TitlePane,Toolbar,Tooltip,Tree

Page 23: Accessible DHTML

Thanks.

Page 24: Accessible DHTML

Who Supports ARIA? * W3C PF: standardization effort: Roadmap, Roles and States * IBM -- Firefox implementation, Dojo toolkit support, testing tools, supporting standardization effort, test cases and docs * University of Toronto -- Dojo toolkit support * Dojo Foundation -- Dojo toolkit support * University of Illinois -- test cases, Firefox accessibility extension testing tool, developer training, supporting standardization effort * Mozilla Foundation -- grants to developers for ARIA work * Opera -- beginning support in Kestrel (Opera 9.5), supporting standardization effort * Sun Microsystems -- Orca screen reader support, contributor to style guide group * Freedom Scientific -- JAWS screen reader support * GW Micro -- Window-Eyes screen reader support * AI Squared -- ZoomText screen magnifier support * CLC World -- Fire Vox screen reader extension implementation of ARIA widgets and live regions, live region test cases, live region report and recommendations * Google -- developing support on experimental pages Google Reader and Google Notebook * Paciello Group -- developing support in some pages, assisting with Best Practices document, articles, such as WAI-ARIA in HTML and WAI-ARIA live regions * Yahoo! -- presentations to accessibility community, working on ARIA examples * AOL -- style guide and best practices, supporting standardization effort * SAP -- developing support in SAP applications, supporting standardization effort * Microsoft -- supporting standardization effort, IE 5+ support ARIA keyboard navigation (via the same tabindex extensions contained in HTML 5)

YOU!!!


Recommended