[Koha-bugs] [Bug 29066] Remove text in OPAC search form and use Font Awesome icons

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Sep 21 00:55:01 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29066

--- Comment #1 from Fridolin Somers <fridolin.somers at biblibre.com> ---
Created attachment 125084
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125084&action=edit
Bug 29066: Remove text in OPAC search form and use Font Awesome icons

In modern front-end websites, first think you see in header region is an large
input text with a search icon.
No need to say it is a search form.
We still tell it in 'title' attribut for accessibility.

This patch removes 'Search' text.
If 'my library first' feature is enabled, shows a text in title of a
question mark icon.
In submit button, replaces 'Go' with a seach icon and add title
'Search'.

Test plan :
1)
1.1) Set system preferences :
  OpacAddMastheadLibraryPulldown to 'Add'
  SearchMyLibraryFirst to 'Don't limit'
1.2) Go to OPAC main page
1.3) You don't see 'Search' anymore
1.4) You see in submit button an icon
1.5) Move mouse over submit button to see tooltip text 'Search'
2)
2.1) Set system preferences :
  OpacAddMastheadLibraryPulldown to 'Don't add'
  SearchMyLibraryFirst to 'Limit'
2.2) Go to OPAC main page
2.3) Log in
2.4) You don't see text 'Search (in <library name>) only'
2.5) You see a question mark icon
2.6) Move mouse over submit button to see tooltip text 'Search (in <library
name>) only'

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list