Accessibility Insights Service is a service that can be used to scan websites for accessibility issues on a periodic basis. It is TypeScript project with shell scripts for install and update scenarios.
This project can be run in an Azure environment and can be set up easily using the install scripts provided.
Clone the repository
git clone https://github.com/Microsoft/accessibility-insights-service.git
Select the solution directory
cd accessibility-insights-service
Run yarn to install initial npm packages
yarn install
Run yarn to build solution
yarn build
yarn precheckin
Run the below command from the command line to execute all unit tests
yarn test
Goto the package you want to watch for. You can run tests whenever source code is modified in watch mode.
yarn watch:test
To debug packages locally follow the generic steps below.
Complete deployment of the service in your Azure subscription
Run the following script to get the content of the .env
plain text file:
./packages/resource-deployment/scripts/create-env-file-for-debug.sh -r <resourceGroupName>
Create the .env
plain text file under package root folder to debug it locally
Debug selected package using Visual Studio Code selecting respective debug configuration
During deployment, the Azure dashboard will be created to track service metrics and telemetry data.
All contributions are welcome! Please visit our Contributing page.
Please file a Github Issue. We actively monitor PRs and issues.
Alternatively you may also ask questions on stackoverflow.com and tag them with an accessibility-insights
tag.
If you believe you have found a security vulnerability in this project, please follow these steps to report it. For more information on how vulnerabilities are disclosed, see Coordinated Vulnerability Disclosure.