~evergreen-bugs/evergreen/rel_3_11

« back to all changes in this revision

Viewing changes to Open-ILS/src/templates-bootstrap/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:
99
99
                        </div>
100
100
                        <!--Cover Image-->
101
101
                        <div class='col-sm-2 text-center' id="result[% rec.bre_id %]">
102
 
                            <a href="[% mkurl(record_url_path, add_parms, del_parms); %]"><img alt="[% attrs.title | html;%]"
 
102
                            <a href="[% mkurl(record_url_path, add_parms, del_parms); %]"><img alt=""
103
103
                            id='item_jacket[% rec.bre_id %]' class='my-2 img-fluid'
104
104
                            src='[% ctx.media_prefix %]/opac/extras/ac/jacket/large/r/[% rec.bre_id | uri %]' style="max-height:150px;" /></a><br />
105
105
                        </div>
120
120
                                    <span class="mx-2">
121
121
                                        [%- IF attrs.format_label; %]
122
122
                                            [% FOR format IN attrs.all_formats %]
123
 
                                                <img alt="[% format.label | html %]"
124
 
                                                    src="[% format.icon %]" />
 
123
                                                <img alt="" src="[% format.icon %]" />
125
124
                                                [% format.label | html %]
126
125
                                            [% END %]
127
126
                                        [%- END %]