]> git.koha-community.org Git - koha.git/commit
Bug 35329: (follow-up) Label changes for improved accessibility
authorOwen Leonard <oleonard@myacpl.org>
Wed, 10 Jan 2024 13:22:28 +0000 (13:22 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 1 Mar 2024 10:01:19 +0000 (11:01 +0100)
commitfc5e0fa8b4cda93b7381ad107a7f63ecaf07e140
treef670da8baa52e1fe934197dfd01850ccedda14fb
parentafd014710f5ded1bc0c42656cccc711bc6828502
Bug 35329: (follow-up) Label changes for improved accessibility

This patch alters the patron search form so that <label>s wrap the
<input> fields, allowing the label to be clickable without having to
associate it with a unique id. CSS has been modified to accommodate this
change.

The patch also adds missing Bootstrap classes to the "Clear" button, and
swaps out the "hint" class for the "note" class on the permissions
information ("Only staff with superlibrarian or acquisitions
permissions...").

After this patch, form field labels in the patron search modal should be
clickable to give focus to the field (except for Sort 1 and Sort 2 --
label don't work that way with Select2).

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss
koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc