This repository contains a site designed to demonstrate a wide variety of accessibility failures.
The site
folder contains the code used to build the site, powered by Astro.
If you don't have one, we recommend installing an IDE that supports multiple languages (Javascript, HTML/CSS, etc).
Visual Studio Code is recommended, as Astro provides an
extension
which includes intellisense, syntax highlighting, and formatting of .astro
files.
Note: npm
commands should be run within the site
directory.
npm install
within the site
directory to install the JS dependencies.npm start
within the site
directory to run the development server.Other useful npm commands within the site
directory:
npm run check
to check for TypeScript errorsnpm run build
to create a production buildnpm run preview
to preview the production build created by npm run build
This repository includes components designed to allow implementing both "broken" and "fixed" versions side-by-side. The above commands run the "broken" version by default.
To run the "fixed" version:
npm run dev:fixed
to run the dev servernpm run build:fixed
to run a build (previewable as before via npm run preview
)Note that the default "broken" version has been the initial focus of development, so the "fixed" version is even more work-in-progress.