SlideShare a Scribd company logo
AUTOMATING ACCESSIBILITY CHECKS
WEB IS FOR EVERYONE
Manoj Kumar Kumar
1
ABOUT ME
▸ Open source enthusiast
▸ Steering committee member - Selenium project.
▸ Organizer seleniumconf.com
▸ Author assertselenium.com
▸ Tweets: @manoj9788 | LinkedIn: manojkumar9788
▸ Accessibility enthusiast
2
LIST OF TOPICS TO BE COVERED
▸ What & Why of Accessibility testing
▸ Overview accessibility standards
▸ How & When’s of Testing for Accessibility
▸ Implementation strategy
▸ A11yTaaS (Accessibility Testing As A Service)
▸ a11y in Action
Accessibility Primer
3
STATS
About 20% of the world's population lives with some form of disability

4
ACCESSIBILITY
▸ Accessibility is about enabling people
▸ Disability only exists if we don’t provide ways to include people
▸ People have impairments NOT disabilities
WHAT?
TESTING APPLICATION WHETHER IT IS USABLE BY PEOPLE WITH DISABILITIES (EVERYONE)
5
EXAMPLES
6
7
8
9
10
ACCESSIBILITY
DISABILITY
≠
PHYSICAL
CONDITION
DISABILITY

=
LIMITED
HUMAN
INTERACTION
11
WHAT IS IT DO WITH APPS?
12
IF YOUR APP ISN’T ACCESSIBLE, YOU ARE CREATING BARRIERS
& MAKING THEIR IMPAIRMENT A DISABILITY.
ACCESSIBILITY
13
WHY?
Better Business: builds apps that are user-friendly and cater to those
20% population
ACCESSIBILITY 14
WHY?
Accessible website yield a good SEO(Search Engine Optimization)
▸ No text in images
▸ Use <H> heading tags
▸ Meaningful contextual links
ACCESSIBILITY
information-technology-directory.co.uk
15
WHY?
Abide by Legal legislation
ACCESSIBILITY 16
OVERVIEW - ACCESSIBILITY STANDARDS
WCAG 2.0 & GSA SECTION 508
▸ Web Content Accessibility Guidelines
▸ WCAG 1.0: May 1999. Superseded by WCAG 2.0
▸ WCAG 2.0: Dec 2008 - testable, technology agnostic.
▸ WCAG 2.1: (Working draft) accessible mobile devices, low vision, graphics



▸ General Services Administration Section 508 Standards
▸ United States Federal Act. Published in Dec 2000.
17
▸ Level A - basic web accessibility features
▸ Level AA - deals with the biggest and most common barriers for
disabled users
▸ Level AAA – the highest level of web accessibility
SUCCESS CRITERIA
Refer: https://www.w3.org/TR/WCAG20/
18
19
▸ Blind
▸ Low-vision
▸ Colorblind
▸ Deaf
▸ Cognitive/Learning
ABILITIES IN DECLINE
Pic: Usability Matters
20
DEVELOP FOR THE FUTURE
Microsoft Inclusive Design Toolkit
21
ARIA ATTRIBUTES
ARIA is a set of attributes that you can add to HTML elements.
These attributes communicate role, state and property semantics to assistive
technologies via the accessibility APIs implemented in browsers. 
22
TESTING
23
There is no substitute for real user feedback.
You need to include people with disabilities to Test.
MANUAL - ACCESSIBILITY TESTING 24
WHAT YOU CAN DO?
‣ Tab through a page with keyboard
DEMO: Try only to tab through
https://www.ssa.gov/
https://www.delta.com/


MANUAL - ACCESSIBILITY TESTING 25
‣ Use screen reader for testing
▸ Screen readers use Heading structures to get an overall understanding of the page.
JAWS, NVDA
VoiceOver
OS X
ChromeVox Speak Screen Talk BackFang’s
WHAT YOU CAN DO?
MANUAL - ACCESSIBILITY TESTING 26
WHAT YOU CAN DO?
▸ Headings and Semantics
▸ Firefox web developer plugin

MANUAL - ACCESSIBILITY TESTING 27
Good for checking Headings and Semantic errors
28
chrome://accessibility
ACCESSIBILITY TREE 29
Google - Accessibility Plugin
30
WHAT YOU CAN DO?
▸ Browser Plugins
▸ Chrome Accessibility Inspection
▸ Computed Text
▸ Aria labels
▸ Roles
▸ Form criteria
MANUAL - ACCESSIBILITY TESTING 31
WHAT YOU CAN DO?
▸ Visual Testing is important for Accessibility to check if the
appear correctly on different browsers and OS
▸ Web driver css, Applitools(recommended)

▸ Simulate colour blind and check your apps
▸ Nice to have - hoping to see in Applitools, more native
with test automation.
MANUAL - ACCESSIBILITY TESTING 32
Accessibility Testing
33
HOW FAR IS IT HELPFUL ?
Tests can roughly catch upto 30% of a11y issues,
depending on the audit rules.
AUTOMATING ACCESSIBILITY CHECKS
*Something is better than Nothing*
34
Tools??
35
ACCESSIBILITY- INTEGRATION TESTS
36
ACCESSIBILITY - WEBDRIVER
WebDriver is a human-centric user-friendly bot.
WebDriver won't interact on elements that are hidden on the DOM
and can work only with elements that are visible to the human eye
Which means you are already testing for accessibility.
37
USE CASES
▸ Drive tests with Accessibility in mind
▸ WebDriver tests with images, animations turned off
▸ Tab through only tests flow
▸ Start to scope functional tests that navigate using only the keyboard
 
 Report this message sent from Matt Brandt

Delete this message sent from Matt Brandt

ACCESSIBILITY - WEBDRIVER 38
DEMO
39
https://goo.gl/2NL74R

https://goo.gl/JZyYrB
40
Code sample: https://goo.gl/2NL74R
Demo Video: https://youtu.be/GrmDuL4-VNk
41
Code sample: https://goo.gl/JZyYrB
Demo Video: https://youtu.be/N52x8lzr-7s
var selector = '#menu-0-button';
driver.findElement(selenium.By.css(selector))
.then(function (element) {
element.sendKeys(Key.SPACE);
return element;
})
.then(function (element) {
return element.getAttribute('aria-expanded')
})
.then(function (attr) {
expect(attr).toEqual('true');
});
ACCESSIBILITY - WEBDRIVERJS 42
WEBDRIVER + PLUGINS(OPEN-SOURCE)
43
AXE - ACCESSIBILITY ENGINE
▸ Open source from Deque systems
▸ JavaScript module for a11y testing
▸ Axe-WebDriverJs
AXE-CORE - TOOLS SUITE 44
AXE - WEBDRIVERJS 45
DEMO
▸ Java
▸ Cucumber-selenium
▸ Capybara
▸ Watir
AXE -TOOLS SUITE 46
▸ Protractor Accessibility Plugin for Angular pages
▸ aXe engine
▸ Accessibility Developer tools
▸ tenon.io
NG-ACCESSIBLITY 47
ACCESSIBILITY UNIT-TESTS
48
▸ By Addy Osmani
▸ JavaScript module for a11y testing
▸ https://addyosmani.com/a11y/
ACCESSIBILITY - DEVELOPERS- A11Y 49
React-A11y 50
51
ACCESSIBILITY - DEVELOPERS- A11Y
To test shadow DOM
import {expect} from 'chai';
import App from '../app/components/App';
import a11yHelper from "./a11yHelper";
describe('Accessibility', function () {
this.timeout(10000);
it('Has no errors', function () {
let config = {};
a11yHelper.testEnzymeComponent(
<App/>, config, function (results) {
expect(results.violations.length).to.equal(0);
});
});
});
ACCESSIBILITY - DEVELOPER-ENZYME-TESTS 52
‣ Pa11y dashboard => pronounce as ‘pally’
‣ Helps you run Accessibility testing as a service
GNU GPL License
Allowed to share, modify the software.
ACCESSIBILITY TESTING AS A SERVICE 53
Using Pa11y dashboard and Mongodb on a Docker
container
ACCESSIBILITY TESTING AS A SERVICE 54
PA11Y DASHBOARD
AUTOMATED ACCESSIBILITY TESTING AS A SERVICE 55
▸ GOOD
▸ Scans a lot of code
▸ Good starting point of manual review
▸ BAD
▸ False positives
The Good and Bad 56
http://www.washington.edu/accesscomputing/AU/issues.html
LIST OF COMMON ACCESSIBILITY ISSUES 57
HOW CAN I IMPLEMENT A11Y STRATEGY IN MY
ORGANISATION?
Thumb Rules
➤ No single person can ensure an app is accessible on their own.
➤ Adopting Accessibility mindset takes time organisation wide.
➤ Develop Accessibility as a Culture
58
Involve people with disabilities early and understand
problem space and design per digital world resolving
those problems and thus meet business goals(those
20%)
STRATEGY
59
STRATEGY
➤ Establish an Org commitment with key stakeholders responsible for Accessibility.
➤ A checklist/questionnaire to include Accessibility for both new and existing apps
➤ Establish a benchmark (Say Level A, AA )
➤ Establish a standards for UX designers, (UI)Developers & Testers
➤ Start As early as possible from UX GEL(Global Experience Language)
➤ Color contrast
➤ Inclusive design ethos
➤ Conduct usability, User testing session outside org.
60
▸ https://webaccessibility.withgoogle.com/course
▸ https://addyosmani.com/a11y/
▸ https://www.w3.org/WAI/intro/wcag
▸ https://dequeuniversity.com/
REFERENCES 61
LET’S TEST AND HELP BUILD A WEB THAT’S
ACCESSIBLE FOR EVERYONE



THANK YOU!
APPLITOOLS AND SAUCE LABS
Manoj Kumar

More Related Content

PPTX
A Web for Everyone: Accessibility as a design challenge
PPTX
Web accessibility
PPTX
Accessibility Testing 101
ODP
Web Accessibility: A Shared Responsibility
PDF
Web Accessibility
PDF
Web accessibility
PPTX
Web Accessibility Testing With Axe
PDF
Automated-Accessibility-Testing
A Web for Everyone: Accessibility as a design challenge
Web accessibility
Accessibility Testing 101
Web Accessibility: A Shared Responsibility
Web Accessibility
Web accessibility
Web Accessibility Testing With Axe
Automated-Accessibility-Testing

What's hot (20)

PPTX
Web accessibility: it’s everyone’s responsibility
PPTX
Web Accessibility
PPTX
Accessibility Testing Approach
PPTX
Accessibility pitch-deck
PPTX
Basics of Web Accessibility
PPT
Understanding Web Accessibility
PDF
Website Accessibility
PDF
Web Accessibility for Web Developers
PPT
Web Accessibility
PPTX
Accessibilitytesting public
PDF
Test Automation Architecture
PDF
Understanding and Supporting Web Accessibility
PPTX
Introduction To Web Accessibility
PPTX
Cucumber presenation
PDF
Web accessibility 101: The why, who, what, and how of "a11y"
PPTX
BDD WITH CUCUMBER AND JAVA
PPTX
Automation test framework with cucumber – BDD
PPTX
The Importance of UX
PDF
Competitive Analysis: Strategic UX Spy Games - Lyle Kantrovich
PDF
UX Experience Design: Processes and Strategy
Web accessibility: it’s everyone’s responsibility
Web Accessibility
Accessibility Testing Approach
Accessibility pitch-deck
Basics of Web Accessibility
Understanding Web Accessibility
Website Accessibility
Web Accessibility for Web Developers
Web Accessibility
Accessibilitytesting public
Test Automation Architecture
Understanding and Supporting Web Accessibility
Introduction To Web Accessibility
Cucumber presenation
Web accessibility 101: The why, who, what, and how of "a11y"
BDD WITH CUCUMBER AND JAVA
Automation test framework with cucumber – BDD
The Importance of UX
Competitive Analysis: Strategic UX Spy Games - Lyle Kantrovich
UX Experience Design: Processes and Strategy
Ad

Similar to Automating Accessibility Tests: Web is for Everyone (by Manoj Kumar) (20)

PDF
Testing for Inclusive Web: Accessibility
PPTX
Tips from the trenches Accessibility Testing
PDF
Automated Testing in Angular Slides
PDF
What companies need to know about web accessibility in 2020
PPTX
What to Fix-First: Accessibility Remediation Order Matters
PDF
SFSCON23 - Juri Solovjov - Flaky tests – how to deal with them
PDF
PDF
U test whitepaper_10
PPTX
How To Write A Symphony of Automation With Appium
PPTX
How To Write a Symphony of Automation With Appium by Dan Cuellar sauce con18
PPTX
Practical Accessibility Testing
PDF
TMF2014 Mobile Testing Workshop Michael Palotas
 
PDF
Continuous Testing With React Storybook & WebdriverIO
PPT
Usability
PDF
Evaluating Accessibility in Design
DOCX
Basics of Web Accessibility Testing
PDF
Is Testing With A Screen Reader Enough?
PDF
Manual Testing Interview Questions | Edureka
PDF
Why Usability Testing Should be Part of your Accessibility Testing Strategy
PDF
Building and Scaling High Performing Technology Organizations by Jez Humble a...
Testing for Inclusive Web: Accessibility
Tips from the trenches Accessibility Testing
Automated Testing in Angular Slides
What companies need to know about web accessibility in 2020
What to Fix-First: Accessibility Remediation Order Matters
SFSCON23 - Juri Solovjov - Flaky tests – how to deal with them
U test whitepaper_10
How To Write A Symphony of Automation With Appium
How To Write a Symphony of Automation With Appium by Dan Cuellar sauce con18
Practical Accessibility Testing
TMF2014 Mobile Testing Workshop Michael Palotas
 
Continuous Testing With React Storybook & WebdriverIO
Usability
Evaluating Accessibility in Design
Basics of Web Accessibility Testing
Is Testing With A Screen Reader Enough?
Manual Testing Interview Questions | Edureka
Why Usability Testing Should be Part of your Accessibility Testing Strategy
Building and Scaling High Performing Technology Organizations by Jez Humble a...
Ad

More from Applitools (20)

PDF
Applitools Platform Pulse: What's New and What's Coming - July 2025
PDF
Code and No-Code Journeys: The Maintenance Shortcut
PDF
Code and No-Code Journeys: The Coverage Overlook
PDF
Creating Automated Tests with AI - Cory House - Applitools.pdf
PDF
Navigating EAA Compliance in Testing.pdf
PDF
AI-Assisted, AI-Augmented & Autonomous Testing
PDF
Code or No-Code Tests: Why Top Teams Choose Both
PDF
The ROI of AI-Powered Testing, presented by Applitools
PDF
Building No-code Autonomous E2E Tests_Applitools.pdf
PDF
Conquer 6 Testing Challenges_Applitools.pdf
PDF
Autonomous End-to-End Testing for Online Banking Applications Presented with ...
PDF
Playwright Visual Testing Best Practices, presented by Applitools
PDF
Cross-Browser and Cross-Device Testing | Applitools in Action
PDF
Advanced Debugging Techniques | Applitools in Action.pdf
PDF
AI-Powered Testing Strategies for the Seasonal Shopping Surge.pdf
PDF
Test Automation for Dynamic Applications _ Applitools in Action.pdf
PDF
Proven Approaches to AI-Powered E2E Testing.pdf
PDF
Applitools Autonomous 2.0 Sneak Peek.pdf
PDF
Building the Ideal CI-CD Pipeline_ Achieving Visual Perfection
PDF
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Applitools Platform Pulse: What's New and What's Coming - July 2025
Code and No-Code Journeys: The Maintenance Shortcut
Code and No-Code Journeys: The Coverage Overlook
Creating Automated Tests with AI - Cory House - Applitools.pdf
Navigating EAA Compliance in Testing.pdf
AI-Assisted, AI-Augmented & Autonomous Testing
Code or No-Code Tests: Why Top Teams Choose Both
The ROI of AI-Powered Testing, presented by Applitools
Building No-code Autonomous E2E Tests_Applitools.pdf
Conquer 6 Testing Challenges_Applitools.pdf
Autonomous End-to-End Testing for Online Banking Applications Presented with ...
Playwright Visual Testing Best Practices, presented by Applitools
Cross-Browser and Cross-Device Testing | Applitools in Action
Advanced Debugging Techniques | Applitools in Action.pdf
AI-Powered Testing Strategies for the Seasonal Shopping Surge.pdf
Test Automation for Dynamic Applications _ Applitools in Action.pdf
Proven Approaches to AI-Powered E2E Testing.pdf
Applitools Autonomous 2.0 Sneak Peek.pdf
Building the Ideal CI-CD Pipeline_ Achieving Visual Perfection
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton

Recently uploaded (20)

PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Softaken Excel to vCard Converter Software.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Understanding Forklifts - TECH EHS Solution
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Digital Strategies for Manufacturing Companies
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PPTX
history of c programming in notes for students .pptx
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
System and Network Administration Chapter 2
PDF
AI in Product Development-omnex systems
PDF
Nekopoi APK 2025 free lastest update
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
ai tools demonstartion for schools and inter college
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Softaken Excel to vCard Converter Software.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Reimagine Home Health with the Power of Agentic AI​
Understanding Forklifts - TECH EHS Solution
Operating system designcfffgfgggggggvggggggggg
Digital Strategies for Manufacturing Companies
wealthsignaloriginal-com-DS-text-... (1).pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
history of c programming in notes for students .pptx
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
System and Network Administration Chapter 2
AI in Product Development-omnex systems
Nekopoi APK 2025 free lastest update
How to Migrate SBCGlobal Email to Yahoo Easily
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
Design an Analysis of Algorithms II-SECS-1021-03
Wondershare Filmora 15 Crack With Activation Key [2025
CHAPTER 2 - PM Management and IT Context
ai tools demonstartion for schools and inter college

Automating Accessibility Tests: Web is for Everyone (by Manoj Kumar)

  • 1. AUTOMATING ACCESSIBILITY CHECKS WEB IS FOR EVERYONE Manoj Kumar Kumar 1
  • 2. ABOUT ME ▸ Open source enthusiast ▸ Steering committee member - Selenium project. ▸ Organizer seleniumconf.com ▸ Author assertselenium.com ▸ Tweets: @manoj9788 | LinkedIn: manojkumar9788 ▸ Accessibility enthusiast 2
  • 3. LIST OF TOPICS TO BE COVERED ▸ What & Why of Accessibility testing ▸ Overview accessibility standards ▸ How & When’s of Testing for Accessibility ▸ Implementation strategy ▸ A11yTaaS (Accessibility Testing As A Service) ▸ a11y in Action Accessibility Primer 3
  • 4. STATS About 20% of the world's population lives with some form of disability
 4
  • 5. ACCESSIBILITY ▸ Accessibility is about enabling people ▸ Disability only exists if we don’t provide ways to include people ▸ People have impairments NOT disabilities WHAT? TESTING APPLICATION WHETHER IT IS USABLE BY PEOPLE WITH DISABILITIES (EVERYONE) 5
  • 7. 7
  • 8. 8
  • 9. 9
  • 10. 10
  • 12. WHAT IS IT DO WITH APPS? 12
  • 13. IF YOUR APP ISN’T ACCESSIBLE, YOU ARE CREATING BARRIERS & MAKING THEIR IMPAIRMENT A DISABILITY. ACCESSIBILITY 13
  • 14. WHY? Better Business: builds apps that are user-friendly and cater to those 20% population ACCESSIBILITY 14
  • 15. WHY? Accessible website yield a good SEO(Search Engine Optimization) ▸ No text in images ▸ Use <H> heading tags ▸ Meaningful contextual links ACCESSIBILITY information-technology-directory.co.uk 15
  • 16. WHY? Abide by Legal legislation ACCESSIBILITY 16
  • 17. OVERVIEW - ACCESSIBILITY STANDARDS WCAG 2.0 & GSA SECTION 508 ▸ Web Content Accessibility Guidelines ▸ WCAG 1.0: May 1999. Superseded by WCAG 2.0 ▸ WCAG 2.0: Dec 2008 - testable, technology agnostic. ▸ WCAG 2.1: (Working draft) accessible mobile devices, low vision, graphics
 
 ▸ General Services Administration Section 508 Standards ▸ United States Federal Act. Published in Dec 2000. 17
  • 18. ▸ Level A - basic web accessibility features ▸ Level AA - deals with the biggest and most common barriers for disabled users ▸ Level AAA – the highest level of web accessibility SUCCESS CRITERIA Refer: https://www.w3.org/TR/WCAG20/ 18
  • 19. 19
  • 20. ▸ Blind ▸ Low-vision ▸ Colorblind ▸ Deaf ▸ Cognitive/Learning ABILITIES IN DECLINE Pic: Usability Matters 20
  • 21. DEVELOP FOR THE FUTURE Microsoft Inclusive Design Toolkit 21
  • 22. ARIA ATTRIBUTES ARIA is a set of attributes that you can add to HTML elements. These attributes communicate role, state and property semantics to assistive technologies via the accessibility APIs implemented in browsers.  22
  • 24. There is no substitute for real user feedback. You need to include people with disabilities to Test. MANUAL - ACCESSIBILITY TESTING 24
  • 25. WHAT YOU CAN DO? ‣ Tab through a page with keyboard DEMO: Try only to tab through https://www.ssa.gov/ https://www.delta.com/ 
 MANUAL - ACCESSIBILITY TESTING 25
  • 26. ‣ Use screen reader for testing ▸ Screen readers use Heading structures to get an overall understanding of the page. JAWS, NVDA VoiceOver OS X ChromeVox Speak Screen Talk BackFang’s WHAT YOU CAN DO? MANUAL - ACCESSIBILITY TESTING 26
  • 27. WHAT YOU CAN DO? ▸ Headings and Semantics ▸ Firefox web developer plugin
 MANUAL - ACCESSIBILITY TESTING 27
  • 28. Good for checking Headings and Semantic errors 28
  • 31. WHAT YOU CAN DO? ▸ Browser Plugins ▸ Chrome Accessibility Inspection ▸ Computed Text ▸ Aria labels ▸ Roles ▸ Form criteria MANUAL - ACCESSIBILITY TESTING 31
  • 32. WHAT YOU CAN DO? ▸ Visual Testing is important for Accessibility to check if the appear correctly on different browsers and OS ▸ Web driver css, Applitools(recommended)
 ▸ Simulate colour blind and check your apps ▸ Nice to have - hoping to see in Applitools, more native with test automation. MANUAL - ACCESSIBILITY TESTING 32
  • 34. HOW FAR IS IT HELPFUL ? Tests can roughly catch upto 30% of a11y issues, depending on the audit rules. AUTOMATING ACCESSIBILITY CHECKS *Something is better than Nothing* 34
  • 37. ACCESSIBILITY - WEBDRIVER WebDriver is a human-centric user-friendly bot. WebDriver won't interact on elements that are hidden on the DOM and can work only with elements that are visible to the human eye Which means you are already testing for accessibility. 37
  • 38. USE CASES ▸ Drive tests with Accessibility in mind ▸ WebDriver tests with images, animations turned off ▸ Tab through only tests flow ▸ Start to scope functional tests that navigate using only the keyboard   Report this message sent from Matt Brandt Delete this message sent from Matt Brandt ACCESSIBILITY - WEBDRIVER 38
  • 40. 40 Code sample: https://goo.gl/2NL74R Demo Video: https://youtu.be/GrmDuL4-VNk
  • 41. 41 Code sample: https://goo.gl/JZyYrB Demo Video: https://youtu.be/N52x8lzr-7s
  • 42. var selector = '#menu-0-button'; driver.findElement(selenium.By.css(selector)) .then(function (element) { element.sendKeys(Key.SPACE); return element; }) .then(function (element) { return element.getAttribute('aria-expanded') }) .then(function (attr) { expect(attr).toEqual('true'); }); ACCESSIBILITY - WEBDRIVERJS 42
  • 44. AXE - ACCESSIBILITY ENGINE ▸ Open source from Deque systems ▸ JavaScript module for a11y testing ▸ Axe-WebDriverJs AXE-CORE - TOOLS SUITE 44
  • 45. AXE - WEBDRIVERJS 45 DEMO
  • 46. ▸ Java ▸ Cucumber-selenium ▸ Capybara ▸ Watir AXE -TOOLS SUITE 46
  • 47. ▸ Protractor Accessibility Plugin for Angular pages ▸ aXe engine ▸ Accessibility Developer tools ▸ tenon.io NG-ACCESSIBLITY 47
  • 49. ▸ By Addy Osmani ▸ JavaScript module for a11y testing ▸ https://addyosmani.com/a11y/ ACCESSIBILITY - DEVELOPERS- A11Y 49
  • 51. 51 ACCESSIBILITY - DEVELOPERS- A11Y To test shadow DOM
  • 52. import {expect} from 'chai'; import App from '../app/components/App'; import a11yHelper from "./a11yHelper"; describe('Accessibility', function () { this.timeout(10000); it('Has no errors', function () { let config = {}; a11yHelper.testEnzymeComponent( <App/>, config, function (results) { expect(results.violations.length).to.equal(0); }); }); }); ACCESSIBILITY - DEVELOPER-ENZYME-TESTS 52
  • 53. ‣ Pa11y dashboard => pronounce as ‘pally’ ‣ Helps you run Accessibility testing as a service GNU GPL License Allowed to share, modify the software. ACCESSIBILITY TESTING AS A SERVICE 53
  • 54. Using Pa11y dashboard and Mongodb on a Docker container ACCESSIBILITY TESTING AS A SERVICE 54
  • 55. PA11Y DASHBOARD AUTOMATED ACCESSIBILITY TESTING AS A SERVICE 55
  • 56. ▸ GOOD ▸ Scans a lot of code ▸ Good starting point of manual review ▸ BAD ▸ False positives The Good and Bad 56
  • 58. HOW CAN I IMPLEMENT A11Y STRATEGY IN MY ORGANISATION? Thumb Rules ➤ No single person can ensure an app is accessible on their own. ➤ Adopting Accessibility mindset takes time organisation wide. ➤ Develop Accessibility as a Culture 58
  • 59. Involve people with disabilities early and understand problem space and design per digital world resolving those problems and thus meet business goals(those 20%) STRATEGY 59
  • 60. STRATEGY ➤ Establish an Org commitment with key stakeholders responsible for Accessibility. ➤ A checklist/questionnaire to include Accessibility for both new and existing apps ➤ Establish a benchmark (Say Level A, AA ) ➤ Establish a standards for UX designers, (UI)Developers & Testers ➤ Start As early as possible from UX GEL(Global Experience Language) ➤ Color contrast ➤ Inclusive design ethos ➤ Conduct usability, User testing session outside org. 60
  • 61. ▸ https://webaccessibility.withgoogle.com/course ▸ https://addyosmani.com/a11y/ ▸ https://www.w3.org/WAI/intro/wcag ▸ https://dequeuniversity.com/ REFERENCES 61
  • 62. LET’S TEST AND HELP BUILD A WEB THAT’S ACCESSIBLE FOR EVERYONE
 
 THANK YOU! APPLITOOLS AND SAUCE LABS Manoj Kumar