Bugzilla – Attachment 107915 Details for
Bug 25954
Header search forms should be labeled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25954: (Follow-up) Correct label "for" attribute
Bug-25954-Follow-up-Correct-label-for-attribute.patch (text/plain), 2.34 KB, created by
Owen Leonard
on 2020-08-06 19:13:43 UTC
(
hide
)
Description:
Bug 25954: (Follow-up) Correct label "for" attribute
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2020-08-06 19:13:43 UTC
Size:
2.34 KB
patch
obsolete
>From 745e4e53d5b2dc5b9e3e5e4a977801df7ab18fc1 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 6 Aug 2020 19:09:43 +0000 >Subject: [PATCH] Bug 25954: (Follow-up) Correct label "for" attribute > >This patch updates a couple of search include forms to change the "for" >attribute of the label. Although "idx" is the first field in this >situation, the label's text applies to the keyword field so it should >give focus to the keyword field. >--- > koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc >index dfe202309f..af5821d32e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cat-search.inc >@@ -27,7 +27,7 @@ > <div id="catalog_search" class="residentsearch"> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %] >- <label class="tip" for="idx">Enter search keywords:</label> >+ <label class="tip" for="search-form">Enter search keywords:</label> > [% INCLUDE 'search_indexes.inc' %] > [% ELSE %] > <label class="tip" for="search-form">Enter search keywords:</label> >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 8eedbee2bb..20c7d9d2c3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cataloging-search.inc >@@ -33,7 +33,7 @@ > <div id="catalog_search" class="residentsearch"> > <form action="/cgi-bin/koha/catalogue/search.pl" method="get" id="cat-search-block"> > [% IF ( Koha.Preference('IntranetCatalogSearchPulldown') ) %] >- <label class="tip" for="idx">Enter search keywords:</label> >+ <label class="tip" for="search-form">Enter search keywords:</label> > [% INCLUDE 'search_indexes.inc' %] > [% ELSE %] > <label class="tip" for="search-form">Enter search keywords:</label> >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 25954
:
106659
|
107896
|
107900
|
107915
|
107986
|
113747
|
113748
|
113749
|
114681
|
114682
|
114683
|
114790