Upgrade to Pro — share decks privately, control downloads, hide ads and more …

a11y testing: tech talk

Avatar for Niklas Kiefer Niklas Kiefer
September 15, 2025
1

a11y testing: tech talk

Tech talk at OEV Innovation Hub Berlin

Avatar for Niklas Kiefer

Niklas Kiefer

September 15, 2025
Tweet

Transcript

  1. What’s in • Why a11y testing matters • Different strategies

    for your development routines ◦ manual vs. automatic testing ◦ unit vs. integration testing • Code examples
  2. Accessibility (a11y) “Accessibility is the practice of making your websites

    usable by as many people as possible. We traditionally think of this as being about people with disabilities, but the practice of making sites accessible also benefits other groups such as those using mobile devices, or those with slow network connections.” https://developer.mozilla.org/en-US/docs/Learn/Accessibility/What_is_accessibility
  3. a11y testing - Why it matters • regularly test your

    components against a set of defined rules and best practices • automatic testing: catch bugs earlier ◦ “find on average 57% of WCAG issues automatically”, cf. https://github.com/dequelabs/axe-core • get a better understanding of how our products works for a wider range of users
  4. Manual testing • Tab like crazy • Use dev tools

    • Use screen readers or voice recognition tools • Conduct a11y audits
  5. Dev tools • Chrome a11y tree • axe DevTools •

    Google Lighthouse • IBM accessibility checker (Carbon)
  6. Conduct a11y audits • Use the techniques mentioned before •

    Collect critical a11y issues • Act on them • The A11Y Project Checklist
  7. Automated testing • Unit tests - test your components •

    Integration tests - test e2e scenarios • Find examples for both cases in the Frontend Template
  8. Use semantic HTML where possible The first rule of ARIA:

    If you can use a native HTML element or attribute with the semantics and behaviour you require already built in, instead of re-purposing an element and adding an ARIA role, state or property to make it accessible, then do so.
  9. Use semantic HTML where possible ⛔ no translation support ✅

    Source: https://conf.react.dev/talks/19
  10. • Web Content Accessibility Guidelines • axe dev tools •

    React Conf Talk - Demystifying accessibility in React apps ◦ More resources • Google A11ycasts Helpful resources