Create MARC Record - focus on item add and call number

Bug #2031114 reported by Josh Stompro
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.10
Fix Released
Medium
Unassigned

Bug Description

When using the Create MARC Record interface, after the template is selected and the editor loads, set the focus on the add item checkbox by default. So if someone wants to use the fast item add, they just press space. Then the focus moves to the call number field, so the user can start entering the Call number, the press tab and scan the barcode.

This just cuts out a few keystrokes in the case where someone wants to create an item.

Working branch on the way.
Josh

Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

Working branch at user/stompro/lp2031114_create_marc_item_add_focus

https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/stompro/lp2031114_create_marc_item_add_focus

I just tested this on a 3.11 test system and it seems to work fine.

Testing Notes:

Before the fix, when you open the Create MARC Record interface, choose a template and load it. The focus isn't on the fast item add checkbox. So you need to press tab to get the focus there, then press space, then tab again to get to the call number box.

After the fix, the item add will have focus when the page loads, press space and the call number box will have focus.

tags: added: pullrequest
tags: added: cataloging
tags: added: ux-keyboard
Revision history for this message
Beth Willis (willis-a) wrote :

Tested on Terran's test server.

This works exactly as described. When opening the template editor, the focus is on Fast Item Add. The user only has to press "space" to move the focus to the call number field. After entering the call number, the user can press "tab" to move to the barcode field.

I have tested this code and consent to signing off on it with my name, Beth Willis and my email address, willis@noblenet

tags: added: signedoff
Changed in evergreen:
status: New → Confirmed
Michele Morgan (mmorgan)
Changed in evergreen:
assignee: nobody → Michele Morgan (mmorgan)
Revision history for this message
Michele Morgan (mmorgan) wrote :

These keyboard shortcuts are great accessibility improvements to the MARC editor. Pushed to main and rel_3_11. There were merge conflicts in rel_3_10 so they have not been pushed there.

Thanks Josh and Beth!

Changed in evergreen:
importance: Undecided → Medium
status: Confirmed → Fix Committed
milestone: none → 3.11.2
Michele Morgan (mmorgan)
Changed in evergreen:
assignee: Michele Morgan (mmorgan) → nobody
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.