templates: add empty alt attributes to newsroll images
authorFrédéric Péters <fpeters@0d.be>
Wed, 22 Apr 2020 19:28:47 +0000 (21:28 +0200)
committerFrédéric Péters <fpeters@0d.be>
Wed, 22 Apr 2020 19:28:47 +0000 (21:28 +0200)
panikweb_templates/templates/news/roll.html

index dde2a92..8f33e2f 100644 (file)
@@ -29,7 +29,7 @@
                                    <li style="width:30%;" class="num-{{ forloop.counter }} padded">
                                            <button class="inBlock" data-about="#newsRollId-{{ focus.id }}">
                                                    {% thumbnail focus.content_image "160x120" crop="50% 25%" as im %}
-                                                   <img style="width:95%;" src="{{im.url}}" />
+                                                   <img alt="" style="width:95%;" src="{{im.url}}" />
                                                    {% endthumbnail %}
                                            </button>
                                    </li>