From a213a13a7cf8e34895f4b894a73df11e27f3738d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 25 Aug 2023 17:43:00 +0000 Subject: [PATCH] Bug 34624: 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 Signed-off-by: Pedro Amorim --- .../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 | 2 +- .../en/includes/suggestions-add-search.inc | 4 +-- .../prog/en/includes/z3950-admin-search.inc | 4 +-- 20 files changed, 62 insertions(+), 62 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 bb7cfddd61..386e53e3fd 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 e1703c53cb..0f58eb1532 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 33764470a4..c9bfd20c47 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 a689cc4b80..8a3bd5c200 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 2415d09f1b..265e2db7f2 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 c6c7072831..a8e6fcc721 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 3c274c9109..60bd879774 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 8112f72730..703e4882de 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 42543b2a1e..29b59b7db6 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 0bb3e3c9fb..c90b2a98af 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..4afae99423 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/serials-search.inc @@ -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 8c0f9dff76..9cc2b9d534 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