drupal camp accessibility presentation 2013

53
Choose This, Not That: Five Early Choices that can make YOU an Accessibility Rockstar Catharine McNally August 14, 2013

Upload: phase2

Post on 10-May-2015

5.951 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Drupal Camp Accessibility Presentation 2013

Choose This, Not That: Five Early Choices that can make

YOU an Accessibility Rockstar

Catharine McNallyAugust 14, 2013

Page 2: Drupal Camp Accessibility Presentation 2013

Experience Analyst

Email: [email protected]

Catharine McNally

Twitter: @cmcnally

Page 3: Drupal Camp Accessibility Presentation 2013

We’re launching the site next week. It has to be Section 508 compliant. Can

you test and verify?

Project Manager at [Company]

Joe Manager

“ ”

Page 4: Drupal Camp Accessibility Presentation 2013

More Details: http://www.phase2technology.com/blog/accessibility-in-1-hour-improving-the-phase2-website/

Page 5: Drupal Camp Accessibility Presentation 2013

Oh $&%*!“ ”

Project Manager at [Company]

Joe Manager

Page 6: Drupal Camp Accessibility Presentation 2013

I wish I knew this in the beginning!“ ”

Project Manager at [Company]

Joe Manager

Page 7: Drupal Camp Accessibility Presentation 2013

5 things to know

Page 8: Drupal Camp Accessibility Presentation 2013

image rotators are tough.1

Page 9: Drupal Camp Accessibility Presentation 2013

close your eyes & listen to a rotator through a screenreader:

Page 10: Drupal Camp Accessibility Presentation 2013

color contrastmatters.2

Page 11: Drupal Camp Accessibility Presentation 2013

Inside

Outside

Page 12: Drupal Camp Accessibility Presentation 2013

navigation can be really annoying.3

Page 13: Drupal Camp Accessibility Presentation 2013
Page 14: Drupal Camp Accessibility Presentation 2013

accessible mediahelps everyone.4

Page 15: Drupal Camp Accessibility Presentation 2013

like for when you forgot your headphones.

Page 16: Drupal Camp Accessibility Presentation 2013

audio & visual captcha is a strain.5

Page 17: Drupal Camp Accessibility Presentation 2013

endless loop of frustration.

Comic written by Larry Lambert, illustrated by Jerry King

Page 18: Drupal Camp Accessibility Presentation 2013

want to become an accessibility ninja?

Page 19: Drupal Camp Accessibility Presentation 2013

1. Image Rotators

Choose This:alternate ways to convey messaging

Page 20: Drupal Camp Accessibility Presentation 2013

consider:different approaches.

Page 21: Drupal Camp Accessibility Presentation 2013
Page 22: Drupal Camp Accessibility Presentation 2013

If you have to use a rotator...

* Turn off automated rotating feature.

* Ensure you have pause on hover enabled.

* Add the latest in accessibility semantics (ARIA) into the markup via javascript.

* Tabbing through rotator achievable since there was no automatic rotation and

screenreader treats it as if a slideshow.

Page 23: Drupal Camp Accessibility Presentation 2013

Choose This:

high color contrast

2. Site Theme / Design

Page 24: Drupal Camp Accessibility Presentation 2013

Color Contrast: Why it Matters.

Page 25: Drupal Camp Accessibility Presentation 2013
Page 26: Drupal Camp Accessibility Presentation 2013

Color Contrast: Tools.

More Details:http://www.phase2technology.com/blog/color-contrast-for-accessibility-benefits-your-mobile-experience/

Page 27: Drupal Camp Accessibility Presentation 2013

Color Contrast: Tools.

More Details:http://www.phase2technology.com/blog/color-contrast-for-accessibility-benefits-your-mobile-experience/

Page 28: Drupal Camp Accessibility Presentation 2013

Choose This:

skip-links and landmarks

3. Site Navigation

Page 29: Drupal Camp Accessibility Presentation 2013

Skip-Links Module on Drupal.org

Module on Drupal.org https://drupal.org/project/accessible_skip_links

Page 30: Drupal Camp Accessibility Presentation 2013

Navigation

Main Content

Complementary

Banner

Another way to “Skip Around:” Landmarks

Page 31: Drupal Camp Accessibility Presentation 2013

content area landmark markup

page header; logo, <header  role  =  “banner”>

navigational links <nav  role  =  “navigation”>

primary content of page <main  role  =  “main”>

used for extra content -- i.e., sidebar <aside  role  =  “complementary”>

collection of items presented in a form <form  role  =  “form”>

footer content <footer  role  =  “contentinfo”>

search bar <form  role  =  “search”>

Accepted Landmark Roles

Page 32: Drupal Camp Accessibility Presentation 2013

Choose This:contextually relevant links

3. Navigation, continued.

Page 33: Drupal Camp Accessibility Presentation 2013

Read More...what?

Read This Postbetter because it gives context to type of content.

Continue Reading [Title]full understanding of what action will happen a"er clicking on the link.

Page 34: Drupal Camp Accessibility Presentation 2013

Contextually Relevant Read More

$node->content['accessible_read_more'] = array( '#markup' => l(t('Read Full !type', array('!type' => $node_type->name)), 'node/' . $node->nid, array( 'attributes' => array( 'title' => $node->title,

The quick brown fox jumped over the log.

Remember those days when we had to typethe “quick brown fox jumped over the log” in our typing classes? I wonder if kids are still doing that today. How are they learning to type? I’m curious. Are they learning to type before they can write? Read Full Blog.

The quick brown fox jumped over the log.

On Site / Visual Screenreader

Remember those days when we had to typethe “quick brown fox jumped over the log” in our typing classes? I wonder if kids are still doing that today. How are they learning to type? I’m curious. Are they learning to type before they can write? Read Full Blog the quick brown fox jumped over the log link.

Page 35: Drupal Camp Accessibility Presentation 2013

W3C RecommendationsWrite the contextually relevant text (i.e, title) in the anchor.

Here’s an example:

<a href="#"><span>Washington stimulates economic growth </span>Read More</a>

Wrap it in a span which you hide with CSS.

Use display:none but to make the screen reader pick it up, force it outside of the displayed area:

a span { height: 1px; width: 1px; position: absolute; overflow: hidden;

Sighted users will just see the words “Read more”, while screenreaders will hear “Link: Washington stimulates economic growth. Read More”

Page 36: Drupal Camp Accessibility Presentation 2013

nice menus

Module on Drupal.org: https://drupal.org/project/nice_menus

Page 37: Drupal Camp Accessibility Presentation 2013

Choose This:video players & image uploads that support captions & alt-text

4. Media

Page 38: Drupal Camp Accessibility Presentation 2013

image accessibility: supporting alt text

ensure that media uploads have alt text field.

media module on Drupal has this:https://drupal.org/project/media

when picking out WYSIWYG, checkthat media has alt text field options.

Page 39: Drupal Camp Accessibility Presentation 2013

image accessibility: authoring alt text

1. KISS. Keep It Simple.

2. Short. Think of it like a Tweet.

Torn-down house from a tornado

Forlorn children stare at the rubble that was once their

house in the wake of a tornado

More Details: http://www.phase2technology.com/blog/no-more-excuses-the-definitive-guide-to-the-alt-text-field/More Details:

Page 40: Drupal Camp Accessibility Presentation 2013

video accessibility: adding caption tracks

1. Use a video player that supports upload of caption tracks:

YouTube

Resource: How to upload caption tracks to YouTube https://support.google.com/youtube/answer/2734796?hl=en

Page 41: Drupal Camp Accessibility Presentation 2013

Universal Subtitles

http://universalsubtitles.org/

Page 42: Drupal Camp Accessibility Presentation 2013

Universal Subtitles

http://universalsubtitles.org/

Page 43: Drupal Camp Accessibility Presentation 2013

video accessibility: adding caption tracks

2. Use native video player and add captions

Video CC FormatHTML5 WebVTT

JWPlayer SRT, DFXP, WebVTT

Flash DFXP

QuickTime QT

RealPlayer SMI

Page 44: Drupal Camp Accessibility Presentation 2013

Choose This:

logic questions

5. CAPTCHA

Page 45: Drupal Camp Accessibility Presentation 2013

i’m smarter than a 5th grader.text captchas

Module on Drupal.org: https://drupal.org/project/textcaptcha

Page 46: Drupal Camp Accessibility Presentation 2013

Let’s Recap.

1. Reconsider the Image Rotator.

2. Check the color contrast during design process

3. Use Nice Menus, Contextual Read-More, and/or Landmarks

4. Support accessible media authoring and viewing

5. Consider using logic questions for CAPTCHA

Page 47: Drupal Camp Accessibility Presentation 2013

Questions?

Page 48: Drupal Camp Accessibility Presentation 2013

PHASE2TECHNOLOGY.COM

Page 49: Drupal Camp Accessibility Presentation 2013

Extra: #6

Page 50: Drupal Camp Accessibility Presentation 2013

maps are relevant to people who are blind.6

Page 51: Drupal Camp Accessibility Presentation 2013
Page 52: Drupal Camp Accessibility Presentation 2013

Choose This:map formats that convey

all information

6. Maps

Page 53: Drupal Camp Accessibility Presentation 2013