Skip to content

A website to demonstrate various disabilities and how webtechnologies can be used to teach devs how to improve their websites for accessibility

License

Notifications You must be signed in to change notification settings

Martinspire/a11y-experiments

Repository files navigation

a11y-experiments

A website to demonstrate various disabilities and how webtechnologies can be used to teach devs how to improve their websites for accessibility. There are various experiments one can view to get a grasp of what it means to have a disability and what happens when you browse the web with it. For both bad examples and good examples. Every experiment has a bit of context, the samples and links to read up further on the topic (if any are available or applicable). If you know a good addition to the project, please use the github issues, discussions or PR ability to suggest or (better yet) supply the solution already.

I'm not planning on actively maintaining this repository, so if somebody eventually wants to take over, thats fine by me. Preferrably a person or organisation that keeps it free and supported over longer time.

About the experiments

I'm not a UX expert, nor specialized in Accessibility. Therefor you cannot take any major conclusions from this project. It is meant for educational purposes only.

Prerequisites

  • NodeJS installation. Version 20+ is fine. Current LTS version would be the best.
  • Something to clone the application locally. Beginner developers can use Github Desktop to do that the easiest. Install that after downloading here <github.com/martinspire/a11y-experiments>. Click the big green [CODE] button which opens a dropdown. Click the link to "Open with Github Desktop", pick a location and hit clone to have the files be copied there.
  • Usable IDE. We recommend VSCode. The project provides a few recommended extensions to install. Perhaps use a new profile for this project if you want to keep your own setup, but go to extensions and if its not visible already you can select recommended from the filter icon menu. Out of the box VSCode will already recognize the code, but a few helper things can be added to ease developing Angular applications and use the project settings to work with.

Install

To install the project, you just need to run npm install in this folder. This however requires a valid NodeJS installation where the NPM task is able to run in the folder. The project is supplied from github <github.com/martinspire/a11y-experiments> and after checking out, installing and running the npm run start task, you should be able to see it running on http://localhost:4200. Mess around with it and see what you can figure out about accessibility. Its not the default 4200 to prevent conflicts with other angular projects. It should show the URL in the terminal and it may be clickable as well.

Application Tasks

There are various tasks defined in the package.json

  • To run the project locally, you need to use the nx serve or npm run start task.
  • To build it locally, you need to run nx build or npm run build.
  • To unit test it locally, you need nx test or npm run test.
  • To end to end test it locally, you need nx e2e or npm run e2e.

NOTE: To view the app locally, you need to open the app at http://localhost:4200. Just like any other angular application. It will show the address when it has served the application.

Made with

  • Angular - Angular.dev
  • ESLint - (code quality, including Stylistic)
  • Jest - (Unit testing)
  • NX - (workspace management) nx.dev
  • Playwright (E2E testing)

Angular additions

VSCode additions

  • Recommended extensions
  • Various settings
  • Extensive ESLint configuration
  • Prettier, Stylelint and Editorconfig

Copyright and legal stuff

This project is made with free and open tools that hopefully allow me to give you a good experience. The code is covered in the MIT license. I just hope that you give me some credit where you use it and perhaps extend on it. I enjoy seeing places where the project has been featured or the responses it got from people that got to experience it. Any breach of licenses or trademarks is accidental and I would love for you to reach out so I can fix it.

This project is built by Martin Spierings from the Netherlands and you can view my profile on linkedin or twitter/x.

About

A website to demonstrate various disabilities and how webtechnologies can be used to teach devs how to improve their websites for accessibility

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published