Creating dynamic and accessible content in Drupal 7 using WAI-ARIA Sarah Pulis Web Accessibility Evangelist DruaplCon | Content Authoring |

Slides:



Advertisements
Similar presentations
Everett Zufelt Tech Lead / Accessibility Accessibility of Custom User Interface Components Using WAI-ARIA.
Advertisements

The Paciello Group Accessing Higher Ground, 2014.
ARIA Web Design and Development Patterns KEITH HAYS IT Accessibility Specialist CITES / ITaccess
Screen Rea ript aSc A Jav RI ithA w der + Accessible Rich Internet Applica1ons.
Web 2.0 Accessibility Section 508 Coordinators Training Conference Rich Schwerdtfeger DE, SWG Accessibility Strategy and Architecture Chair: W3C WAI-ARIA.
Antranig Basman, CARET, University of Cambridge Aaron Zeckoski, CARET, University of Cambridge Josh Ryan, Arizona State University Colin Clark, Adaptive.
® IBM Software Group © 2007 IBM Corporation Accessible Rich Internet Applications and Online Services Rich Schwerdtfeger IBM Distinguished Engineer, Chair.
Chapter 3 Tables and Page Layout
Tutorial 6 Working with Web Forms
Computing Concepts Advanced HTML: Tables and Forms.
Introduction To Form Builder
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Table, Forms, Metatags and Frames.
Hans Hillen (TPG) Steve Faulkner (TPG) 02 / 25 / 13 Accessibility of HTML5 and Rich Internet Applications - CSUN
ARIA Support on Mobile Browsers
ARIA intro WAI ARIA The problems being addressed  Limitations of the web pidgin  The old and new webs The ARIA solution (roles, states, properties, regions,
® IBM Software Group © 2006 IBM Corporation W3C Roadmap for ARIA … and beyond Rich Schwerdtfeger IBM Distinguished Engineer, Chair W3C WAI PF ARIA Subteam.
Scripted, Tab Accessible Tree Control Hierarchical view of data via tree control. Keyboard Navigation from initially closed tree to view above with focus.
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.
HTML5 Accessibility Ted Drake, Yahoo! Accessibility Lab Slideshare.net/7mary4.
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.
Development of Accessible E-documents and Programs for the Visually Impaired WAI-ARIA (V2011)
2005 Adobe Systems Incorporated. All Rights Reserved. 1 Accessibility for Rich Internet Applications Andrew Kirkpatrick Corporate Accessibility Engineering.
Yahoo! Experiences with Accessibility in DHTML and RIA Nate Koechley Senior Engineer & Designer, Yahoo! User Interface (YUI) Library Team Platform Engineering.
® IBM Software Group © 2006 IBM Corporation JSF Tree Control This Learning Module describes the use of the JSF Tree Control – for hierarchical organization.
HTML, XHTML, and CSS Chapter 12 Creating and Using XML Documents.
ARIA + HTML5 Steve Faulkner & Hans Hillen The Paciello Group.
Forms and Applications Web Design Professor Frank.
Hans Hillen (TPG) Steve Faulkner (TPG) Karl Groves (TPG) Billy Gregory (TPG)
Intro to Dreamweaver Web Design Section 7-1 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course.
Accessible DHTML Simon Bates David Bolter ATRC
Accessible DOM scripting with ARIA Léonie Watson
Functional Accessibility Evaluation of Web 2.0 Applications Testing Jon Gunderson, Ph.D University of Illinois.
Avoiding the JavaScript:Void(‘’): Building Web Apps That Work Anywhere and Everywhere Jason Pitoniak Rochester Institute of Technology HighEdWeb 2008 ▪
Adobe Flash CS4 – Illustrated Unit A: Getting Started with Adobe Flash.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 10.
Accessible DHTML Implementation Aaron Leventhal IBM Senior Engineer Firefox accessibility lead Firefox 1.5.
Aria Roles Informing assistive technology. What are Aria Roles A way of conveying the role or state of content or functionality. Accessible Rich Internet.
HTML Basic. What is HTML HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it.
ARIA Support on Mobile Browsers Jonathan Avila Chief Accessibility Officer, SSB BART Group.
Week 8.  Form controls  Accessibility with ARIA.
An Introduction to the Accessibility API on Windows David MacDonald President, CanAdapt Solutions Inc.
Complex UI & Access i bility 5 tips to improve accessibility when building interactive page elements Charlie Perrins, DARE.
ARIA design patterns When UX meets a11y Funka Accessibility Day 2016.
Adobe Flash Professional CS5 – Illustrated Unit A: Getting Started with Adobe Flash Professional.
Section 10.1 Define scripting
Athletic Rivalries and Web Accessibility
Jason Pitoniak Rochester Institute of Technology
Web Basics: HTML/CSS/JavaScript What are they?
Presented by: Bryan Garaventa, Accessibility Fellow
Chapter 7 Absolute/relative hyperlinks Frag id 3-column site
CARA 3.10 Major New Features
Reaching more customers with accessible Metro style apps using HTML5
What Designers Need to Know about Accessibility (A11y)
DHTML Javascript Internet Technology.
Web Content Accessibility Beata M. Ofianewska (DG COMM) 7 December 2006 December 2006 COMM C2.
DHTML Javascript Internet Technology.
Forms, cont’d.
Chap 7 Abs/rel hyperlinks Frag id Sprites (Student presentation)
© 2015, Mike Murach & Associates, Inc.
Document Object Model (DOM): Objects and Collections
Chap 7 Abs/rel hyperlinks Frag id Sprites (Student presentation)
30 Web Accessibility Tips: Creating Accessible Web-Based Resources
Demystifying Web Content Accessibility Guidelines
Presentation transcript:

Creating dynamic and accessible content in Drupal 7 using WAI-ARIA Sarah Pulis Web Accessibility Evangelist DruaplCon | Content Authoring | 7 February 2013

About me 2002Ignorant 2002+Educated and aware 2010Commitment 2012Champion Read about Making accessibility part of culture change: it's all in the attitude on Access iQ™. Image credit: Ruth Ellison and Kim ChatterjeeMaking accessibility part of culture change: it's all in the attitude

WAI-ARIA Accessible Rich Internet Applications (from the W3C Web Accessibility Initiative)

The problem HTML is really only meant for static content Javascript rides to the rescue! Dynamic interactions! Widgets! But assistive technologies don’t understand dynamic interactions and widgets

Accessibility interoperability at a DOM Node without JavaScript Assistive Technology UI component Data UI Role States Actions Caret Selection Text Hypertext Value Name Description Children Changes Relations Contract From WAI-ARIA PrimerWAI-ARIA Primer

Accessibility interoperability at a DOM Node with JavaScript Assistive Technology UI component Data UI ^Role ^States ^Actions Caret Selection Text Hypertext ^Value Name Description Children ^Changes ^Relations Contract From WAI-ARIA PrimerWAI-ARIA Primer

WAI-ARIA WAI-ARIA roles Abstract, widget, document structure and landmark roles WAI-ARIA states and properties Widget, live region, drag-and-drop and relationship attributes

What we are looking at today WAI-ARIA for page structure WAI-ARIA live regions WAI-ARIA to enhance keyboard navigation WAI-ARIA for forms WAI-ARIA for widgets

WAI-ARIA is the bridge

Roles Describe the purpose of an object Abstract roles (general role concepts, not to be used) Widget roles (user interface widgets) Document structure roles (content structure) Landmark roles (webpage structure)

Widget roles alert, alertdialog, button, checkbox, dialog, gridcell, link, log, marquee, menuitem, menuitemcheckbox, menuitemradio, option, progressbar, radio, scrollbar, slider, spinbutton, status, tab, tabpanel, textbox, timer, tooltip, treeitem

Document structure roles article, columnheader, definition, directory, document, group, heading, img, list, listitem, math, note, presentation, region, row, rowheader, separator, toolbar

Landmark roles application, banner, complementary, contentinfo, form, main, navigation, search

States and properties Provide specific information about an object Define the nature of a role Widget Attributes Live Region Attributes Drag-and-Drop Attributes Relationship Attributes

States Describe the dynamic properties of an object that may change in response to a user action, or automated process For example: aria-checked, aria-disabled aria-expanded, aria-invalid

Properties Describe the nature of an object, or a data value associated with the object For example: aria-label, aria-labelledby aria-live, aria-multiselectable, aria-readonly

Keyboard access Assign tabindex (includingtabindex=-1) to any element for greater keyboard control

WAI-ARIA for page structure

<div role= ”navigation” <div role= ”complementary ”

Differentiate landmarks with the same type Use aria-label to differentiate between regions with the same landmark type

Assistive technology support Jaws 11/12/13 has complete support. ChromeVox has complete support VoiceOver supports all landmarks except “form” NVDA supports all landmarks except “application” and “form” Window Eyes does not support ARIA landmarks Latest ARIA landmark role support dataLatest ARIA landmark role support data, The Paciello Group (Nov 2011)

WAI-ARIA and forms

aria-required Use aria-required=“true” for required form fields First Name : (required)

aria-describedby Use aria-describedby to provide supporting information for an input field <input type=“password" id=“pwd“ aria-describedby=“pwd-reqs“ /> Your password must be 8 characters in length and include one number

aria-invalid First name :

aria-label and aria-labelledby The purpose of aria-label and aria- labelledby are the same Use aria-labelledby if the label text is visible on the screen Use aria-label if the label text isn’t visible on the screen

Aria-labelledby Self destruct this page in seconds Example from WebAIM:

WAI-ARIA live regions

ARIA live regions (priority) aria-live=“off” Updates are not announced to the user aria-live=“polite” Updates only announced if user is idle aria-live=“assertive” Updates are announced ASAP, but user is not interrupted

ARIA live regions (relevance) aria-busy (values: true, false) AT will only announced changes once aria-busy=“false” aria-atomic (values: true, false) Read out only the change, or the entire live region aria-relevant (values: additions, removals, text) Relevant changes to live regions depends on value

Special ARIA live regions alert one-time notification Status updated periodically w/ web app status timer time elapsed or time remaining marquee scrolling text (e.g. stock ticker) log new information (e.g. chat program)

WAI-ARIA for widgets

ARIA validation ARIA attributes don’t validate in HTML4 Use the HTML5 DOCTYPE with ARIA markup Validate using the W3C Nu Markup Validation ServiceW3C Nu Markup Validation Service

Take-aways Dynamic content no longer has to be inaccessible to assistive technologies Start using ARIA now (if you aren’t already) Easy wins (landmark roles, forms) It’s kinda fun!

Session evaluation Creating dynamic and accessible content in Drupal 7 using WAI-ARIA

W3C WAI-ARIA documents WAI-ARIA technical specification WAI-ARIA Primer WAI-ARIA Authoring Practices

Useful WAI-ARIA resources Using ARIA in HTML Introduction to WAI-ARIA Introduction to WAI-ARIA (Opera) The Paciello Group Blog

Web accessibility know how Level 3, Harris St Ultimo NSW 2007 t: accessiq.org