Although the OPAC self-registration CAPTCHA is case-insensitive (Bug 16283), there's no way for the user to know that. Since the CAPTCHA is always in all uppercase we should make it easier on the user by adding "text-transform:uppercase" to the form field so that they don't need to physically make the text uppercase.
Created attachment 116715 [details] [review] Bug 27681: Style OPAC self-registration CAPTCHA as uppercase This patch adds an inline "text-transform:uppercase" style attribute to the OPAC self-registration CAPTCHA field so that the user doesn't have to match the case of the CAPTCHA they're shown. To test, apply the patch and start the process of self-registration in the OPAC. - At the end of the form, under verification, confirm that any text you type in the verification field is uppercase by default. - Confirm that the CAPTCHA is accepted when you submit the form.
Text entered in the CAPTCHA field is all uppercase. But when I submit the form I'm getting an error - Branchcode not allowed at /kohadevbox/koha/opac/opac-memberentry.pl line 160 followed by 52 more lines of stuff. I had this problem recently with another bug so maybe I'm doing something wrong.
Created attachment 117095 [details] [review] Bug 27681: Style OPAC self-registration CAPTCHA as uppercase This patch adds an inline "text-transform:uppercase" style attribute to the OPAC self-registration CAPTCHA field so that the user doesn't have to match the case of the CAPTCHA they're shown. To test, apply the patch and start the process of self-registration in the OPAC. - At the end of the form, under verification, confirm that any text you type in the verification field is uppercase by default. - Confirm that the CAPTCHA is accepted when you submit the form. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>
I re-tested this two times and it worked as described so I signed off.
The depending bug is missing sign-off, so is blocking this from QA for the moment.
Created attachment 117717 [details] [review] Bug 27681: Style OPAC self-registration CAPTCHA as uppercase This patch adds an inline "text-transform:uppercase" style attribute to the OPAC self-registration CAPTCHA field so that the user doesn't have to match the case of the CAPTCHA they're shown. To test, apply the patch and start the process of self-registration in the OPAC. - At the end of the form, under verification, confirm that any text you type in the verification field is uppercase by default. - Confirm that the CAPTCHA is accepted when you submit the form. Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Hm, as I had already spent quite some time here, I decided to SO the dependency and move this to PQA - not the dependency please.
Pushed to master for 21.05, thanks to everybody involved!