SlideShare a Scribd company logo
1 of 62
Download to read offline
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

What's hot

Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automationDavid Tzemach
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework DesignsSauce Labs
 
Robot Framework Introduction
Robot Framework IntroductionRobot Framework Introduction
Robot Framework IntroductionPekka Klärck
 
6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation ArchitectureErdem YILDIRIM
 
ATDD Using Robot Framework
ATDD Using Robot FrameworkATDD Using Robot Framework
ATDD Using Robot FrameworkPekka Klärck
 
Technical Tips: Visual Regression Testing and Environment Comparison with Bac...
Technical Tips: Visual Regression Testing and Environment Comparison with Bac...Technical Tips: Visual Regression Testing and Environment Comparison with Bac...
Technical Tips: Visual Regression Testing and Environment Comparison with Bac...Building Blocks
 
Client-Side Performance Testing
Client-Side Performance TestingClient-Side Performance Testing
Client-Side Performance TestingAnand Bagmar
 
BDD não é automação de teste - Scrum Gathering
BDD não é automação de teste - Scrum GatheringBDD não é automação de teste - Scrum Gathering
BDD não é automação de teste - Scrum GatheringElias Nogueira
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test AutomationPekka Klärck
 
Ship quality mobile apps with speed [Webinar]
Ship quality mobile apps with speed [Webinar]Ship quality mobile apps with speed [Webinar]
Ship quality mobile apps with speed [Webinar]BrowserStack
 
Test automation framework
Test automation frameworkTest automation framework
Test automation frameworkQACampus
 
Introduction to Bdd and cucumber
Introduction to Bdd and cucumberIntroduction to Bdd and cucumber
Introduction to Bdd and cucumberNibu Baby
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriverAnuraj S.L
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven TestingMaveryx
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation TestingArchana Krushnan
 
Introduction to Robot Framework (external)
Introduction to Robot Framework (external)Introduction to Robot Framework (external)
Introduction to Robot Framework (external)Zhe Li
 

What's hot (20)

Best practices for test automation
Best practices for test automationBest practices for test automation
Best practices for test automation
 
Robot framework and selenium2 library
Robot framework and selenium2 libraryRobot framework and selenium2 library
Robot framework and selenium2 library
 
Test Automation Framework Designs
Test Automation Framework DesignsTest Automation Framework Designs
Test Automation Framework Designs
 
Robot Framework Introduction
Robot Framework IntroductionRobot Framework Introduction
Robot Framework Introduction
 
Introduction to Robot Framework
Introduction to Robot FrameworkIntroduction to Robot Framework
Introduction to Robot Framework
 
6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture6 Traits of a Successful Test Automation Architecture
6 Traits of a Successful Test Automation Architecture
 
ATDD Using Robot Framework
ATDD Using Robot FrameworkATDD Using Robot Framework
ATDD Using Robot Framework
 
Technical Tips: Visual Regression Testing and Environment Comparison with Bac...
Technical Tips: Visual Regression Testing and Environment Comparison with Bac...Technical Tips: Visual Regression Testing and Environment Comparison with Bac...
Technical Tips: Visual Regression Testing and Environment Comparison with Bac...
 
Client-Side Performance Testing
Client-Side Performance TestingClient-Side Performance Testing
Client-Side Performance Testing
 
BDD não é automação de teste - Scrum Gathering
BDD não é automação de teste - Scrum GatheringBDD não é automação de teste - Scrum Gathering
BDD não é automação de teste - Scrum Gathering
 
Introduction to Test Automation
Introduction to Test AutomationIntroduction to Test Automation
Introduction to Test Automation
 
Introduction to Software Test Automation
Introduction to Software Test AutomationIntroduction to Software Test Automation
Introduction to Software Test Automation
 
Robot Framework
Robot FrameworkRobot Framework
Robot Framework
 
Ship quality mobile apps with speed [Webinar]
Ship quality mobile apps with speed [Webinar]Ship quality mobile apps with speed [Webinar]
Ship quality mobile apps with speed [Webinar]
 
Test automation framework
Test automation frameworkTest automation framework
Test automation framework
 
Introduction to Bdd and cucumber
Introduction to Bdd and cucumberIntroduction to Bdd and cucumber
Introduction to Bdd and cucumber
 
An overview of selenium webdriver
An overview of selenium webdriverAn overview of selenium webdriver
An overview of selenium webdriver
 
Keyword Driven Testing
Keyword Driven TestingKeyword Driven Testing
Keyword Driven Testing
 
Introduction to Automation Testing
Introduction to Automation TestingIntroduction to Automation Testing
Introduction to Automation Testing
 
Introduction to Robot Framework (external)
Introduction to Robot Framework (external)Introduction to Robot Framework (external)
Introduction to Robot Framework (external)
 

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

Lightning Talks by Globant - Accessibility for everyone testing tools
Lightning Talks by Globant - Accessibility for everyone testing toolsLightning Talks by Globant - Accessibility for everyone testing tools
Lightning Talks by Globant - Accessibility for everyone testing toolsGlobant
 
Tips from the trenches Accessibility Testing
Tips from the trenches Accessibility TestingTips from the trenches Accessibility Testing
Tips from the trenches Accessibility TestingManoj Kumar Kumar
 
Automated Testing in Angular Slides
Automated Testing in Angular SlidesAutomated Testing in Angular Slides
Automated Testing in Angular SlidesJim Lynch
 
What companies need to know about web accessibility in 2020
What companies need to know about web accessibility in 2020What companies need to know about web accessibility in 2020
What companies need to know about web accessibility in 2020Lisandra Armas
 
What to Fix-First: Accessibility Remediation Order Matters
What to Fix-First: Accessibility Remediation Order MattersWhat to Fix-First: Accessibility Remediation Order Matters
What to Fix-First: Accessibility Remediation Order MattersSean Kelly
 
U test whitepaper_10
U test whitepaper_10U test whitepaper_10
U test whitepaper_10eshwar83
 
How To Write a Symphony of Automation With Appium by Dan Cuellar sauce con18
How To Write a Symphony of Automation With Appium by Dan Cuellar sauce con18How To Write a Symphony of Automation With Appium by Dan Cuellar sauce con18
How To Write a Symphony of Automation With Appium by Dan Cuellar sauce con18Sauce Labs
 
How To Write A Symphony of Automation With Appium
How To Write A Symphony of Automation With AppiumHow To Write A Symphony of Automation With Appium
How To Write A Symphony of Automation With AppiumSauce Labs
 
Practical Accessibility Testing
Practical Accessibility TestingPractical Accessibility Testing
Practical Accessibility TestingGlenda Sims
 
TMF2014 Mobile Testing Workshop Michael Palotas
TMF2014 Mobile Testing Workshop Michael PalotasTMF2014 Mobile Testing Workshop Michael Palotas
TMF2014 Mobile Testing Workshop Michael PalotasKJR
 
Continuous Testing With React Storybook & WebdriverIO
Continuous Testing With React Storybook & WebdriverIOContinuous Testing With React Storybook & WebdriverIO
Continuous Testing With React Storybook & WebdriverIOJosh Cypher
 
Usability
UsabilityUsability
Usabilityclonq
 
Evaluating Accessibility in Design
Evaluating Accessibility in DesignEvaluating Accessibility in Design
Evaluating Accessibility in DesignAlena Huang
 
Basics of Web Accessibility Testing
Basics of Web Accessibility TestingBasics of Web Accessibility Testing
Basics of Web Accessibility TestingJohn McNabb
 
Manual Testing Interview Questions | Edureka
Manual Testing Interview Questions | EdurekaManual Testing Interview Questions | Edureka
Manual Testing Interview Questions | EdurekaEdureka!
 
Building and Scaling High Performing Technology Organizations by Jez Humble a...
Building and Scaling High Performing Technology Organizations by Jez Humble a...Building and Scaling High Performing Technology Organizations by Jez Humble a...
Building and Scaling High Performing Technology Organizations by Jez Humble a...Agile India
 

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

Lightning Talks by Globant - Accessibility for everyone testing tools
Lightning Talks by Globant - Accessibility for everyone testing toolsLightning Talks by Globant - Accessibility for everyone testing tools
Lightning Talks by Globant - Accessibility for everyone testing tools
 
Tips from the trenches Accessibility Testing
Tips from the trenches Accessibility TestingTips from the trenches Accessibility Testing
Tips from the trenches Accessibility Testing
 
Automated Testing in Angular Slides
Automated Testing in Angular SlidesAutomated Testing in Angular Slides
Automated Testing in Angular Slides
 
What companies need to know about web accessibility in 2020
What companies need to know about web accessibility in 2020What companies need to know about web accessibility in 2020
What companies need to know about web accessibility in 2020
 
What to Fix-First: Accessibility Remediation Order Matters
What to Fix-First: Accessibility Remediation Order MattersWhat to Fix-First: Accessibility Remediation Order Matters
What to Fix-First: Accessibility Remediation Order Matters
 
SFSCON23 - Juri Solovjov - Flaky tests – how to deal with them
SFSCON23 - Juri Solovjov - Flaky tests – how to deal with themSFSCON23 - Juri Solovjov - Flaky tests – how to deal with them
SFSCON23 - Juri Solovjov - Flaky tests – how to deal with them
 
Testing 101
Testing 101Testing 101
Testing 101
 
U test whitepaper_10
U test whitepaper_10U test whitepaper_10
U test whitepaper_10
 
How To Write a Symphony of Automation With Appium by Dan Cuellar sauce con18
How To Write a Symphony of Automation With Appium by Dan Cuellar sauce con18How To Write a Symphony of Automation With Appium by Dan Cuellar sauce con18
How To Write a Symphony of Automation With Appium by Dan Cuellar sauce con18
 
How To Write A Symphony of Automation With Appium
How To Write A Symphony of Automation With AppiumHow To Write A Symphony of Automation With Appium
How To Write A Symphony of Automation With Appium
 
Practical Accessibility Testing
Practical Accessibility TestingPractical Accessibility Testing
Practical Accessibility Testing
 
TMF2014 Mobile Testing Workshop Michael Palotas
TMF2014 Mobile Testing Workshop Michael PalotasTMF2014 Mobile Testing Workshop Michael Palotas
TMF2014 Mobile Testing Workshop Michael Palotas
 
Continuous Testing With React Storybook & WebdriverIO
Continuous Testing With React Storybook & WebdriverIOContinuous Testing With React Storybook & WebdriverIO
Continuous Testing With React Storybook & WebdriverIO
 
Usability
UsabilityUsability
Usability
 
Evaluating Accessibility in Design
Evaluating Accessibility in DesignEvaluating Accessibility in Design
Evaluating Accessibility in Design
 
Basics of Web Accessibility Testing
Basics of Web Accessibility TestingBasics of Web Accessibility Testing
Basics of Web Accessibility Testing
 
Is Testing With A Screen Reader Enough?
Is Testing With A Screen Reader Enough?Is Testing With A Screen Reader Enough?
Is Testing With A Screen Reader Enough?
 
Manual Testing Interview Questions | Edureka
Manual Testing Interview Questions | EdurekaManual Testing Interview Questions | Edureka
Manual Testing Interview Questions | Edureka
 
Why Usability Testing Should be Part of your Accessibility Testing Strategy
Why Usability Testing Should be Part of your Accessibility Testing StrategyWhy Usability Testing Should be Part of your Accessibility Testing Strategy
Why Usability Testing Should be Part of your Accessibility Testing Strategy
 
Building and Scaling High Performing Technology Organizations by Jez Humble a...
Building and Scaling High Performing Technology Organizations by Jez Humble a...Building and Scaling High Performing Technology Organizations by Jez Humble a...
Building and Scaling High Performing Technology Organizations by Jez Humble a...
 

More from Applitools

Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonApplitools
 
Streamlining Your Tech Stack: A Blueprint for Enhanced Efficiency and Coverag...
Streamlining Your Tech Stack: A Blueprint for Enhanced Efficiency and Coverag...Streamlining Your Tech Stack: A Blueprint for Enhanced Efficiency and Coverag...
Streamlining Your Tech Stack: A Blueprint for Enhanced Efficiency and Coverag...Applitools
 
Visual AI for eCommerce: Improving Conversions with a Flawless UI
Visual AI for eCommerce: Improving Conversions with a Flawless UIVisual AI for eCommerce: Improving Conversions with a Flawless UI
Visual AI for eCommerce: Improving Conversions with a Flawless UIApplitools
 
A Test Automation Platform Designed for the Future
A Test Automation Platform Designed for the FutureA Test Automation Platform Designed for the Future
A Test Automation Platform Designed for the FutureApplitools
 
Add AI to Your SDLC, presented by Applitools and Curiosity
Add AI to Your SDLC, presented by Applitools and CuriosityAdd AI to Your SDLC, presented by Applitools and Curiosity
Add AI to Your SDLC, presented by Applitools and CuriosityApplitools
 
The Future of AI-Based Test Automation
The Future of AI-Based Test AutomationThe Future of AI-Based Test Automation
The Future of AI-Based Test AutomationApplitools
 
Test Automation at Scale: Lessons from Top-Performing Distributed Teams
Test Automation at Scale: Lessons from Top-Performing Distributed TeamsTest Automation at Scale: Lessons from Top-Performing Distributed Teams
Test Automation at Scale: Lessons from Top-Performing Distributed TeamsApplitools
 
Can AI Autogenerate and Run Automated Tests?
Can AI Autogenerate and Run Automated Tests?Can AI Autogenerate and Run Automated Tests?
Can AI Autogenerate and Run Automated Tests?Applitools
 
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and FunctionalityTriple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and FunctionalityApplitools
 
Navigating the Challenges of Testing at Scale: Lessons from Top-Performing Teams
Navigating the Challenges of Testing at Scale: Lessons from Top-Performing TeamsNavigating the Challenges of Testing at Scale: Lessons from Top-Performing Teams
Navigating the Challenges of Testing at Scale: Lessons from Top-Performing TeamsApplitools
 
Introducing the Applitools Self Healing Execution Cloud.pdf
Introducing the Applitools Self Healing Execution Cloud.pdfIntroducing the Applitools Self Healing Execution Cloud.pdf
Introducing the Applitools Self Healing Execution Cloud.pdfApplitools
 
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...Applitools
 
Collaborating From Design To Experience: Introducing Centra
Collaborating From Design To Experience: Introducing CentraCollaborating From Design To Experience: Introducing Centra
Collaborating From Design To Experience: Introducing CentraApplitools
 
What the QA Position Will Look Like in the Future
What the QA Position Will Look Like in the FutureWhat the QA Position Will Look Like in the Future
What the QA Position Will Look Like in the FutureApplitools
 
Getting Started with Visual Testing
Getting Started with Visual TestingGetting Started with Visual Testing
Getting Started with Visual TestingApplitools
 
Workshop: Head-to-Head Web Testing: Part 1 with Cypress
Workshop: Head-to-Head Web Testing: Part 1 with CypressWorkshop: Head-to-Head Web Testing: Part 1 with Cypress
Workshop: Head-to-Head Web Testing: Part 1 with CypressApplitools
 
From Washing Cars To Automating Test Applications
From Washing Cars To Automating Test ApplicationsFrom Washing Cars To Automating Test Applications
From Washing Cars To Automating Test ApplicationsApplitools
 
A Holistic Approach to Testing in Continuous Delivery
A Holistic Approach to Testing in Continuous DeliveryA Holistic Approach to Testing in Continuous Delivery
A Holistic Approach to Testing in Continuous DeliveryApplitools
 
AI-Powered-Cross-Browser Testing
AI-Powered-Cross-Browser TestingAI-Powered-Cross-Browser Testing
AI-Powered-Cross-Browser TestingApplitools
 
Workshop: An Introduction to API Automation with Javascript
Workshop: An Introduction to API Automation with JavascriptWorkshop: An Introduction to API Automation with Javascript
Workshop: An Introduction to API Automation with JavascriptApplitools
 

More from Applitools (20)

Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + KobitonLeveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
Leveraging AI for Mobile App Testing on Real Devices | Applitools + Kobiton
 
Streamlining Your Tech Stack: A Blueprint for Enhanced Efficiency and Coverag...
Streamlining Your Tech Stack: A Blueprint for Enhanced Efficiency and Coverag...Streamlining Your Tech Stack: A Blueprint for Enhanced Efficiency and Coverag...
Streamlining Your Tech Stack: A Blueprint for Enhanced Efficiency and Coverag...
 
Visual AI for eCommerce: Improving Conversions with a Flawless UI
Visual AI for eCommerce: Improving Conversions with a Flawless UIVisual AI for eCommerce: Improving Conversions with a Flawless UI
Visual AI for eCommerce: Improving Conversions with a Flawless UI
 
A Test Automation Platform Designed for the Future
A Test Automation Platform Designed for the FutureA Test Automation Platform Designed for the Future
A Test Automation Platform Designed for the Future
 
Add AI to Your SDLC, presented by Applitools and Curiosity
Add AI to Your SDLC, presented by Applitools and CuriosityAdd AI to Your SDLC, presented by Applitools and Curiosity
Add AI to Your SDLC, presented by Applitools and Curiosity
 
The Future of AI-Based Test Automation
The Future of AI-Based Test AutomationThe Future of AI-Based Test Automation
The Future of AI-Based Test Automation
 
Test Automation at Scale: Lessons from Top-Performing Distributed Teams
Test Automation at Scale: Lessons from Top-Performing Distributed TeamsTest Automation at Scale: Lessons from Top-Performing Distributed Teams
Test Automation at Scale: Lessons from Top-Performing Distributed Teams
 
Can AI Autogenerate and Run Automated Tests?
Can AI Autogenerate and Run Automated Tests?Can AI Autogenerate and Run Automated Tests?
Can AI Autogenerate and Run Automated Tests?
 
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and FunctionalityTriple Assurance: AI-Powered Test Automation in UI Design and Functionality
Triple Assurance: AI-Powered Test Automation in UI Design and Functionality
 
Navigating the Challenges of Testing at Scale: Lessons from Top-Performing Teams
Navigating the Challenges of Testing at Scale: Lessons from Top-Performing TeamsNavigating the Challenges of Testing at Scale: Lessons from Top-Performing Teams
Navigating the Challenges of Testing at Scale: Lessons from Top-Performing Teams
 
Introducing the Applitools Self Healing Execution Cloud.pdf
Introducing the Applitools Self Healing Execution Cloud.pdfIntroducing the Applitools Self Healing Execution Cloud.pdf
Introducing the Applitools Self Healing Execution Cloud.pdf
 
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
Unlocking the Power of ChatGPT and AI in Testing - NextSteps, presented by Ap...
 
Collaborating From Design To Experience: Introducing Centra
Collaborating From Design To Experience: Introducing CentraCollaborating From Design To Experience: Introducing Centra
Collaborating From Design To Experience: Introducing Centra
 
What the QA Position Will Look Like in the Future
What the QA Position Will Look Like in the FutureWhat the QA Position Will Look Like in the Future
What the QA Position Will Look Like in the Future
 
Getting Started with Visual Testing
Getting Started with Visual TestingGetting Started with Visual Testing
Getting Started with Visual Testing
 
Workshop: Head-to-Head Web Testing: Part 1 with Cypress
Workshop: Head-to-Head Web Testing: Part 1 with CypressWorkshop: Head-to-Head Web Testing: Part 1 with Cypress
Workshop: Head-to-Head Web Testing: Part 1 with Cypress
 
From Washing Cars To Automating Test Applications
From Washing Cars To Automating Test ApplicationsFrom Washing Cars To Automating Test Applications
From Washing Cars To Automating Test Applications
 
A Holistic Approach to Testing in Continuous Delivery
A Holistic Approach to Testing in Continuous DeliveryA Holistic Approach to Testing in Continuous Delivery
A Holistic Approach to Testing in Continuous Delivery
 
AI-Powered-Cross-Browser Testing
AI-Powered-Cross-Browser TestingAI-Powered-Cross-Browser Testing
AI-Powered-Cross-Browser Testing
 
Workshop: An Introduction to API Automation with Javascript
Workshop: An Introduction to API Automation with JavascriptWorkshop: An Introduction to API Automation with Javascript
Workshop: An Introduction to API Automation with Javascript
 

Recently uploaded

BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantAxelRicardoTrocheRiq
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationkaushalgiri8080
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackVICTOR MAESTRE RAMIREZ
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...soniya singh
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVshikhaohhpro
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfPower Karaoke
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 

Recently uploaded (20)

BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Salesforce Certified Field Service Consultant
Salesforce Certified Field Service ConsultantSalesforce Certified Field Service Consultant
Salesforce Certified Field Service Consultant
 
Project Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanationProject Based Learning (A.I).pptx detail explanation
Project Based Learning (A.I).pptx detail explanation
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Cloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStackCloud Management Software Platforms: OpenStack
Cloud Management Software Platforms: OpenStack
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
Russian Call Girls in Karol Bagh Aasnvi ➡️ 8264348440 💋📞 Independent Escort S...
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
The Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdfThe Evolution of Karaoke From Analog to App.pdf
The Evolution of Karaoke From Analog to App.pdf
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 

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