Steve Barnett - Getting the most out of jest-axe
ฝัง
- เผยแพร่เมื่อ 7 ก.ย. 2024
- Jest-axe is a custom matcher (the bit that does the checking in your test) for testing accessibility. It’s a handy way to catch a11y errors in our components.
To get the most value from it, though, we need to be a little careful about how we use it.
We’ll go from ‘iHaveNoIdea’ to ‘toHaveNoViolations’ in 20 minutes.
This presentation is a part of A11y Camp 2021. More information about A11y Camp is available on our website: a11ycamp.org.au/
Check out the TH-cam playlist of all the A11y Camp 2021 presentations: • A11y Camp 2021