This tool checks the accessibility of form inputs on web pages against WCAG 2.2 AA standards.
- Clone this repository
- Create a virtual environment and install dependencies:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install -r requirements.txt
- Copy
config.template.jsontoconfig.jsonand update with your target URLs:cp config.template.json config.json
- Edit
config.jsonto specify:base_url: The base URL of the websitepages: Array of pages to check, each with:description: Human-readable page namepath: URL path relative to base_url
Run the script:
python check_accessibility.pyThe script will:
- Visit each configured page
- Check all form inputs against WCAG 2.2 AA standards
- Generate a report in
scraped/inputs.md
The config.json file is ignored by git to prevent exposing sensitive URLs. Always use config.template.json as a reference and create your own config.json with actual URLs.