#10831: Captchas are not accessible for blind users -------------------------------------------------+------------------------- Reporter: PZajda | Owner: isis Type: enhancement | Status: new Priority: Medium | Milestone: Component: Obfuscation/BridgeDB | Version: Severity: Normal | Resolution: Keywords: bridgedb-reportbug, isis2015Q3Q4, | Actual Points: isisExB, isisExC, bridgedb-ui | Parent ID: | Points: Reviewer: | Sponsor: -------------------------------------------------+-------------------------
Comment (by unknown_artist): I am planning to use https://pypi.python.org/pypi/captcha for generating captchas. As per the documentation, we can do something like this for generating audio captchas : {{{ from captcha.audio import AudioCaptcha audio = AudioCaptcha(voicedir='/path/to/voices') audio.write('aT2bXvw7','aT2bXvw7.wav') }}} The above code snippet will generate an audio captcha whose correct answer is aT2bXvw7 The voice directory should contain single character named directories, for example : * a/ * b/ * c/ These directories should contain 8 bit PCM .wav files. Each character directory may contain as many .wav files and one of them will be randomly chosen for captcha generation -- Ticket URL: <https://trac.torproject.org/projects/tor/ticket/10831#comment:13> Tor Bug Tracker & Wiki <https://trac.torproject.org/> The Tor Project: anonymity online
_______________________________________________ tor-bugs mailing list tor-bugs@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs