From 12581d3cd6f1d88e2d4761f733678e4029ec837b Mon Sep 17 00:00:00 2001 From: Srikanth Dhondi Date: Mon, 29 Oct 2012 16:10:15 +1300 Subject: [PATCH] bug 8712 - added alternative text to cover images shown in the search results This text informs screen reader users that the link is a cover image. At the moment, orca reads this link as "opac detail link image", which is confusing. Moreover, the images in individual records already contain 'alt="Cover Image"' attribute, the present addition will only make it more consistent. Also, according to WAI, "Images should include equivalent alternative text in the markup/code"[1]. References: 1) http://www.w3.org/standards/webdesign/accessibility --- .../opac-tmpl/prog/en/modules/opac-results.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 53e6e4e..8b19a89 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(){ [% IF ( OPACLocalCoverImages ) %][% END %] - [% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %][% ELSE %]No cover image available[% END %][% END %] + [% IF ( OPACAmazonCoverImages ) %][% IF ( SEARCH_RESULT.normalized_isbn ) %]Cover Image[% ELSE %]No cover image available[% END %][% END %] [% IF ( SyndeticsEnabled ) %] [% IF ( SyndeticsCoverImages ) %] -- 1.7.9.5