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

a11y testing

a11y testing

Knowledge exchange

Niklas Kiefer

October 21, 2022
Tweet

More Decks by Niklas Kiefer

Other Decks in Programming

Transcript

  1. What’s in • why it matters • different testing strategies

    ◦ manual vs. automatic testing ◦ unit vs. integration testing • how others are doing it ◦ Desktop Modeler & bpmn-io team ◦ Carbon • code examples
  2. 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
  3. Manual testing • tab like crazy • regularly use screen

    reader or voice recognition tools ◦ macOS build in features • use dev tools ◦ axe dev tools ◦ Google Lighthouse
  4. Automatic testing • unit tests - test your components •

    integration tests - test a “real world” example
  5. Integration tests • bootstrap a realistic scenario with multiple components

    • run the same test suite with axe-core • example: BPMN properties panel