WebClient - Create MARC Record - Select Template Focus and Page Name

Bug #2031043 reported by Josh Stompro
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned
3.10
Fix Released
Medium
Unassigned

Bug Description

Breaking out the various chunks from bug #1862235 to hopefully help some of them get accepted faster.

/eg/staff/cat/catalog/new_bib

Focus on the template selector dropdown when interface loads.

This removes the need to use the mouse, and speeds up using the
interface. Pressing tab, then enter will submit
the form with the default template selected.

If the template needs to be changed, then pressing the first letter
of the template will switch between the different options.

This adds a directive named autoFocus to staff/cat/catalog/app.js,
so adding "auto-focus" to an element will cause that element
to have focus on load.

summary: - WebClient - Create MARC Record - Select Template Focus
+ WebClient - Create MARC Record - Select Template Focus and Page Name
Revision history for this message
Josh Stompro (u-launchpad-stompro-org) wrote :

Working branch at - user/stompro/lp2031043_create_marc_template_focus_pagename

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

I added in the commit to set the page name also.

Testing Notes:

The template selector dropdown should have focus when you load the Create MARC Record (Oh, Hi MARC) interface. Pressing tab and then enter should proceed if you have a template selected. Otherwise pressing the first letter of the template name should select it.

The page name should be "Create MARC Record".

Josh

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

Tested on Terran's server as follows:

--I opened the Create MARC Record interface; the focuse was on the template selector dropdown. But, I did not have a default template selected.
--I selected a default bib template
--I reopened the interface in a new tab
--The focus was on the template selector dropdown with the default template displaying
--I pressed "tab" and "enter" to load the interface--no mouse required!

Note: there is only one bib template available on this test server, so I could not test whether pressing the first letter of a template name would switch the template option. It would be great to be able to confirm that this works before signing off.

Changed in evergreen:
status: New → Confirmed
Michele Morgan (mmorgan)
Changed in evergreen:
assignee: nobody → Michele Morgan (mmorgan)
tags: added: ux-keyboard
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.

I confirmed that pressing the first letter of a template name will switch the template, so have added Beth's signoff with her permission.

Thanks Josh and Beth!

tags: added: signedoff
Changed in evergreen:
importance: Undecided → Medium
status: Confirmed → Fix Committed
milestone: none → 3.11.2
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.