A Smarter Way to Test Accessibility

A Comparison of Top Tools (Lighthouse, Tenon.io and WAVE API)

DrupalCon Nashville 2018


Presented By
Everett Zufelt & Laura Johnson
https://laura-johnson.github.io/accessibility-presentation
Team
Everett Zufelt
Everett Zufelt
Director of Technology at Myplanet

Profile

Everett Zufelt is Director of Technology at Myplanet. He works with enterprise customers to provide solutions that Grow engagement, drive conversions and maximize awareness. Everett believes that growing relationships is essential to building great digital products. He coaches and leads product development teams, who work with a variety of web and mobile technologies, to assist them with building the skills that enable them to deliver the right thing, fast.

Everett holds PMI's Agile Certified Practitioner, Scrum Alliance's Certified ScrumMaster, and Acquia's Acquia Certified Grand Master 2015 certifications.

Laura Johnson
Laura Johnson
Software Developer at Myplanet

Profile

Laura Johnson is a Software Developer at Myplanet as well as liaison and event coordinator for the DrupalTO community. She has been a Drupal developer, contributor and mentor for over 10 years. Laura believes that the internet is an immensely important resource for people regardless of hardware, software, language, location, or ability, which is why she champions accessibility in all web development.

Laura and Everett will also be presenting at the Guelph Accessibility Conference at the University of Guelph on May 30th.

Topics

  1. Automated vs Manual Web accessibility testing
  2. 3 tools in a nutshell
  3. Browser extensions make testing easy
  4. Command line interfaces speed up local testing
  5. Continuous integration testing improves reliability
  6. Applying machine learning to accessibility testing

Following these guidelines will make content accessible to a wider range of people with disabilities, including blindness and low vision, deafness and hearing loss, learning disabilities, cognitive limitations, limited movement, speech disabilities, photosensitivity, and combinations of these.

Web Content Accessibility Guidelines (WCAG) 2.1 https://www.w3.org/TR/WCAG21/

Automated vs Manual Web Accessibility Testing

  1. Does the image have alt text; is the alt text accurate given the context
  2. Does the form field have a label and description; is the description easy to understand
  3. Does the content have headings; do the headings represent the correct hierarchy
  4. Is the HTML valid; is the HTMl semantic
  5. (Custom implementation); does the application UI behave as expected

The tools

Lighthouse

Lighthouse logo

Tenon.io

tenon.io logo

WAVE API

WAVE API logo

Browser extensions make testing easy

    Pros

  • free
  • easy to use
  • reveal issues with invisible elements
  • catch issues you didn't know were issues

    Cons

  • you have to remember to use them
  • somewhat time consuming to look at report
  • can only test a single URL at a time

Command line interfaces speed up local testing

    Pros

  • alert you to issues instantly
  • they don't forget to test when you are in a rush
  • catch issues before they go live

    Cons

  • not all are free
  • some configuration required
  • can only test a single URL at a time, must be set manually

Continuous integration improves reliability

  • can alert you to issues before they go to production
  • headless browser testing is possible
  • catch issues before they go live
  • not free
  • configuration required
  • can handle more than one URL at a time
  • can spider a website
  • can provide comprehensive reporting and history

When's the last time you were looking through the pictures on your phone and said to yourself "I love this picture of 'Two adults standing with a dog in a nature landscape"?

Applying Machine Learning to Accessibility Testing

Machine learning may someday enable automated tools to detect and remediate many more barriers. Machine learning tools could potentially:

  1. Identify and provide alternate mediums for images, sounds and videos
  2. Identify and convey accurate meaning from media - "Two adults standing with a dog in a nature landscape"
  3. Identify and resolve barriers to interacting with user interfaces, typically inferred through affordances
  4. Simplify content and interfaces, sharing synthesis in a clear, easily discoverable, non-intrusive way

Join us for contribution sprints

Friday, April 13, 2018

Mentored
Core Sprint

9:00 - 18:00
Room: 103

First time
sprinter workshop

9:00 - 12:00
Room: 101

General
Sprint

9:00 - 18:00
Room: 104

#drupalsprint

What did you think?

Locate this session at the DrupalCon Nashville Website:

https://nashville2018.drupal.org/schedule

Take the Survey!

https://www.surveymonkey.com/r/DrupalConNashville