Bugzilla – Attachment 13106 Details for
Bug 8712
We should use WAI-ARIA guidelines to help with accessibility -OMNIBUS bug
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
bug 8712 - adding 'and' label for options in advanced search with fewer options
bug-8712---adding-and-label-for-options-in-advance.patch (text/plain), 2.01 KB, created by
Srikanth Dhondi
on 2012-10-29 22:52:09 UTC
(
hide
)
Description:
bug 8712 - adding 'and' label for options in advanced search with fewer options
Filename:
MIME Type:
Creator:
Srikanth Dhondi
Created:
2012-10-29 22:52:09 UTC
Size:
2.01 KB
patch
obsolete
>From dc41f18d41351867641678332bda1ed06a3a368e Mon Sep 17 00:00:00 2001 >From: Srikanth Dhondi <srikanth@catalyst.net.nz> >Date: Tue, 30 Oct 2012 11:17:52 +1300 >Subject: [PATCH] bug 8712 - adding 'and' label for options in advanced search > with fewer options > >The "and" label not only improves the accessibility but also gives the user an idea that the operation between multiple search fields is a boolean "AND" by default. >--- > .../opac-tmpl/prog/en/modules/opac-advsearch.tt | 22 +++++++++++++------- > 1 file changed, 15 insertions(+), 7 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt >index 55eea18..e51e820 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-advsearch.tt >@@ -56,15 +56,23 @@ > <p> > [% IF ( expanded_options ) %] > [% IF ( search_box.boolean ) %] >- <select name="op"> >- <option value="and" selected="selected">and</option> >- <option value="or">or</option> >- <option value="not">not</option> >- </select> >+ <select name="op"> >+ <option value="and" selected="selected">and</option> >+ <option value="or">or</option> >+ <option value="not">not</option> >+ </select> >+ [% END %] >+ [% ELSE %] >+ <label for="search-field_[% loop.index %]"> >+ [% IF loop.index == 0 %] >+ >+ [% ELSE %] >+ and >+ [% END %] >+ </label> > [% END %] >- [% END %] > [% IF ( expanded_options ) %][% left_content %][% END %] >- <select name="idx"> >+ <select name="idx" id="search-field_[% loop.index %]"> > <option value="kw">Keyword</option> > <option value="su,wrdl">Subject</option> > [% IF ( expanded_options ) %] >-- >1.7.9.5
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 8712
:
12869
|
12871
|
12891
|
13030
|
13065
|
13088
|
13090
|
13091
|
13092
|
13093
|
13106
|
13107
|
14300
|
18784
|
18785