Learn to test web applications for accessibility with Gatsby and React.js from Gatsby's Lead Developer Relations Engineer Marcy Sutton.
Presented at:
Note: This repo requires Node.js 12+ and npm to be installed.
- Install Gatsby CLI:
npm install -g gatsby-cli
- Create a new Gatsby site using this starter
gatsby new test-a11y https://github.com/marcysutton/workshop-a11y-testing
- Go into the directory and start the development server
cd test-a11y
gatsby develop
View in a browser: http://localhost:8000
-
Edit files:
- Site pages:
src/pages/*
- Site components:
src/components/*
- Component unit tests:
src/components/__tests__
- Templates:
src/templates/*
- Integration tests:
cypress/*
- Site pages:
- Have a text editor installed, i.e. VS Code
- Have Node.js 12+ and npm installed