Bugzilla – Attachment 13092 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]
[DOES NOT APPLY] bug 8712 - added alternative text to cover images shown in the search results
bug-8712---added-alternative-text-to-cover-images-.patch (text/plain), 2.17 KB, created by
Srikanth Dhondi
on 2012-10-29 03:31:29 UTC
(
hide
)
Description:
[DOES NOT APPLY] bug 8712 - added alternative text to cover images shown in the search results
Filename:
MIME Type:
Creator:
Srikanth Dhondi
Created:
2012-10-29 03:31:29 UTC
Size:
2.17 KB
patch
obsolete
>From 12581d3cd6f1d88e2d4761f733678e4029ec837b Mon Sep 17 00:00:00 2001 >From: Srikanth Dhondi <srikanth@catalyst.net.nz> >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(){ > </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