a11y: mark illustrative images with empty alt attribute main
authorFrédéric Péters <fpeters@0d.be>
Wed, 20 Apr 2022 20:40:39 +0000 (22:40 +0200)
committerFrédéric Péters <fpeters@0d.be>
Wed, 20 Apr 2022 20:40:39 +0000 (22:40 +0200)
panikweb_esperanzah/templates/archives.html
panikweb_esperanzah/templates/combo/cells/topik/link-cell.html
panikweb_esperanzah/templates/emissions/emission_detail.html
panikweb_esperanzah/templates/emissions/episode_detail.html

index 58afe78605a21fd8b9c7603dc2b8c26bbfc1ec52..3381ad2a70ea7d474ac2068273a46435a9da47be 100644 (file)
@@ -29,9 +29,9 @@
                <div class="image">
                         <div class="img">
                        {% thumbnail diffusion.episode.image "400x400" crop="50% 50%" as im %}
-                       <img loading="lazy" src="{{im.url}}">
+                       <img alt="" loading="lazy" src="{{im.url}}">
                         {% empty %}
-                        <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8nez3HwAGugKtHMIYIwAAAABJRU5ErkJggg==" height="200" width="200">
+                        <img alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8nez3HwAGugKtHMIYIwAAAABJRU5ErkJggg==" height="200" width="200">
                        {% endthumbnail %}
                         </div>
                </div>
index 886a49075a96015859a168518bfcf8e8bb8dda3f..b85526fd27314a087e3e8cebf23417cceb658bf9 100644 (file)
@@ -4,7 +4,7 @@
 <span class="logo">
 {% thumbnail cell.link_page.picture "480x320" crop="50% 25%" as im %}
 <div class="logo">
-<img class="normal" src="{{im.url}}"/>
+<img alt="" class="normal" src="{{im.url}}"/>
 </div>
 {% endthumbnail %}
 </span>
index 259eaf70fc60b775233d0dce0f5be15eb956704f..c71a22be2724f6390a1eac79a1df239866438847 100644 (file)
@@ -52,9 +52,9 @@
                 <div class="image">
                         <div class="img">
                        {% thumbnail emission.image "450x450" crop="50% 50%" as im %}
-                        <img src="{{im.url}}">
+                        <img alt="" src="{{im.url}}">
                         {% empty %}
-                        <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8nez3HwAGugKtHMIYIwAAAABJRU5ErkJggg==" height="450" width="450">
+                        <img alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8nez3HwAGugKtHMIYIwAAAABJRU5ErkJggg==" height="450" width="450">
                        {% endthumbnail %}
                         </div>
                </div>
@@ -80,9 +80,9 @@
                        <div class="image">
                                 <div class="img">
                                {% thumbnail episode.image "240x240" crop="50% 50%" as im %}
-                               <img loading="lazy" src="{{im.url}}">
+                               <img alt="" loading="lazy" src="{{im.url}}">
                                 {% empty %}
-                                <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8nez3HwAGugKtHMIYIwAAAABJRU5ErkJggg==" height="240" width="240">
+                                <img alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8nez3HwAGugKtHMIYIwAAAABJRU5ErkJggg==" height="240" width="240">
                                {% endthumbnail %}
                                 </div>
                        </div>
index 31c2146d4ec5f561eb501e6c5bde329d866eb7a4..74b7943a3b35350f64f1143de1ae8aa7c719af6d 100644 (file)
@@ -53,9 +53,9 @@
                <div class="image">
                         <div class="img">
                        {% thumbnail episode.image "450x450" crop="50% 50%" as im %}
-                        <img src="{{im.url}}">
+                        <img alt="" src="{{im.url}}">
                         {% empty %}
-                        <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8nez3HwAGugKtHMIYIwAAAABJRU5ErkJggg==" height="450" width="450">
+                        <img alt="" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8nez3HwAGugKtHMIYIwAAAABJRU5ErkJggg==" height="450" width="450">
                        {% endthumbnail %}
                         </div>
                </div>