18
FOSS-AMA Satellite event Jan Vystrcil Czech Technical University in Prague Faculty of Electrical Engineering Czech Republic Incorporating ARIA into Web Toolkit

7 Incorporating ARIA into Web Toolkit

Embed Size (px)

DESCRIPTION

This presentation deals with the problem of efficient and correct implementation of Accessible Rich Internet Application (ARIA) recommendation into user interface component during rich internet application development process. A new methodology is presented, which is based on testing the accessibility on real-life web applications with help of experienced blind users. Three Web Toolkits were evaluated by this method and serious accessibility issues were found. This new approach was then used to implement ARIA recommendation into one open source Web Toolkit.

Citation preview

Page 1: 7 Incorporating ARIA into Web Toolkit

FOSS-AMASatellite event

Jan VystrcilCzech Technical University in Prague

Faculty of Electrical EngineeringCzech Republic

Incorporating ARIA into Web Toolkit

Page 2: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

Outline

RIA and ARIA Sample application Development process Testing process

Page 3: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

RIA

What is Rich Internet Application (RIA)?◦ New approach on Internet◦ Websites look more like desktop applications

Online documents E-mail Instant messaging Calendar Social networking

Number of RIA rapidly increasing Possible benefits for handicapped people working

with Internet

Page 4: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

RIA +/-

RIA pros◦ Higher comfort

Suggestions Immediate feedback

◦ Better user experience Drag&Drop Sophisticated components

(tree, collapsible panel)

◦ Dynamics Chat Shared data Collaboration

RIA cons◦ Not transparent

Many concurrent changes Complex components

◦ Unclear structure Content (not in HTML) Semantics in code of scripts

◦ Problematic keyboard navigation

◦ Difficult controlling of components

◦ Dependency on JavaScript

Page 5: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

WAI-ARIA

RIA is less accessible than "standard" web pages◦ How this can be solved?

Web Accessibility Initiative (WAI)◦ part of W3C consortium

Accessible Rich Internet Application suite of W3C (WAI-ARIA)◦ Working draft◦ Recommendations on how to make RIA accessible

Additional metadata Bring back the semantics into HTML code

◦ No restrictions on current functionality

Page 6: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

a11y issues tackled by ARIA

Keyboard-only operation impossible Orientation in content

◦ Missing appropriate labels◦ Hiding of some content without announcement

Tab panels Collapsible panels

Controlling of UI components◦ Wrong or missing tab order◦ Focus stacking or disappearing◦ Wrong or missing status announcement

Checkbox Radio Button Slider

aria-labeledbyaria-expanded

tabindex

checked

Page 7: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

Introduction of sample application

Web e-mail client: http://www.myaccessiblemail.com

Page 8: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

SAMPLE 1Without accessibility

Page 9: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

SAMPLE 2With accessibility

Page 10: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite eventIntroduction of sample application

Page 11: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

Making ARIA from RIA

not so easy as it looks :-)

Page 12: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

Problems of implementation a11y into RIA

Development process◦ Low motivation of developers◦ Insufficient knowledge of a11y rules◦ Extra work◦ Time & Budget restrictions

Testing process◦ Isolated components testing◦ Sighted developers/testers used for testing

Real accessibility◦ Various browsers◦ Various screen readers

cca 40 custom options in JAWS scripting in Orca

Page 13: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

Development process

Incorporating of ARIA into UI components of RIA toolkit◦ Saving majority of redundant work◦ Many RIA toolkits trying ARIA implementation◦ Not solving all a11y issues

Embedded components often working differently than single components

◦ Some ARIA markup depends on concrete implementation of RIA application

Need of special developer tool◦ Facilitation of ARIA development process◦ Familiarization of a11y

Page 14: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

First testing of web toolkits

Performed in first half of 2009 3 Open source RIA toolkits

◦Dojo, ExtJS, ICEfaces 20 developers

◦Developed simple real live applications◦Evaluated with screen reader

Found a11y issues in 30 components Total of issues was more than 100

Page 15: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

First testing of web toolkits

Testing on small real live application ◦ No testing of standalone components

final application a11y not ensured◦ Systematical testing of all combinations of components

impossible Sighted developers/testers used for testing

◦Not used to everyday usage of screen readers Low efficiency and accuracy of testing with screen reader

◦ Know the functionality of application in advance

Page 16: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

Second testing with blind users

Maximal accuracy of testing Still any problems?

◦ Bugs in application◦ Unsolved accessibility issues◦ Unknown structure of application

Experienced blind users for testing needed Direct cooperation of blind user and developer Automatically generated description of page

◦ Blind user can use it for easier orientation

Page 17: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

Conclusion

Integration of support into developer tool needed◦ User interaction design patterns

Searching Selection Navigation

◦ Checking values for ARIA attributes◦ Checking correct use of ARIA attributes

Section role="application" => no free text

Page 18: 7 Incorporating ARIA into Web Toolkit

27-28 March 2010, Paphos, Cyprus

FOSS-AMASatellite event

Thank you for attention

Jan VystrcilCzech Technical University in Prague

Faculty of Electrical EngineeringCzech Republic