Intro to Web Accessibility
Class 1
Welcome!
Girl Develop It is here to provide affordable and accessible programs to learn software through mentorship and hands-on instruction.
Some "rules"
We are here for you!
Every question is important
Help each other
Have fun
Introductions
Tell us about yourself.
Who are you?
What do you hope to get out of the class?
What is your guilty pleasure song?
What is accessibility?
Accessibility is about making your sites useful to as many people as possible.
Accessibility is about overcoming barriers.
Accessibility is about helping your users.
Why make your sites accessible?
Expand your potential audience! 54 million people in the US have a disability, 1.8 million are unable to see printed words, and 16.1 million have a cognitive or mental illness that impedes daily functioning (source opens in a new window ).
Be in compliance with legal guidelines, like Section 504/508 and WCAG 2.0.
Avoid potential lawsuits opens in a new window .
Do the right thing.
Useful stats from the Census Bureau:
54 million people have a disability--19 percent of the civilian noninstitutionalized population. This increases with age:
5 percent of children 5 to 17 have disabilities.
10 percent of people 18 to 64 have disabilities.
38 percent of adults 65 and older have disabilities.
1.8 million people 15 and older are unable to see printed words.
1 million people 15 and older are unable to hear conversations.
2.5 million have difficulty having their speech understood.
16.1 million have limitations in cognitive functioning or who have a mental or emotional illness.
Legal issues: Some sites, like Target, have been sued under the Americans with Disabilities Act (ADA)
Section 504 is for students with disabilities
Section 508 is for federal agencies
Web Content Accessibility Guidelines (WCAG)
Main international standard for accessibility
Three levels: A, AA, AA (lowest to highest compliance
4 categories: Perceivable, Operable, Understandable, and Robust
The guidelines are not fixed or comprehensive. We will talk about some of the guidelines, although not directly. It is more important to learn about the principles behind the guidelines than memorize guidelines themselves.
Accessibility is for everyone
Photo credit: Sylvia Pellicore cc opens in a new window
Ask if people recognize curb cut, then point out that while wheelchairs use them, so do strollers, people with luggage, etc. Mention how accessibility can help the non-disabled as well.
Disability is a mismatch between an individual and their environment
Social model of disability
Benefits of Accessibility
Curb cuts were designed for wheelchairs, but others use them. Similarly, accessibility features end up helping everyone.
Some design best practices are accessibility best practices.
Accessibility features, like good alt text, can improve your search engine placement.
Types of Disability
Visual disabilities: blind or low-sight, color blind
Hearing disabilities: deaf or hard-of-hearing
Physical disabilities: MS, paraplegic/quadriplegic, epilepsy
Cognitive disabilities: dyslexia, low literacy, learning disabilities
Accessibility is a process, not a checkbox
Photo credit: Matt Carman opens in a new window cc opens in a new window
Accessibility checkers can help, but they are not a full subsititute for manual testing.
You don't have to be perfect to be helping. No site will be perfectly accessible for everyone in the world.
Testing and iterating, will help us achieve more usable products .
What assistive technologies do people use?
Screen readers
Browser zoom
Screen magnification
Refreshable braille display
High contrast displays
Important points:
Low vision is very common
Even people who are legally blind may have some residual vision
Screen readers are also useful for people with print disabilities, like dyslexia
Demo: screen reader
Choose a site with a complex nav menu, and show how long it takes to get through with a screen reader. I used CNN.com and NVDA for this demo, but any common screen reader will work.
Alt text
Alternate text describes pictorial content in words.
Describe the function , not the content.
If an image is purely decorative, use alt=""
to instruct a screen reader to skip it.
Instead of using "longdesc," provide a caption or link. Consider HTML5 figure
and figcaption
.
<img src="location.jpg" alt="brief description">
<figure>
<img src="location.jpg">
<figcaption>brief description</figcaption>
</figure>
Let's try it
What alt text would you give this image?
Other tips for screen readers
Content is more than just visual.
Skip to navigation links and landmark roles can users navigate a page.
External link indicators help prevent unexpected page changes.
Tables can be hard to navigate, so use them for tabular data, not for layout.
Example of skip navigation
More on visual disabilities
If you use color to indicate something, also use another indicator. For example, underline links on hover or mark a required field with an asterisk.
Red/green color blindness is the most common, so avoid green next to red.
Include color names in product descriptions and show examples (article opens in a new window )
Have a minimum contrast ratio of 4.5:1 for normal text and 3:1 for large text. (Checker opens in a new window )
A user should be able to resize the page to 200%.
Let's try it
Page Resizing
Pick a page and try zooming in to 200%.
Can you still use the page?
You shouldn't have to scroll horizontally.
Use ems and percentages instead of pixels when you can.
Responsive design helps!
No, automatic captions don't count
Credit: Sylvia Pellicore, from YouTube
Hearing Disabilities
Paid captioning services are relatively inexpensive, about $1.50 to $2.50 a minute.
Demo
The mouse isn't the only way to interact with the web.
Physical Disabilities
Using a mouse typically requires fine motor skills.
Many users with physical disabilities use the keyboard or other alternative input methods.
Make clickable elements large, and put space between them.
Avoid clickable page elements that move.
Animations with rapid flickers are not only annoying, they can trigger epileptic seizures.
These guidelines also help children and touchscreen users.
Dealing with cognitive disabilities
These users might have difficulties with learning, problem solving, comprehension, memory, or attention.
Minimize cognitive load--don't overwhelm the user.
Use common icons to mark important tasks and consider text labels.
If you have timed content (forms, image galleries, etc.) provide controls or allow users to extend time.
CAPTCHAs aren't blind-friendly, are very difficult for users with learning disabilities like dyslexia, and annoy everyone. Consider an alternative method opens in a new window .
Here is a Cognitive 101 .
Let's try it
Visit a site you use frequently. Identify one accessibility feature that is part of the site and one feature you would change.
Students can do this activity alone or in pairs, depending on the size of the class. If people get stuck, recommend:
http://www.buzzfeed.com/
http://www.ebay.com/
http://facebook.com
Depending on time, you can have each group present on what they found.