How siddu-0111/accessible-captcha works
This is a web-based, haptic-only CAPTCHA for blind, low-vision, and deaf-blind users. The user starts the browser experience, feels a server-generated short/long vibration pattern, enters it by tapping/holding or keyboard, and submits it for one-time verification. The server handles challenge generation, expiry, rate limits, and outcome logging; a separate evaluation script summarizes those logs and optional questionnaire data. The browser’s speech and vibration integrations are documented or indicated in the client excerpt, but their exact implementation is only partially sampled.
Main entry points: app.py HTTP endpoints · script.js CAPTCHA interface · index.html Web page · generator.py Pattern generator
Components 12
Accessible client
- CAPTCHA interface
static/script.js - Web page
static/index.html - Browser speech
- Device vibration
Challenge service
- HTTP endpoints
app.py - Pattern generator
generator.py - Answer verification
app.py
Security and records
- Challenge state
app.py - Rate limits
app.py - Event log
app.py
Usability evaluation
- Usability analysis
eval/usability_analysis.py
Other components
- CAPTCHA user
Connections 14
- CAPTCHA user → CAPTCHA interface: interacts
Readme.md - CAPTCHA interface → Web page: loads
- HTTP endpoints → Web page: serves
app.py - CAPTCHA interface → HTTP endpoints: requests challenge
static/script.js - CAPTCHA interface → HTTP endpoints: submits answer
static/script.js - HTTP endpoints → Pattern generator: generates challenge
app.py - HTTP endpoints → Challenge state: stores and consumes
app.py - HTTP endpoints → Rate limits: checks limits
app.py - HTTP endpoints → Answer verification: dispatches verification
app.py - Answer verification → Pattern generator: normalizes answer
app.py - HTTP endpoints → Event log: writes events
app.py - Usability analysis → Event log: reads outcomes
eval/usability_analysis.py - CAPTCHA interface → Browser speech: announces instructions
- CAPTCHA interface → Device vibration: plays patterns