[Koha-bugs] [Bug 8712] We should use WAI-ARIA guidelines to help with accessibility -OMNIBUS bug

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 29 04:59:37 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8712

Srikanth Dhondi <srikanth at catalyst.net.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #13090|0                           |1
        is obsolete|                            |

--- Comment #22 from Srikanth Dhondi <srikanth at catalyst.net.nz> ---
Comment on attachment 13090
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13090
bug 8712 - changed search results heading from <strong> to <h4>

>From a89f10f6952b81ed3852fce1eb3394eb5e4eb573 Mon Sep 17 00:00:00 2001
>From: Srikanth Dhondi <srikanth at catalyst.net.nz>
>Date: Mon, 29 Oct 2012 14:25:43 +1300
>Subject: [PATCH] bug 8712 - changed search results heading from <strong> to
> <h4>
>
>1) Screen reader users can navigate a webpage using headers, this change enables
>   that feature.
>2) Added a new class "header-inline" to opac.css and used it with the above <h4>
>   tag to prevent the line change between the header and subscribe feed image that follows it.
>---
> koha-tmpl/opac-tmpl/prog/en/css/opac.css          |    3 +++
> koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc |    4 ++--
> 2 files changed, 5 insertions(+), 2 deletions(-)
>
>diff --git a/koha-tmpl/opac-tmpl/prog/en/css/opac.css b/koha-tmpl/opac-tmpl/prog/en/css/opac.css
>index 7ab95e0..647104e 100644
>--- a/koha-tmpl/opac-tmpl/prog/en/css/opac.css
>+++ b/koha-tmpl/opac-tmpl/prog/en/css/opac.css
>@@ -2820,3 +2820,6 @@ body#opac-main #opacmainuserblockmobile {
> .tagweight9 {
>     font-size: 30px;
> }
>+.header-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 b0793dc..4e40fb7 100644
>--- a/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
>+++ b/koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc
>@@ -169,10 +169,10 @@
> </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 ) %]<h4 class="heading-inline">Your search returned [% total |html %] results.</h4> [% 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 %]&amp;count=[% countrss |html %]&amp;sort_by=acqdate_dsc&amp;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>
>+<h4>No results found!</h4>
> <p>
>     [% IF ( searchdesc ) %]
>     No results found for that in [% LibraryName %] catalog. <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-search.pl?[% query_cgi |html %][% limit_cgi |html %]&amp;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>
>-- 
>1.7.9.5

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


More information about the Koha-bugs mailing list