Pro HTML5 Accessibility



Similar documents
Universal Design. For Web Applications. Wendy Chisholm & Matt May Web 2.0 Expo 17 September 2008

Voluntary Product Accessibility Template (VPAT)

Mobile Web Design with HTML5, CSS3, JavaScript and JQuery Mobile Training BSP-2256 Length: 5 days Price: $ 2,895.00

Web 2.0 Accessibility: Order in Chaos. Aaron Leventhal

Web Accessibility means that a website is accessible if everyone, regardless of ability, can access the website and retrieve all the information

The Essential Guide to User Interface Design An Introduction to GUI Design Principles and Techniques

Backbase Accessibility

Voluntary Product Accessibility Template Blackboard Learn Release 9.1 April 2014 (Published April 30, 2014)

BUILDING MORE ACCESSIBILE SITES. SharePoint 2010

HSU Accessibility Checkpoints Explained

vcenter Operations Manager Administration 5.0 Online Help VPAT

VPAT. Voluntary Product Accessibility Template. Version 1.5. Summary Table VPAT. Voluntary Product Accessibility Template. Supporting Features

Macromedia Dreamweaver 8 Developer Certification Examination Specification

WCAG 2.0 for Designers: Beyond Screen Readers and Captions

Creating and Maintaining Accessible Websites with SiteCM

Blackboard Web Community Manager WCAG 2.0 Support Statement February 2016

DO THE RIGHT THING ACCESSIBILITY AND INCLUSIVE DESIGN (WITH DRUPAL)

VPAT Voluntary Product Accessibility Template Version 1.3

Summary Table for SolarWinds Web Help Desk

How IBM is making Web applications more accessible with WAI-ARIA

How to Develop Accessible Linux Applications

WESTERN KENTUCKY UNIVERSITY. Web Accessibility. Objective

Summary Table for SolarWinds Web Help Desk

CLASSROOM WEB DESIGNING COURSE

Building Accessible Educational Web Sites: The Law, Standards, Guidelines, Tools, and Lessons Learned

How To Use A Web Page With A Wheelchair On A Pc Or Mac Or Mac (For Seniors)

WCAG 2.0 Checklist. Perceivable Web content is made available to the senses - sight, hearing, and/or touch. Recommendations

Accessibility Guidelines Bell.ca Special Needs. Cesart April 2006

How to Use This Book Frequently Asked Questions. A Web for Everyone 1

Developing accessible portals and portlets with IBM WebSphere Portal

Voluntary Product Accessibility Report

Making WVU Websites Accessible: Meeting the Needs of People with Disabilities

A Framework for Building Accessible Websites for Visually Impaired

Section Software Applications and Operating Systems - Detail Voluntary Product Accessibility VPSX. Level of Support & Supporting Features

Web Accessibility Report

Web Design Specialist

A new home page design is being finalized, which will add a new link to material in other languages through the top navigation of the homepage.

WCAG 2 Compliance With Flash

2011 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media,

February 2014 Version 3.3. DHS Section 508 Compliance Test Process for Applications

Health Enterprise Medicaid Management Information System

Outline. CIW Web Design Specialist. Course Content

Beginning Smartphone Web Development

Responsive Web Design Creative License

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

Echo360 Voluntary Product Accessibility Template

Serena Software Voluntary Product Accessibility Report. Summary Table

WebEx Meeting Center User s Guide

Information and Communications Standard. Making your website more accessible

Why HTML5 Tests the Limits of Automated Testing Solutions

Voluntary Product Accessibility Template

JW Player Quick Start Guide

Course Information Course Number: IWT 1229 Course Name: Web Development and Design Foundation

Easy Guide to Building No Barrier Web Sites

Voluntary Product Accessibility Template (VPAT)

SacSend - Messaging & Communication Tool

BS 8878: A Summary

Intelledox Designer WCA G 2.0

Using Adobe Dreamweaver CS4 (10.0)

Introduction to ATI Concepts. California State University Fullerton Campus Information Technology Timothy Benbow

Universal Design and Ethical Practices for Designing. Bryan Ayres, M.Ed., ATP, Director Technology & Curriculum Access Center Easter Seals Arkansas

Making your website easy to use for diverse audiences

Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Acrobat XI Pro Accessible Forms and Interactive Documents

3.3 Web Content Policies and Guidelines

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer)

Building accessible websites Web accessibility video transcript

Collaborative Editing for All: the Google Docs Example

California State University Polytechnic University. CIS 311 Interactive Web Development. Fall 2011

An Evaluation and Discussion of the Web Accessibility of Academic Library Web Sites

WebEx Meeting Center User Guide

Accessibility in e-learning. Accessible Content Authoring Practices

Exemplary Audit Report vonage.com

AbilityNet s State of the enation Reports are bi-monthly accessibility and usability reviews of a number of websites in a particular sector.

Republic Polytechnic School of Infocomm C308 Web Framework. Module Curriculum

collab.virginia.edu UVACOLLAB ECLPS: BUILDING COURSE PORTALS UVaCollab User Guide Series

Checklist to Assist Schools in Conducting a Review of Accessibility and Equality and Diversity Information on their Websites

Designing The User Experience AIGA Design Camp

PDF Accessibility Overview

Core Training Quick Reference Guide Version 2.0

GUI and Web Programming

Professional iphone and ipod touch Programming. Building Applications for Mobile Safari

HeuTX Riders \ A HOLISTIC APPROACH TO WEB DESIGN

Chapter 1 Domain Names...1

Website Accessibility Under Title II of the ADA

WEB DESIGN COURSE CONTENT

Browser tools that make web development easier. Alan Seiden Consulting alanseiden.com

TRI Oracle Empirica Trace Statement of Conformance

Appendix A How to create a data-sharing lab

Table of Contents. Creating a Newsletter. Loading a Video or Slideshow. Distributing a Newsletter through Exact Target

How To Write A Report On My Blog About My Sac State 2.0

WebEx Event Center User's Guide

March 2015 Version #1.2. Required Software Installation for using the DHS Section 508 Compliance Test Process for Applications

PROJECT MANAGEMENT SYSTEM

Web Development I & II*

Guide to good practice in commissioning accessible websites

Dreamweaver CS3 THE MISSING MANUAL. David Sawyer McFarland. POGUE PRESS" O'REILLY 8 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo

This Quick Reference Sheet covers the most common technical issues that may be encountered.

Seven Steps to Creating an Accessible in Outlook

Transcription:

Pro HTML5 Accessibility Building an Inclusive Web Uni Gottingen 7 232 147 329 Joshue O Connor Apress

Contents About the Author About the Technical Reviewer Acknowledgments Introduction xv xvi xvii xviii Chapter 1: Introduction to HTML5 Accessibility 1 Introduction to HTML5: The New Wave 1 HTML5 vs. HTML 4 2 HTML5 Syntax 2 New Elements 6 HTML5: Accessibility and Feature Detection 9 Defining Accessibility 10 Accessibility: From Theory to Practice 11 Understanding Accessibility 12 Legislation 13 Rehabilitation Act 13 Other Relevant Legislation 15 Disability Discrimination Act 1995 16 Special Educational Needs and Disability Act 2001 16 PAS78, the DDA, and the Equality Act 2010 16 European Legislation 16 Dealing with Change and Diversity 18 V

a CONTENTS What Are the Benefits of Accessibility? 18 Accessibility Should Enhance Your Design Not Destroy It 20 WCAG2.0 and HTML5 20 The Challenge of HTML5 Accessibility 22 Conclusion 22 Chapter 2: Understanding Disability and Assistive Technology 23 Understanding Your Users 23 It's All Me, Me, Me with Some People! 23 Overview of Blindness 24 Blindness and Accessibility 26 Vision Impairment 26 Glaucoma 27 Macular Degeneration 28 Retinopathy 29 Detached Retina 30 Physical Disability 32 Cognitive and Sensory Disabilities 32 Perception 32 Memory and Attention 32 Sequencing 33 Dyslexia 33 What Is Assistive Technology? 33 What Is a Screen Reader? 34 Screen Readers and Alternatives. 57 Technologies for Mobile Device Accessibility 57 Speech Synthesis: What Is It and How Does It Work? 59 vi

CONTENTS Screen Magnification 60 Switch Access 61 Mouse Emulation 64 Switch Access, Mouse Emulation, and the Web 65 The Accessibility Overlap 66 Conclusion 66 > Chapter 3: JavaScript Isn't a Dirty Word, and ARIA Isn't Just Beautiful Music...67 JavaScript: Useful When Used Well 68 WAI-ARIA: What Is It? 68 What's Wrong with HTML 4, 3, 2...? 69 Accessible JavaScript 70 Progressive Enhancement 70 Unobtrusive JavaScript 71 Tidy Coding 71 Common JavaScript Accessibility Problems 72 Creating Accessible Pop-up Menus and Inline Event Handlers 75 Use of Tablndex and More Advanced Focus Techniques 77 JavaScript and WCAG 2.0 78 Common Scripting Failures in WCAG 2.0 81 Accessible JavaScript Toolkits 82 WAI-ARIA: How to Do It! 85. Conclusion 110 Chapter 4: API and DOM 111 Defining the Elements Under the Hood of Assistive Technologies 112 What's an API? 112 What's a Layout Engine? 112 What Are Accessibility APIs? 112 vii

CONTENTS The Off-Screen Model (OSM) 113 What Is the DOM? 116 Commonly Used Accessibility APIs 121 HTML5 and Accessibility APIs 124 Conclusion 126 Chapter 5: HTML5: The New Semantics and New Approaches to Document Markup 127 HTML5: What's New? 127 New HTML5 Semantics 128 Global Attributes in HTML5 132 A Quick Recap on How and Why to Use Heading Elements 163 Meet the New divs on the Block 165 Getting Sectioned 169 As an Aside, Did You Hear the One About the Vicar and the [...] 173 Conclusion 173 Chapter 6: Images, Rich Media, Audio, and Video in HTML5 175 Making Images Accessible 175 Meet the Poster Child of Accessible Web Design: The alt Attribute 175 How Screen Readers Handle @alt Text 176 @alt Drawbacks 177 What Should I Describe? 177 Describing Content: Don't Overdo It 178 Different Kinds of Images 179 What's New in HTML5 for Describing Images? 180 Describing an Image with ARIA-describedby 180 Which Method Should I Use? 184 Type 1: Describing a Visually Rich Image 185 viii

Image Color Contrast 197 HTML5 and Accessible <video> and <audio> 197 HTML5 <video>, <audio>, and You 198 HTML5 <video> and Your Users.. 198 What's Wrong With Flash? 198 Accessibility Problems in Flash 198 Building an Accessible Player 199 First Things First: What's New in Embedded Content? 199 <video> Fallback Content 200 The Media Elements API 200 Getting Started with <video> 201 Making Your Controls Accessible 204 Accessible HTML5 Video Player Version 1 207 Accessible HTML5 Video Player Version 2 210 Audio Description and Captioning with the <track> Element 214 Cue Settings 216 Creating an <audio> Player 218 <canvas> Accessibility 218 Conclusion 220 Chapter 7: HTML5 and Accessible Data Tables 221 The Trouble with Tables 221 Screen Readers and Data Tables 221 Common Patterns for Data Tabl es 222 TMI? 223 How to Create Accessible Tables 223 Conclusion 242

* CONTENTS Chapter 8: HTML5 and Accessible Forms 243 Designing an Accessible Form User Interface 243 Some Forms Good Practices 243 Differences in FORM Elements Between HTML 4 and HTML5 244 HTML5 Labeling of Form Controls 247 New HTML5 Elements 248 New HTML5 INPUT Types 249 New HTML5 Form Attributes 256 Accessible Error Recovery 266 Conclusion 269 i Chapter 9: HTML5, Usability, and User-Centered Design 271 What Is Usability? 271 Universal Design 274 Participatory Design 282 Focus Group Research 282 Surveys 282 The Cognitive Walkthrough 283 Expert Evaluations 283 Expert Accessibility Audits 283 Using Personas 283 Building Personas 284 Does Using Personas Work? 284 Field Studies 285 Traditional Usability Testing 285 User Testing with People with Disabilities 285 Formal vs. Informal User Testing 286 x

» CONTENTS Measuring User-Testing Outputs 286 How Does User Testing Work? 286 Goals and Benefits of User Testing 291 Limitations of Testing 292 So What's the Best Method for Me to Assess My HTML5 Project? 293 Iterative Design Processes 293 Is Usability the New Economics? 294 Conclusion 294 Chapter 10: Tools, Tips, and Tricks: Assessing Your Accessible HTML5 Project 295 Useful Tools for Developers 295 The Chris Pederick Web Developer Toolbar 295 WAT-C Web Accessibility Toolbar (Internet Explorer and Opera) 296 Colour Contrast Analyser 296 WAVE 300 Firebug 307 Tools in the Browser 308 Automated Accessibility Evaluation Tools 309 Want to Examine Accessibility APIs? Try AccProbe or Inspect32 310 Disability Simulation Tools: adesigner 311 Guerilla User Testing 311 Validation 311 Cascading Style Sheets 313 Simulation Exercises 314 Simulation Exercise 1:No-Frills Browsing 314 Simulation Exercise 2: Turning Off Your Display and Using a Screen Reader 316 Conclusion 317 xi

» CONTENTS HI Appendix A: WCAG 2.0 Client-Side Scripting Techniques 319 SCR1: Allowing the user to extend the default time limit 320 Description 320 Examples 320 SCR2: Using redundant keyboard and mouse event handlers 320 Description 320 Tests 322 Expected Results 322 SCR16: Providing a script that warns the user a time limit is about to expire 323 Example 323 SCR21: Using functions of the Document Object Model (DOM) to add content to a page 324 Description 324 Example 324 SCR24: Using progressive enhancement to open new windows on user request 328 Description 328 Example 328 SCR26: Inserting dynamic content into the Document Object Model immediately following its trigger element 329 Description 329 Example 330 Tests: Procedure 330 Expected Results 330 SCR28: Using an expandable and collapsible menu to bypass block of content 331 Description 331 Example 1 331 Example 2 331 xii

CONTENTS SCR32: Providing client-side validation and adding error text via the DOM 332 Description 332 Example 332 HTML and JavaScript Code 333 SCR35: Making actions keyboard accessible by using the onclick event of anchors and buttons 341 Description 341 Example 1 341 Example 2 341 SCR37: Creating custom aialogs in a device-independent way 342 Description 342 Example 342 Appendix B: Definition of WAI-ARIA Roles 347 WAI-ARIA States and Properties 354 Index 359 xiii