Bug 15602 - Accessibility: Can't tab to add link in patron card creator add patrons popup
Summary: Accessibility: Can't tab to add link in patron card creator add patrons popup
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Tools (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: natasha
QA Contact: Testopia
URL: /cgi-bin/koha/patroncards/add_user_se...
Keywords: Academy
Depends on:
Blocks: 15604 15605
  Show dependency treegraph
 
Reported: 2016-01-19 16:53 UTC by Owen Leonard
Modified: 2017-01-10 19:31 UTC (History)
10 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 15602 - Accessibility: Can't tab to add link in patron card creator add patrons popup (1.70 KB, patch)
2016-01-20 03:49 UTC, natasha
Details | Diff | Splinter Review
[SIGNED-OFF]Bug 15602: Accessibility: Can't tab to add link in patron card creator add patrons popup (1.79 KB, patch)
2016-01-21 16:28 UTC, Héctor Eduardo Castro Avalos
Details | Diff | Splinter Review
Bug 15602: Accessibility: Can't tab to add link in patron card creator add patrons popup (1.84 KB, patch)
2016-01-22 09:11 UTC, Jonathan Druart
Details | Diff | Splinter Review
Bug 15602: Remove cursor:pointer (1.44 KB, patch)
2016-01-22 09:11 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Owen Leonard 2016-01-19 16:53:54 UTC
In the patron card creator, patrons are added to a batch from a popup window which lets you search existing patrons. In this popup window it is not possible to use the tab key to highlight the "Add" link. I assume this is because, like the problem in Bug 14193, the link has no href attribute.
Comment 1 natasha 2016-01-20 03:49:52 UTC Comment hidden (obsolete)
Comment 2 Héctor Eduardo Castro Avalos 2016-01-21 15:50:34 UTC
I got this error:

Software error:

Can't call method "get_attr" without a package or object reference at /home/koha/kohaclone/patroncards/edit-batch.pl line 137.

But isn't your patch the problem here!
Comment 3 Héctor Eduardo Castro Avalos 2016-01-21 16:22:58 UTC
(In reply to Héctor Eduardo Castro Avalos from comment #2)
> I got this error:
> 
> Software error:
> 
> Can't call method "get_attr" without a package or object reference at
> /home/koha/kohaclone/patroncards/edit-batch.pl line 137.
> 
> But isn't your patch the problem here!

Ok the error is lauched when NO LIBRARY IS SET, i.e., when you're using the koha db admin user.
Comment 4 Héctor Eduardo Castro Avalos 2016-01-21 16:28:42 UTC Comment hidden (obsolete)
Comment 5 Jonathan Druart 2016-01-22 09:11:14 UTC
Created attachment 47160 [details] [review]
Bug 15602: Accessibility: Can't tab to add link in patron card creator add patrons popup

To Test -

1. Go onto Tools and then click on Patron Card Creator.
2. Click on New and then Card Batch.
3. Add a borrowernumber then add patron.
4. Search for a patron.
5. Using the tab key try to navigate onto the Add link.
6. Notice it skips Add.
7. Apply the patch and then repeat steps 1-5, notice the add link can now be accessed through using the keyboard.

Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com>
Works as described.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 6 Jonathan Druart 2016-01-22 09:11:18 UTC
Created attachment 47161 [details] [review]
Bug 15602: Remove cursor:pointer

With the href attribute, the cusor will be displayed as a pointer.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 7 Brendan Gallagher 2016-01-23 19:11:33 UTC
Pushed to Master - Should be in the May 2016 Release.  Thanks!
Comment 8 Julian Maurice 2016-01-25 11:52:47 UTC
Patch pushed to 3.22.x, will be in 3.22.2
Comment 9 Frédéric Demians 2016-01-25 16:29:36 UTC
This patch has been pushed to 3.20.x, will be in 3.20.8.