31
Beyond the Checklists Demystifying Accessibility Testing and Implementation Radina Matic [email protected] @RadinaMatic

Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Embed Size (px)

Citation preview

Page 1: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Beyond the ChecklistsDemystifying Accessibility Testing and Implementation

Radina Matic [email protected] @RadinaMatic

Presenter
Presentation Notes
Hello everybody, and thank you for, among all other interesting talks today, choosing to dwell into the topic of accessibility, and how to make the world better for everyone.
meda
Sticky Note
Unmarked set by meda
Page 2: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Radina Matic - translator & technical writer - open software & technology enthusiast

Web and Data Visualization at Rectory Stats Office, University of Barcelona

a11y

Foundation for Learning Equality

[email protected] @RadinaMatic

Presenter
Presentation Notes
I’m far form being an expert in accessibility, and I have to thank the passion for it to my A11y professor from University of Barcelona, Mireia Ribera. This however, plays in favor of my aim today, as my goal will be to demonstrate that you don’t need to be experts in accessibility to care for all your users, and you don’t need to be experts to implement basic accessibility checks.
meda
Sticky Note
Unmarked set by meda
Page 3: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

What’s the Story http://radinamatic.github.io/tcworld2015/

Download packaged XPI file with Firefox add-ons

OR

Install add-ons directly from Mozilla website and Chrome Store with provided links

Presenter
Presentation Notes
Page 4: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

WWW

Page 5: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Guidelines

- Web Content (WCAG)

- User Agent (UAAG)

- Authoring Tools (ATAG)

- WAI ARIA: Accessible Rich Interactive Applications

Presenter
Presentation Notes
Once you dive into a11y you’ll find “guidelines”, “recommendations”, “requirements”, “success criteria”, and acronyms like “WCAG”, “Section 508”!�Someone “…forced to learn some new language from someone who was deliberately trying to confuse 228 page "Understanding WCAG 2.0" document 385 pages for "How to Meet WCAG 2.0" to explain a standard which has a core principle of "Understandable“ Someone also said “It's like reading the Constitution!!!” These are reference docs, you did not learn HTML from reference!
meda
Sticky Note
Unmarked set by meda
Page 6: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

POUR principles

Information must be:

Perceivable Operable Understandable Robust

Page 7: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Accessibility is a shared responsibility

http://www.w3.org/ community/wai-engage/wiki/ Accessibility_Responsibility_Breakdown

Presenter
Presentation Notes
Plan the right intervention, by the right person, at the right time within the web development lifecycle Determine goals, roles and policies as BROADLY as possible (aiming at the organization as a whole).
meda
Sticky Note
Unmarked set by meda
Page 8: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

OFFER ALTERNATIVES

Presenter
Presentation Notes
Most useful takeaway today!
meda
Sticky Note
Unmarked set by meda
Page 9: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

General A11y ToolsWAVE Web Accessibility Evaluation Tool

http://wave.webaim.org/ (Firefox toolbar & Chrome extension)

OpenAjax Alliance (OAA) Accessibility Extension https://addons.mozilla.org/EN-US/firefox/addon/openajax-accessibility-exte/

AInspector Sidebar - https://addons.mozilla.org/en-US/firefox/addon/ainspector-sidebar/

Accessibility Evaluation Toolbar https://addons.mozilla.org/en-US/firefox/addon/accessibility-evaluation-toolb/

Automated A11y testing pa11y - https://github.com/nature/pa11y quails - http://quailjs.org/ Tanaguru - https://github.com/Tanaguru/Tanaguru TENON - http://tenon.io

Presenter
Presentation Notes
Technical Compliance DOES NOT mean Functional Compliance http://webaim.org/ http://html5accessibility.com/ http://accessibility.psu.edu/ https://github.com/GoogleChrome/accessibility-developer-tools AChecker - http://achecker.ca/checker/index.php Functional Accessibility Evaluator 2.0 - http://fae20.cita.illinois.edu/
meda
Sticky Note
Unmarked set by meda
Page 10: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Document Structure

- Page language

- Title (unique and descriptive; H1)

- Page landmarks (semantic HTML5 or ARIA)

Presenter
Presentation Notes
Title – Must be an adequate and brief description of content, different from other pages in the website Better SEO, Bookmarks, Tabs Screen Readers DO NOT read styles, JUST markup! Semantic HTML (section, header, footer, main, etc…) gives you a lot of great accessibility features for free (little developer effort) Think like a machine – understand what information is available to the computer.
meda
Sticky Note
Unmarked set by meda
Page 11: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Headings

Presenter
Presentation Notes
Quacks like a duck: If it looks like a heading visually, it should be a H tagged heading; If it is a H tagged heading, it really should be a heading type of content; Sequential or with meaningful hierarchy Better SEO, content structure (in-page navigation) RESIZE: All text gets larger at browser zoom; no text disappears under other elements or out of the screen; RESPONSIVE (proportional font, media queries): Think Mobile (small screens)
meda
Sticky Note
Marked set by meda
Page 12: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Document Structure - Tools Juicy Studio Accessibility Toolbarhttps://addons.mozilla.org/en-uS/firefox/addon/juicy-studio-accessibility-too/

Jim Thatcher’s Favelets http://jimthatcher.com/favelets/

NCAM Accessibility QA Favelethttp://ncam.wgbh.org/invent_build/web_multimedia/tools-guidelines/favelet

Visual ARIA Bookmarklethttp://whatsock.com/training/matrices/visual-aria.htm

tota11y - an accessibility visualization toolkit - http://khan.github.io/tota11y/

Page 13: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Keyboard navigation- Tab & Shift Tab through all the links

- Arrow keys through menus- Skip-to links on top (first element after <body>)

- Accesskeys (debatable – better avoid)

Define visible focus state!:focus{ outline: 0;}

Presenter
Presentation Notes
Define visible focus state style together with hover state! For good example see webaim.org All actionable elements MUST be focusable, and it must be clear when are they IN focus; Check for focus traps
meda
Sticky Note
Marked set by meda
Page 14: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Images – The elusive ALT attribute

- alt = “?????”

- DESCRIBE the image convey both content and functionality

- Do not put text inside images (localization)

- Decorative images – empty alt=“”

Presenter
Presentation Notes
The alternative text reflects the purpose of the image, and destination if the image is link. I can’t stress enough the SEO benefits, also mobile versions (think email templates) or low bandwith users (EVERYONE)! Googe search for “alt tag” Your CDN might be down! HTML Working Group at W3C is working on a 45 pages document that is an extension to the HTML5 specification on how to write alternate text. A good rule of thumb to consider is to include what you might relay over the phone.
meda
Sticky Note
Marked set by meda
Page 15: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

http://webaim.org/articles/gonewild/#alttext

http://accessibility.psu.edu/images/

http://ncam.wgbh.org/experience_learn/educational_media/describing-images-for-enhanced

http://diagramcenter.org/webinars.html

(resources for accessible images & math)

Describing images - Tools

Presenter
Presentation Notes
Accessible Image Sample Book & Tools for Creating Accessible Math (webinar) DIAGRAM Center, February 6, 2014
meda
Sticky Note
Marked set by meda
Page 16: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Color & Contrastforeground vs. background

3:1 for large text4.5:1 for smaller text

Presenter
Presentation Notes
“Color blindness,” or more formally, color vision deficiencies (CVD) affect roughly 10% of the population, mostly men – That translates to 108 million of web users!.  Links were originally blue and underlined – turned to be good choice because it’s the least frequent color blindness (0.5% of population)
meda
Sticky Note
Marked set by meda
Page 17: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Color & Contrast

Page 18: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Color & Contrast

Presenter
Presentation Notes
Again: OFFER ALTERNATIVES! DO NOT use color ALONE to convey meaning!
meda
Sticky Note
Marked set by meda
Page 19: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Color & Contrast - ToolsContrast Analyzer - http://www.paciellogroup.com/resources/contrastanalyser/

Accessibility Color Wheel - http://gmazzocato.altervista.org/colorwheel/wheel.php

CONTRAST-A-WEB - http://dasplankton.de/ContrastA/ Color Safe - http://colorsafe.co/

WCAG Contrast checker

https://addons.mozilla.org/ca/firefox/addon/wcag-contrast-checker/

Color Palette Accessibility Evaluator - http://accessibility.oit.ncsu.edu/tools/color-contrast/

Color Extractor Bookmarklet - http://accessibility.oit.ncsu.edu/tools/color-extractor/ & http://accessibility.oit.ncsu.edu/tools/color-contrast-chrome/

Color Contrast Visualizer

http://www.stainlessvision.com/blog/projects/colour-contrast-visualiser

meda
Sticky Note
Marked set by meda
Page 20: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Tables are for data!

- headings

- captions

- summary

Presenter
Presentation Notes
Summary (not on layout tables) - But then again, don’t use tables for layout! Table Builder - http://accessify.com/tools-and-wizards/accessibility-tools/table-builder/
meda
Sticky Note
Marked set by meda
Page 21: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Links and FormsLinks- Concise - Descriptive - Correctly positioned

Click More Here

Forms- Labels- Fieldsets for grouping- Tabbing order- Instructions for required fields - Errors

Avoid CAPTCHAs!

Presenter
Presentation Notes
Always keep in mind how screen readers work http://www.accessibilityoz.com/2014/02/links-and-accessibility Required fields: clearly indicated - instructions text field precedes the actual required fields Errors: how are errors presented after form submission? where is the focus left? (NOT the submit button!)
meda
Sticky Note
Marked set by meda
Page 22: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Writing- Plain language - Sentences up to 25 words - Paragraphs up to 3-4 sentences - Active voice - Consistent vocabulary - Bulleted lists - Consistent format & navigation

Presenter
Presentation Notes
Benefits: Cognitive & EVERYONE & LOCALIZATION U from POUR Level of literacy
meda
Sticky Note
Marked set by meda
Page 23: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Font for Dyslexia

- columns of up to nine words

- text into paragraphs

- adequate line spacing

- space between content blocks

Always align the text to the left!

http://www.dailymail.co.uk/sciencetech/article-3112756/Take-reading-test-shows-s-like-dyslexic-Font-recreate-frustration-felt-condition.html

Presenter
Presentation Notes
Benefits: Cognitive & EVERYONE 'This typography is not designed to recreate what it would be like to read to read if you were dyslexic it is designed to simulate the feeling of reading with dyslexia by slowing the reading time of the viewer down to a speed of which someone who has dyslexia would read'
meda
Sticky Note
Marked set by meda
Page 24: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Multimedia

Page 25: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Accessible Multimedia

- Test transcript for audio only

- Text description for video with no audio

- Closed captions & interactive transcript & audio description for video with audio

Presenter
Presentation Notes
Transcript benefits SEO Keyboard accessible
meda
Sticky Note
Marked set by meda
Page 26: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Accessible Video Players

https://docs.google.com/spreadsheets/d/1QJVcXx5hTWYBcJbHJD3DrL3hSFVbfy1VQFyADMtrDFY/edit?pli=1#gid=0

http://www.icant.co.uk/easy-youtube/

Media Player Accessibility Comparison Chart

Presenter
Presentation Notes
Google doc is developed and maintained by the Committee on Institutional Cooperation Information Technology Accessibility Group (CIC ITAG) Media Player Accessibility sub-group. Much of its accessibility criteria is borrowed from W3C Media Accessibility User Requirements. Links to projects, references, and comments are in ""notes"" associated with matrix cells.(http://www.cic.net/groups)(http://www.w3.org/WAI/PF/media-a11y-reqs/)"
meda
Sticky Note
Marked set by meda
Page 27: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Content Management SystemsDrupal Accessibility modules

https://www.drupal.org/project/accessibility

- Drupal.Announce - Drupal.TabbingManager

WordPress - Accessibility-Ready Themes

Page 28: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

PDF (& Office Docs)

Page 29: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Accessible PDF…go to the source!

- Tagged-PDF (ISO 32000-1, 14.8)

- PDF/UA (Universal Access) - ISO standard 14289

- creating from Office:

Save/Export as”, do NOT “Print as PDF”

Presenter
Presentation Notes
The 2014 update to PDF/UA, published in December 2014, is the first fully accessible standard ISO has ever published; the PDF file distributed by ISO itself conforms to PDF/UA.
meda
Sticky Note
Marked set by meda
Page 30: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Accessible PDF - Tools- Acrobat Pro Accessibility checkers

- PDF Accessibility Checker (PAC 2.0)

- AccessODF - accessibility checker for Libre Office Writer

Presenter
Presentation Notes
AccessODF developed within the AEGIS project (at KU Leuven Belgium), funded by the European Commission (2008-2012).
meda
Sticky Note
Marked set by meda
Page 31: Beyond the Checklists - Demystifying Accessibility Testing and Implementation - Radina Matic - tcworld2015

Thank you!

Questions? Your opinion is important! http://UA10.honestly.de

or scan the QR code

Special thanks to Digital Content Management - Graduate Dept. and Prof. Mireia Ribera at iSchool of University of Barcelona, Spain.