From ecad81c17d85a4a5e8acfa9dbdb770c69d12d11c Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 13 Oct 2023 11:28:56 +0000 Subject: [PATCH] Bug 34624: [23.05.x] Add "for" attribute to label in header search forms which lack it This patch adds a "for" label to header search forms labels which lack it. To test, apply the patch and test the affected pages to confirm that clicking the label corresponding to the active search form can be clicked to move cursor focus to that input field. As you activate each search form, the cursor focus will automatically be moved to the input. Click outside of the field to remove the focus, and then click the label to test that it is correctly tied to the field. - Staff interface home page: - Checkout, Check in, Renew, Search patrons, and Search catalog. - Acquisitions: Vendor search and orders search - Acquisitions -> Vendor search -> Vendor -> Contracts: Contract search - Acquisitions -> Vendor search -> Vendor -> Basket -> Add to basket -> From a suggestion: Search suggestions - Authorities: Main heading ($a only), Main heading, All headings, and Entire record. - Administration -> Budgets: Search funds - Administration -> Cities & towns: City search - Administration -> Currencies: Currencies search - Administration -> Desks: Search desks * With UseCirculationDesks enabled - Administration -> Patron categories: Search patron categories - Administration -> System preferences: Search system preferences - Administration -> Z39.50 servers -> Z39.50 server search - Cataloging: Cataloging search - E-resource management: Search agreements, Search licenses, Search packages, and Search titles * With ERMModule enabled - Patrons -> Search patrons - Serials: Search subscriptions - Tools -> Notices & slips: Search notices --- .../prog/en/includes/acquisitions-search.inc | 10 +++--- .../prog/en/includes/authorities-search.inc | 32 +++++++++---------- .../prog/en/includes/budgets-admin-search.inc | 4 +-- .../prog/en/includes/cataloging-search.inc | 4 +-- .../prog/en/includes/catalogue-search-box.inc | 4 +-- .../prog/en/includes/checkin-search-box.inc | 4 +-- .../prog/en/includes/cities-admin-search.inc | 4 +-- .../en/includes/contracts-admin-search.inc | 4 +-- .../en/includes/currencies-admin-search.inc | 4 +-- .../prog/en/includes/desks-admin-search.inc | 4 +-- .../prog/en/includes/erm-search.inc | 16 +++++----- .../prog/en/includes/letters-search.inc | 4 +-- .../prog/en/includes/member-search-box.inc | 4 +-- .../prog/en/includes/patron-search-box.inc | 2 +- .../prog/en/includes/patrons-admin-search.inc | 6 ++-- .../prog/en/includes/prefs-admin-search.inc | 4 +-- .../prog/en/includes/renew-search-box.inc | 4 +-- .../prog/en/includes/serials-search.inc | 4 +-- .../en/includes/suggestions-add-search.inc | 4 +-- .../prog/en/includes/z3950-admin-search.inc | 4 +-- 20 files changed, 63 insertions(+), 63 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc index 825fa6444b..b86ae1b37d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/acquisitions-search.inc @@ -4,29 +4,29 @@ @@ -160,7 +160,7 @@
- +
@@ -168,13 +168,13 @@
- + - +
[% INCLUDE authtype %] [% INCLUDE operator %] [% INCLUDE orderby %] - +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc index 2b6bd0a431..a976fc2ed2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/budgets-admin-search.inc @@ -9,7 +9,7 @@
- +
@@ -18,7 +18,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc index 2c9ecb9fac..b42bb4fab0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc @@ -8,14 +8,14 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue-search-box.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue-search-box.inc index 066e52f078..c04e91e569 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue-search-box.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/catalogue-search-box.inc @@ -9,7 +9,7 @@ [% END %]
- +
@@ -23,7 +23,7 @@ [% END %]
- +
[% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search-box.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search-box.inc index ea1ba961bb..0d05feeeec 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search-box.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/checkin-search-box.inc @@ -7,13 +7,13 @@ [% END %]
- +
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc index dd0d582718..54f8a4a197 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cities-admin-search.inc @@ -5,14 +5,14 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc index ba68c9e241..59d3a906bc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/contracts-admin-search.inc @@ -5,14 +5,14 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc index fb5a54732f..19c6c2081c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/currencies-admin-search.inc @@ -5,14 +5,14 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/desks-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/desks-admin-search.inc index 6c988586d5..439d53a6ce 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/desks-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/desks-admin-search.inc @@ -5,14 +5,14 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/erm-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/erm-search.inc index 33551de90e..b93edb6628 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/erm-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/erm-search.inc @@ -5,48 +5,48 @@
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc index ebfec765b7..b4ecc44c59 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/letters-search.inc @@ -5,14 +5,14 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc index 2655e4162d..304427aa8e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/member-search-box.inc @@ -14,7 +14,7 @@
- +
@@ -27,7 +27,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc index 8211872696..95dbc6d4d8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search-box.inc @@ -19,7 +19,7 @@ [% END %]
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc index fb894e6d60..625fab6f6e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patrons-admin-search.inc @@ -5,14 +5,14 @@ diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc index c269579c55..bb3cd90717 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc @@ -7,14 +7,14 @@
- +
- + diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/renew-search-box.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/renew-search-box.inc index dd8d9b8c61..23952ace73 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/renew-search-box.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/renew-search-box.inc @@ -7,13 +7,13 @@ [% END %]
- +
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc index 812387dcf9..2c04e6eed2 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc @@ -10,7 +10,7 @@
- +
@@ -25,7 +25,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc index 010e1bcd15..60d8891c4e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/suggestions-add-search.inc @@ -8,7 +8,7 @@
- +
@@ -17,7 +17,7 @@
- +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc index 952fdab79f..0fa1b43ae9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/z3950-admin-search.inc @@ -5,14 +5,14 @@ -- 2.30.2