gitreports.com icon indicating copy to clipboard operation
gitreports.com copied to clipboard

Captcha is not accessible

Open SuzanneSoy opened this issue 8 years ago • 7 comments

Hello,

The captcha is not accessible to blind or ill-sighted people.

A better (but not perfect) option would be to rely on Google's reCAPTCHA, which includes an audio "fallback".

It would be nice to have the option to generate a simple project-specific token (just a random string of characters), and include it in the URL to skip the captcha altogether. That way, developers can include a "submit a bug report" button in their application, knowing that mass-harvesting tokens would involve understanding the source code, and therefore be a rather difficult task for bots.

SuzanneSoy avatar May 18 '17 13:05 SuzanneSoy

Hi there. I agree this would be a great improvement and I'd be happy to merge a PR. Unfortunately my own schedule is fairly busy at the time (and, as you probably know, Git Reports is a free service) so I can't make any promises about when I'll have time to work on it myself.

schneidmaster avatar May 18 '17 14:05 schneidmaster

Would you be opposed to using a service like reCaptcha? (We're happy to make the actual change to use it.)

LeifAndersen avatar May 18 '17 14:05 LeifAndersen

I'd have no problems with using recaptcha :)

schneidmaster avatar May 18 '17 14:05 schneidmaster

One thing to keep in mind is locale support (this might have been why I didn't use recaptcha the first time around -- can't remember). Git Reports has French and Polish users who have contributed locale translations of the site content; simple_captcha allows you to customize all of its messages with locales (see here for example). So ideally the new CAPTCHA should also translate appropriately based on locale header. I assume recaptcha does this since Google obviously has a huge international user base but I'm not sure offhand.

schneidmaster avatar May 18 '17 14:05 schneidmaster

I can't find an explicit mention of support, but there's a comprehensive languages code page which includes both French and Polish in v2: https://developers.google.com/recaptcha/docs/language

I'd be happy to look into this, if there's still room for a PR.

CareyJWilliams avatar Oct 11 '17 16:10 CareyJWilliams

Yeah, feel free to send a PR. The folks who opened the issue never got around to sending me one 🙂

schneidmaster avatar Oct 11 '17 18:10 schneidmaster

Ya, sorry. We hand't gotten around to it yet. Feel free to do it, otherwise I will eventually get around to it. :)

Either way though, thank you.

LeifAndersen avatar Oct 11 '17 18:10 LeifAndersen