[Bug 41202] New: Remove the negcap field
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 Bug ID: 41202 Summary: Remove the negcap field Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Accessibility Assignee: koha-bugs@lists.koha-community.org Reporter: jake.deery@openfifth.co.uk QA Contact: testopia@bugs.koha-community.org CC: martin.renvoize@openfifth.co.uk, matt.blenkinsop@openfifth.co.uk, oleonard@myacpl.org On the opac-suggestions page, there is a visually hidden negcap field. It is terrible for accessibility, and seems only to exist to halt bots – which seems unnecessary, given how this page requires users to log in anyway. I propose we remove this field entirely, with possible future development to use some other sort of captcha on this page, if it is deemed necessary. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 Jake Deery <jake.deery@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|enhancement |trivial Assignee|koha-bugs@lists.koha-commun |jake.deery@openfifth.co.uk |ity.org | -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 Jake Deery <jake.deery@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 --- Comment #1 from Jake Deery <jake.deery@openfifth.co.uk> --- Created attachment 189151 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189151&action=edit Bug 41202: Remove hidden negcap for accessibility This patch removes the negcap field on opac-suggestions, as it serves no purpose other than to confuse screen readers. If ncessary, it should be replaced in a follow-up patch with a visually accessible captcha field. == TO TEST == a) go to /cgi-bin/koha/opac-suggestions.pl?op=add_form&biblionumber=56 b) notice as you tab through the form, the focus caret seems to disappear c) inspect the code, and see the negcap field d) complete and submit the form successfully == APPLY PATCH == e) repeat steps a-d f) notice tabbing now works correctly g) notice the negcap field is no longer present h) the form should still successfully submit == SIGN OFF == -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 Jake Deery <jake.deery@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #189151|0 |1 is obsolete| | --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 189380 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189380&action=edit Bug 41202: Remove hidden negcap for accessibility This patch removes the negcap field on opac-suggestions, as it serves no purpose other than to confuse screen readers. If ncessary, it should be replaced in a follow-up patch with a visually accessible captcha field. == TO TEST == a) go to /cgi-bin/koha/opac-suggestions.pl?op=add_form&biblionumber=56 b) notice as you tab through the form, the focus caret seems to disappear c) inspect the code, and see the negcap field d) complete and submit the form successfully == APPLY PATCH == e) repeat steps a-d f) notice tabbing now works correctly g) notice the negcap field is no longer present h) the form should still successfully submit == SIGN OFF == Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #3 from David Nind <david@davidnind.com> --- I've signed off, as what is in the test plan works. However, if anonymous suggestions are allowed (AnonSuggestions = Allow, and AnonymousPatron set (for example, to 19), then the 'negcap' field is also removed from teh form. Testing notes (using KTD): 1. The hidden field is between the 'Notes' and 'Submit your suggestion' fields. When you tab from notes to submit, tab twice to get the submit field to be selected. 2. If you inspect the source before the patch, you will see this HTML markup (after the patch, it is no longer there): <!-- Add a hidden 'negcap' field --> <li id="negcap" style="position: absolute; left: -2000px;"> negcap <input type="text" name="negcap"> </li> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Remove the negcap field |Remove the 'negcap' field | |from the OPAC purchase | |suggestion form -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 --- Comment #4 from Jake Deery <jake.deery@openfifth.co.uk> --- Hi David, Thanks for the sign-off. I agree with your sentiment around negcap and anonymous access. I think we need a better solution, though – something that doesn't break accessibility. Perhaps a follow-up bug, which addresses reimplementing this using a proper captcha library? We could also then use that on the self-reg form, too. Thanks, Jake -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |m.de.rooy@rijksmuseum.nl --- Comment #5 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Added on bug 3144. And also with a lot of discussion. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.koha-community | |.org/bugzilla3/show_bug.cgi | |?id=3144 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |In Discussion --- Comment #6 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Moving to In Discussion given comments 3 and 4. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 --- Comment #7 from Jake Deery <jake.deery@openfifth.co.uk> --- I worry slightly that 'In Discussion' can often mean a bug doesn't proceed. What do we think is a viable solution, here, because this is very bad for keyboard-only users such as those with vision impairments? Maybe something like what we see on the self-reg page ('what was the world's first open source LMS?'), only for those who aren't logged in, as a starting point? Would this be a good compromise? Ta, Jake -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41202 --- Comment #8 from David Nind <david@davidnind.com> --- Maybe we add something like is on the self-registration form (Verification section - Please type the following characters into the preceding box: XXXX) but only for patrons that aren't logged in. I'm not QAing (I'm not a developer), but I would suggest (as you have): 1. Fixing the accessibility issue with this bug. 2. Another bug to add the verification section for patrons that are not logged in. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org