Bugzilla – Attachment 12871 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
Bug-8712.patch (text/plain), 4.71 KB, created by
Srikanth Dhondi
on 2012-10-17 03:13:56 UTC
(
hide
)
Description:
Bug 8712
Filename:
MIME Type:
Creator:
Srikanth Dhondi
Created:
2012-10-17 03:13:56 UTC
Size:
4.71 KB
patch
obsolete
>From 6808721f99b6429719fdbc6b833d479aae4436b7 Mon Sep 17 00:00:00 2001 >From: Srikanth Dhondi <srikanth@catalyst.net.nz> >Date: Wed, 17 Oct 2012 16:09:54 +1300 >Subject: [PATCH] Bug 8712 > >1) Added labels to Search history and x links in the top frame >2) Changed search results message from <strong> to <h3> >3) Added the 'alt="cover image"' message to those entries that have cover images >--- > koha-tmpl/opac-tmpl/prog/en/css/opac.css | 8 ++++++++ > koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc | 5 +++-- > .../opac-tmpl/prog/en/modules/opac-results.tt | 2 +- > 3 files changed, 12 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >index 92f8b02..63ecf02 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css >+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css >@@ -2808,3 +2808,11 @@ body#opac-main #opacmainuserblockmobile { > .tagweight9 { > font-size: 30px; > } >+.off-left { >+position: absolute; >+left: -999px; >+width: 990px; >+} >+.heading-inline { >+ display: inline; >+} >diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >index a82dc42..005a230 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >+++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc >@@ -8,7 +8,8 @@ > > [% END %] > [% IF ( ShowOpacRecentSearchLink ) %] >- <li><a href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> [<a class="logout" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="return confirm(_('Are you sure you want to delete your search history?'));">x</a>]</li> >+ <li><label for="view-search-history" class="off-left">View Search History</label> >+ <a href="/cgi-bin/koha/opac-search-history.pl" id="view-search-history" title="View your search history">Search history</a> [<label for="delete-search-history" class="off-left">Delete Search History</label><a class="logout" id="delete-search-history" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history" onclick="return confirm(_('Are you sure you want to delete your search history?'));">x</a>]</li> > [% END %] > [% IF ( loggedinusername ) %]<li><a class="logout" id="logout" href="/cgi-bin/koha/opac-main.pl?logout.x=1">Log Out</a></li>[% END %] > </ul> >@@ -169,7 +170,7 @@ > </div> > </div> > <div id="breadcrumbs" class="yui-g"> >-[% IF ( searchdesc ) %]<p>[% IF ( total ) %]<strong>Your search returned [% total |html %] results.</strong> [% IF ( related ) %] (related searches: [% FOREACH relate IN related %][% relate.related_search %][% END %]). [% END %] >+[% IF ( searchdesc ) %]<p>[% IF ( total ) %]<h3 class="heading-inline">Your search returned [% total |html %] results.</h3> [% IF ( related ) %] (related searches: [% FOREACH relate IN related %][% relate.related_search %][% END %]). [% END %] > <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&count=[% countrss |html %]&sort_by=acqdate_dsc&format=rss2" class="rsssearchlink"><img src="/opac-tmpl/prog/images/feed-icon-16x16.png" alt="Subscribe to this search" title="Subscribe to this search" border="0" class="rsssearchicon"/></a> > [% ELSE %] > <strong>No results found!</strong> >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt >index a3c09e2..b315de0 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-results.tt >@@ -623,7 +623,7 @@ $(document).ready(function(){ > </td><td> > <a class="p1" href="/cgi-bin/koha/opac-detail.pl?biblionumber=[% SEARCH_RESULT.biblionumber %]"> > [% IF ( OPACLocalCoverImages ) %]<span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% SEARCH_RESULT.biblionumber %]" id="local-thumbnail[% loop.count %]"></span>[% END %] >- [% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="" class="thumbnail" />[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %] >+ [% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]<img src="http://images.amazon.com/images/P/[% SEARCH_RESULT.normalized_isbn %].01.TZZZZZZZ.jpg" alt="Cover Image" class="thumbnail" />[% ELSE %]<span class="no-image">No cover image available</span>[% END %][% END %] > > [% IF ( SyndeticsEnabled ) %] > [% IF ( SyndeticsCoverImages ) %] >-- >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