Marie Cruz
Marie is a software tester and also a tech blogger at testingwithmarie.com where she talks about testing and test automation in general. Currently, she works as a Developer Advocate for k6.io
Marie Drake, Principal Test Automation Engineer @ News UK
"1 in 5 people in the UK have a long term illness, impairment or disability"
WCAG 2.0
Perceivable
Operable
Undertandable
Robust
WCAG 2.1
Credit: Kristin Jackvony https://www.ministryoftesting.com/dojo/lessons/an-introduction-to-the-automation-test-wheel
👍🏼 Nothing beats actual user testing
👍🏼 Finds issues missed by tools
👍🏼 More reliable
👍🏼 Fast
👍🏼 Cheap
👍🏼 Easy
👍🏼 Integrated in CI/CD pipelines
Helps catch accessibility issues from your site
Browser extensions
CLI tool
Libraries to integrate with different testing frameworks
Supported by Deque systems
npm i --D cypress cypress-axe
// add it on support/index.js
import 'cypress-axe';
cy.injectAxe();
cy.checkA11y();
a11yComponentRules.forEach(component => {
describe(`${component.name} component`, () => {
it('should pass basic a11y test', () => {
cy.visit(`?name=${component.name}`);
cy.injectAxe();
if (component.disabledRules === undefined) {
cy.checkA11yWithDefaultRules();
} else {
cy.checkA11yWithCustomRule(component.disabledRules);
}
});
});
});
Marie Drake, Principal Test Automation Engineer
By Marie Cruz
In this lunch and learn session, we'll look at how you can automate some of your web accessibility testing requirements with Cypress and Cypress-axe
Marie is a software tester and also a tech blogger at testingwithmarie.com where she talks about testing and test automation in general. Currently, she works as a Developer Advocate for k6.io