First in the root of the repo run the following command to install the dependencies.
npm installThis repo contains optional submodules for the websites used in the tests. The websites are also hosted online, but if you'd like to make local changes, you can use the submodules.
You can initialize them by running the following command:
git submodule update --init --recursiveThis is only necessary if you want to run the wdio-axe-watcher.e2e.ts tests. You'll need to create an .env file with the environment varialbe DEQUE_API_KEY with your Deque Developer Hub api-key.
You can create that HERE
The first of these websites is used in the test. The second is similar:
- https://www.washington.edu/accesscomputing/AU/before.html
- https://a11y-assessments.pages.oit.duke.edu/accessible-u/before_u.html
If you want to use the submodules, you can host them locally from within the specific site folder.
Go to the sites folder and and go to the folder of one of the sites, then run the following command:
npx live-serverIBM equal access toolkit Deque VoiceOver shortcuts
Some readings that might give you an insights: