Skip to content

gromitski/accessibility-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Form Accessibility Checker

This tool checks the accessibility of form inputs on web pages against WCAG 2.2 AA standards.

Setup

  1. Clone this repository
  2. 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
  3. Copy config.template.json to config.json and update with your target URLs:
    cp config.template.json config.json
  4. Edit config.json to specify:
    • base_url: The base URL of the website
    • pages: Array of pages to check, each with:
      • description: Human-readable page name
      • path: URL path relative to base_url

Usage

Run the script:

python check_accessibility.py

The script will:

  1. Visit each configured page
  2. Check all form inputs against WCAG 2.2 AA standards
  3. Generate a report in scraped/inputs.md

Security Note

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages