Advanced Unit Testing For Web Accessibility
summary
Claim: embedding accessibility checks into unit tests catches regressions before deploy and reduces manual audits. Examples: a component test using getByRole fails when a real <nav> becomes a <div>, and an image without alt causes automated Axe-based tests to fail. Tools shown: jest-axe / axe-core with testing-library assertions, Lighthouse and WAVE for audits, an a11y linter in VS Code, and Cypress integration for end-to-end accessibility checks. Built demos include ARIA roles, tabindex fixes and screen‑reader simulation — tests run and flag the issues.
AI-written summary · about
chapters (14)
- 0:00Introduction and speaker intro
- 1:46What is web accessibility
- 4:18Accessibility challenges in the wild
- 7:09WCAG principles explained
- 10:02Keyboard accessibility fixes
- 12:54Accessibility tree and DOM
- 14:19Tools for accessibility testing
- 16:52Testing inside application scope
- 19:01Live demo with Testing Library
- 22:44Jest X for accessibility validation
- 25:22Cypress for end-to-end testing
- 29:43Benefits of accessibility
- 31:52Summary and closing remarks
- 32:33Q&A session
