Bugzilla – Attachment 170880 Details for
Bug 37758
Accessibility: "translControl1" field is missing a descriptive label
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37758: Add descriptive labels for accessibility
Bug-37758-Add-descriptive-labels-for-accessibility.patch (text/plain), 2.87 KB, created by
Lucas Gass (lukeg)
on 2024-08-29 19:20:29 UTC
(
hide
)
Description:
Bug 37758: Add descriptive labels for accessibility
Filename:
MIME Type:
Creator:
Lucas Gass (lukeg)
Created:
2024-08-29 19:20:29 UTC
Size:
2.87 KB
patch
obsolete
>From b1028652480275540a9882de07fa3e4741a380b6 Mon Sep 17 00:00:00 2001 >From: Laura_Escamilla <laura.escamilla@bywatersolutions.com> >Date: Wed, 28 Aug 2024 19:45:48 +0000 >Subject: [PATCH] Bug 37758: Add descriptive labels for accessibility > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> >--- > koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >index c14b88f2214..09051280df8 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc >@@ -191,6 +191,7 @@ > <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform"> > <div class="row gx-2"> > <div class="col-sm-auto order-2 order-sm-2"> >+ <label for="masthead_search" class="visually-hidden">Search the catalog by:</label> > <select name="idx" id="masthead_search" class="form-select"> > [% IF ( ms_kw ) %] > <option selected="selected" value="" data-placeholder="[% t("Search the catalog by keyword") | html %]">Library catalog</option> >@@ -245,8 +246,10 @@ > > <div class="col order-4 order-sm-3"> > [% IF ( !Koha.Preference( 'OpacAddMastheadLibraryPulldown' ) == 1 && mylibraryfirst ) %] >+ <label for="translControl1" class="visually-hidden">Search the catalog by keyword in [% Branches.GetName( mylibraryfirst ) | html %]</label> > <input type="text" class="transl1 form-control form-control-filtered" id="translControl1" name="q" value="[% ms_value | html %]" data-bs-toggle="tooltip" data-bs-placement="top" title="Searching in [% Branches.GetName( mylibraryfirst ) | html %] only" placeholder="Search the catalog by keyword" /><span id="translControl"></span> > [% ELSE %] >+ <label for="translControl1" class="visually-hidden">Search the catalog by keyword</label> > <input type="text" class="transl1 form-control" id="translControl1" name="q" value="[% ms_value | html %]" placeholder="Search the catalog by keyword" /><span id="translControl"></span> > [% END # /ms_value %] > </div> <!-- /.col --> >-- >2.39.2
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 37758
:
170834
|
170835
|
170836
|
170844
|
170845
|
170846
|
170878
| 170880