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 install
npm run dev
npm run build
Run Unit Tests with Vitest
npm run test:unit
Lint with ESLint
npm run lint