~evergreen-bugs/evergreen/rel_3_11

« back to all changes in this revision

Viewing changes to Open-ILS/src/templates/opac/parts/result/table.tt2

  • Committer: Terran McCanna
  • Author(s): Stephanie Leary
  • Date: 2023-11-20 22:31:37 UTC
  • Revision ID: git-v1:0a256fe64ef91644f2feced5287db9273e4012a7
LP1965985 Empty alt text for OPAC decorative images

Removes alt text from images that are decorative, including book covers
and format icons, from the OPAC and BOOPAC search results pages. Since
all of these images appear next to text equivalents that repeat the same
information, these alt attributes were redundant.

Signed-off-by: Stephanie Leary <stephanie.leary@equinoxoli.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
                                            </td>
116
116
                                            <td class='result_table_pic_header'>
117
117
                                                <a href="[% mkurl(record_url_path, add_parms, del_parms); %]">
118
 
                                                 <img alt="[% l('Book cover') %]"
 
118
                                                 <img alt=""
119
119
                                                        name='item_jacket' class='result_table_pic' width="55"
120
120
                                                        src='[% ctx.media_prefix %]/opac/extras/ac/jacket/small/r/[% rec.bre_id | uri %]' /></a><br />
121
121
                                            </td>
185
185
                                                    [%- IF attrs.format_label; %]
186
186
                                                        [% FOR format IN attrs.all_formats %]
187
187
                                                            <img title="[% format.label | html %]" 
188
 
                                                                alt="[% format.label | html %]" 
189
 
                                                                src="[% format.icon %]" /> 
 
188
                                                                alt="" src="[% format.icon %]" /> 
190
189
                                                            [% format.label | html %]
191
190
                                                        [% END %]
192
191
                                                    [%- END %]
422
421
                                                    [% END %]
423
422
                                                    [% IF rec.user_circulated %]
424
423
                                                    <div class="result_item_circulated">
425
 
                                                        <img src="[% ctx.media_prefix %]/images/green_check.png[% ctx.cache_key %]" alt="[% l('Checked Out Before') %]"/>
 
424
                                                        <img src="[% ctx.media_prefix %]/images/green_check.png[% ctx.cache_key %]" alt=""/>
426
425
                                                        <span>[% l('I have checked this item out before') %]</span>
427
426
                                                    </div>
428
427
                                                    [% END %]
529
528
                                                                href="[% ctx.ext_proto %]://contentcafe2.btol.com/ContentCafeClient/ContentCafe.aspx?UserID=[%- 
530
529
                                                                    ENV.OILS_CONTENT_CAFE_USER %]&amp;Password=[%-
531
530
                                                                    ENV.OILS_CONTENT_CAFE_PASS %]&amp;ItemKey=[% ident | uri %]&amp;Options=Y" rel="noopener nofollow" vocab="">
532
 
                                                                <img src='[% ctx.media_prefix %]/images/starz.png[% ctx.cache_key %]' alt="[% l('Ratings Icon') %]"/>
 
531
                                                                <img src='[% ctx.media_prefix %]/images/starz.png[% ctx.cache_key %]' alt=""/>
533
532
                                                                <span class="results_reviews">[% l('Reviews &amp; More') %]</span>
534
533
                                                            </a>
535
534
                                                        </div>