© 2008 IBM Corporation Emerging Technologies Web 2.0 Accessibility with Dojo Becky Gibson Web Accessibility Architect Dojo Committer.

Slides:



Advertisements
Similar presentations
Presentation Basics Lesson 2.
Advertisements

© 2011 Delmar, Cengage Learning Chapter 1 Getting Started with Dreamweaver.
Step-by-Step: Add a Graphical Hyperlink USE the Special Events Final presentation that is still open from the previous exercise. 1.Go to slide 4, and click.
Creating and Editing a Web Page Using Inline Styles
Dawn Pedersen Art Institute. What is Spry? Spry is Dreamweaver’s version of JavaScript libraries. Spry effects alter the look of a page element—or of.
Microsoft Word 2010 Lesson 1: Introduction to Word.
Antranig Basman, CARET, University of Cambridge Aaron Zeckoski, CARET, University of Cambridge Josh Ryan, Arizona State University Colin Clark, Adaptive.
Intermediate Level Course. Text Format The text styles, bold, italics, underlining, superscript and subscript, can be easily added to selected text. Text.
® IBM Software Group © 2007 IBM Corporation Accessible Rich Internet Applications and Online Services Rich Schwerdtfeger IBM Distinguished Engineer, Chair.
© 2007 IBM Corporation IBM Emerging Technologies Enabling an Accessible Web 2.0 Becky Gibson Web Accessibility Architect.
Macromedia Dreamweaver 4 Advanced Level Course. Add Rollovers Rollovers or mouseovers are possibly the most popular effects used in designing Web pages.
Chapter 1 Getting Started With Dreamweaver. Explore the Dreamweaver Workspace The Dreamweaver workspace is where you can find all the tools to create.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Accessible Word Document Training Microsoft Word 2010.
Printing and Page Formatting ITSW 1401, Intro to Word Processing Instructor: Glenda H. Easter.
COMPREHENSIVE Excel Tutorial 8 Developing an Excel Application.
Scripted, Tab Accessible Tree Control Hierarchical view of data via tree control. Keyboard Navigation from initially closed tree to view above with focus.
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
Accessibility for Rich Internet Applications: Colin Clark, Fluid Project Technical Lead, Adaptive Technology Resource Centre Techniques & Toolkits.
An Introduction to WAI-ARIA Dan Jackson Web Team Leader City University London.
© 2008 IBM Corporation Emerging Internet Technologies Real World Accessibility with ARIA Becky Gibson Web Accessibility Architect.
Microsoft Word Basics. Opening Screen Parts Title Bar Displays the name of the program and the current file Contains the Quick Access Toolbar Contains.
>To add a component via Page Editor, go to the View tab and check the Designing checkbox to enter Designing mode. >Next, simply click the Component button.
Alternative Views of the Web Jon Gunderson, Ph.D. Division of Rehabilitation-Education Services University of Illinois at Urbana/Champaign.
Real World Accessibility Becky Gibson Dojo Accessibility Lead IBM Web Accessibility Architect.
Java Application Accessibility Awareness Lawrence Najjar.
2005 Adobe Systems Incorporated. All Rights Reserved. 1 Accessibility for Rich Internet Applications Andrew Kirkpatrick Corporate Accessibility Engineering.
© Cheltenham Computer Training 2001 Macromedia Dreamweaver 4 - Slide No 1 Macromedia Dreamweaver 4 Advanced Level Course.
Web Technologies Website Development Trade & Industrial Education
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
IE 411/511: Visual Programming for Industrial Applications
Website Development with Dreamweaver
Accessible DHTML Simon Bates David Bolter ATRC
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved. 1 2 Welcome Application Introducing the Visual Basic 2008 Express Edition IDE.
Microsoft Windows 7 Part 1 Fundamentals of Using Windows 7.
Project 2 Adding Web Pages, Links, and Images Dreamweaver MX 2004 Concepts and Techniques.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
Dreamweaver CS4 Concepts and Techniques Chapter 9 Using Spry to Create Interactive Web Pages.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
WEB ACCESSIBILITY. WHAT IS IT? Web accessibility means that people with disabilities can use the Web. Web accessibility encompasses all disabilities that.
Basic Editing Lesson 2.
Lecture 10 JavaScript: DOM and Dynamic HTML Boriana Koleva Room: C54
FrontPage Tutorial Part 2 Creating a Course Web Site.
HTML Concepts and Techniques Fifth Edition Chapter 4 Creating Tables in a Web Site.
1 CSC160 Chapter 7: Events and Event Handlers. 2 Outline Event and event handlers onClick event handler onMouseOver event handler onMouseOut event handler.
Lesson 1 - Understanding the Word Window and Creating a New Document
 2002 Prentice Hall. All rights reserved. 1 Chapter 2 – Introduction to the Visual Studio.NET IDE Outline 2.1Introduction 2.2Visual Studio.NET Integrated.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Creating and Editing a Web Page
Creating and Editing a Web Page Using Inline Styles
Building a Website: Layout Fall Overall Structure: Home Page Title Section Title Frame Picture UNCP Math Menu Content Footer Contact Information.
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Laboratory Exercise # 10 – Microsoft Word Additional Topics Office Productivity Tools 1 Laboratory Exercise # 10 Microsoft Word Additional Topics Objectives:
MS Word. Getting Started The Microsoft Office Button The Microsoft Office button performs many of the functions that were located in the File menu of.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Web Services University Communications
DHTML.
Excel Tutorial 8 Developing an Excel Application
Creating Tables in a Web Site Using an External Style Sheet
Getting Started with Dreamweaver
Chapter 2 Adding Web Pages, Links, and Images
Chapter 2 – Introduction to the Visual Studio .NET IDE
Tutorial 6 Creating Dynamic Pages
Benchmark Series Microsoft Word 2016 Level 2
Welcome To Microsoft Word 2016
Presentation transcript:

© 2008 IBM Corporation Emerging Technologies Web 2.0 Accessibility with Dojo Becky Gibson Web Accessibility Architect Dojo Committer

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Agenda  Web 2.0 Accessibility Issues  Accessibility Support in Dojo –Keyboard Support –Low Vision Support –Assistive Technology Support via ARIA  ARIA Live Regions  Building Accessible Applications with Dojo  Questions

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Web 2.0 Accessibility Concerns  Rich Interface controls –Reliance on Mouse –Lack of Semantics  Incremental Updates via Ajax  Changes in focus  Excessive Navigation via Tab key  Content aggregation from various resources (Mashups)  Multimedia –Lack of captioning –Interaction issues  Paradigm Shift

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Solving Web 2.0 Accessibility Issues  Provide Accommodations for –Vision –Hearing –Cognitive  Semantics & identification  Navigation & keyboard support  Drag and Drop  Incremental Updates via Ajax

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Dojo Core Widgets Accessibility Support  Provide Accommodations for –Vision –Hearing –Cognitive  Semantics & identification  Navigation & keyboard support  Drag and Drop  Incremental Updates via Ajax Dojo core widgets support the issues presented in bold, underline, orange

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Accessibility Support in Dojo Core Widgets x+  Keyboard support in IE 6, IE 7, Firefox 2, Firefox 3  Screen reader support in FF 2 & FF 3 with JAWS 9  Low Vision Support –Windows high contrast support in IE 6, IE 7, FF2, FF3 –No fixed font sizes –Support Images off in FF  Low Vision support allows claim of “equivalent facilitation” for US Section 508 requirement to run with CSS turned off.

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Dojo Keyboard Support  Implement focus handling via tabindex attribute  Add key event handlers to implement navigation –Use tab key to navigate between components –Arrow and other key navigation within a component  Keep keyboard and mouse interaction in-sync  Set focus to elements, do NOT simulate focus via CSS  DHTML Style Guide group is defining widget behaviors

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Keyboard Demo Some older but still valid pre-recorded demos available at

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Dojo Low Vision Support  Detect high contrast mode –Create and insert a div into the document –Assign different colors to left and right border of div –Examine rendered div - if left color==right color high contrast is on  Detect Images off mode (FF only)  dijit_a11y class to trigger style changes  Provide text alternatives for CSS Background images  No hard coded font sizes

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation High Contrast with CSS … additional template code ${title} <span class="dijitDialogCloseIcon” dojoAttachEvent="onclick: onCancel"> <span dojoAttachPoint="closeText“ class="closeText">x Excerpt from Dialog template: close icon in the dialog title

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation High Contrast with CSS.tundra.dijitDialogCloseIcon { background : url("images/tabClose.png”); }.dijitDialog.closeText { display:none; }.dijit_a11y.dijitDialog.closeText { display:inline; }

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Dojo Sample Compose Mail Page

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Dojo Sample Compose Mail - High Contrast

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Accessible Rich Internet Applications (ARIA)  Addresses Web 2.0 Accessibility Issues  Developed at IBM and donated to W3C –Web Accessibility Initiative (WAI) Protocols & Formats Group –Nearing last call draft  Implemented in Firefox browser –Being implemented in Opera 9.5 –Support just announced for IE 8  Supported by Window-Eyes & JAWS screen readers  Used by IBM, Dojo, AOL, Yahoo, Google, SAP, ….

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation ARIA Details  Add role semantics to scripted user interface (UI) elements  Update state information dynamically  Make items focusable via tabindex attribute  Add keyboard event handling –Mimic the keyboard behavior of the rich client UI –Minimize tab key navigation  Add live region information and notification* to support Ajax *Live region support coming in Firefox 3

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation ARIA Example - Tree Role = tree (on outer container) Role = treeitem expanded=true (on open Africa node) Role = treeitem selected=true (on highlighted Egypt child node with no children) Role = treeitem expanded=false (on closed Australia node)

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Screen Reader Demo Some older but still valid pre-recorded demos available at

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation ARIA Live Regions  Perceivable sections are identified with region role  Live indicates region is updated –Values of: Off, Polite, Assertive, Rude  Atomic identifies the extent of updates –True – entire region is updated and relevant –False – only changed element needs to be presented to user  Controls identifies the element which triggers an update  Supported in Firefox 3 but not yet by Assistive Technologies

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation ARIA Examples - Live Region  Editing auto save notification –live=polite; atomic=true;  Server maintenance notification –Live=assertive; atomic=true;  New mail - speak new entries –Live=polite; atomic=false;

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Current Live Region/Ajax Best Practices  Make Navigation Easy  Place updated information after the trigger that causes the update  Update existing elements with new content  Be very careful about changing focus  Avoid special notification  Use Semantic HTML

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Building Accessible Applications with Dojo  Basic HTML accessibility  Overall application navigation  Create content in appropriate source code order  Widget specific accessibility “features” Application is More than the Sum of Parts

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Basic HTML Accessibility  Use semantic markup  Label form elements - Dojo will respect any label elements  Use standard radio grouping  Be aware of sizing issues - don’t use px

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Label Form Elements Name * <input type="text" id=”fname" name=”fname" class="medium" dojoType="dijit.form.ValidationTextBox” required="true”/>

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Use Standard Radio Grouping Hours <input type="radio" name="hours" id="full" value="full" dojoType="dijit.form.RadioButton" /> Full time <input type="radio" name="hours" id="part" value="part" dojoType="dijit.form.RadioButton" /> Part time Dojo uses standard input type=“radio” element with overlay image

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Be Aware of Sizing Issues and Large Fonts Incorrect Correct

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Overall Navigation  Tab from component to component, key navigation within a component  Be wary of assigning tabindex>0  Dijit ContentPanes not added into tab order by default –Add tabindex=0 on contentPanes with no focusable elements until live regions better supported by AT  Note that Firefox adds containers with overflow into the tab order  Firefox 3 adds containers into the accessibility hierarchy –Mark containers as presentation or grouping as necessary …….form elements……

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Dijit ContentPane Example Firefox puts the tab panel into the tab order - IE does not. If you want the panel in the tab order in all browsers, add tabindex=0 in the contentPane source. Inspect32 used to highlight focus (yellow outline) on tab panel container (implemented using dijit ContentPane) in Firefox. <div dojoType="dijit.layout.ContentPane" title="Third" onClose="testClose" closable="true” tabindex=“0”>

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Source Code Order - Incorrect BorderContainer top bar bottom bar main content INCORRECT source code order, bottom region should be below main content!

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Rendered BorderContainer top bottom Main content Correct tab order is top, main content, bottom. Code from previous page would create the incorrect reading order of top, bottom, main content.

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Source Code Order - Correct BorderLayout top bar main content bottom bar

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Specific Dijit Accessibility Issues  Dojo Book page for each widget contains an accessibility section –Provides key mapping –Describes any known AT issues  Use optionsTitle parameter to label arrow portion of ComboButton –Spoken by Window-Eyes but not JAWS –In Firefox 3 ComboButton arrow and DropDownButton identified as “menu button”  No dialog information spoken by JAWS 9 in FF 2, works in FF3 –Make sure user is aware that a dialog box will open

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Specific Dijit Accessibility Issues - continued  Slider text values are not spoken (coming in 1.2 with FF3)  BorderContainer splitters are in the tab order to allow changing pane size via the keyboard –This may change in future releases –JAWS 9 identifies splitter as “separator”  Tooltips –Display on mouseover or focus of trigger element –Removed on mouseout or blur of trigger element –Spoken by the screen reader  Rich Text Editor

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Rich Text Editor (RTE) Accessibility  Waiting for AT to implement IAccessible2 API for full support  When edit area gets focus, screen reader speaks “edit area”  Select all text for JAWS to speak edit area contents  In FF an extra press of tab key is required to tab out of RTE –Overrides FF2 implementation of tab key press working as indent within the editor and thus no keyboard mechanism to leave editor –With focus in editor first tab key sets focus to the editor frame, screen readers speaks “edit area frame” –Next key press takes user to next focusable element in the tab order

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Summary of Web 2.0 Accessibility with Dojo  ARIA spec not yet a standard – planned for 2008  No ARIA support in Internet Explorer (yet) - Coming in IE8!  No tabindex support in Safari (yet) – thus no keyboard support  Still a few accessibility quirks in Dijit Widgets  Assistive Technology support needs to evolve –Issues with virtual browsing and interactive mode in screen readers –Additional support for live regions –Additional support for drag and drop “The journey of a thousand miles starts with a single step. “

IBM Emerging Technologies Web 2.0 Accessibility with Dojo © 2008 IBM Corporation Resources  Becky’s Accessibility Presentations and Papers –  ARIA Roadmap, Best Practices, Primer, Specifications –  Mozilla Developer Center - Firefox ARIA Information –  Mailing list for ARIA issues –  Dojo –Home - –Book -  Accessibility Sections of Dojo Book –A11y info included on each dijit page –Creating Accessible Widgets –Testing Accessible Widgets  DHTML Style Guide Draft –