In this repo I show how to automatically test certain parts of form accessibility with
@testing-library. This tutorial is an extension on a talk I gave at FrontendNation. If you did not attend the talk, you can still follow along without any problems. I will be using
Vue.js in this tutorial, but the principles can be applied to any front-end framework.
VSCode + Volar (and disable Vetur).
See Vite Configuration Reference.
npm installnpm run devnpm run buildRun Unit Tests with Vitest
npm run test:unitLint with ESLint
npm run lint