Skip to content

Commit

Permalink
Add missing alt attributes on images
Browse files Browse the repository at this point in the history
I think the missing `srcset` on `<source>` elements in a `<picture>` might also be invalid HTML…
  • Loading branch information
charmander committed Aug 20, 2019
1 parent 813fb8a commit 1d926e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/common/thumbnail_grid_item.html
Expand Up @@ -61,9 +61,9 @@
</picture>
</noscript>
$else:
<img class="lazy" data-src="${display_url}" src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'/>" />
<img class="lazy" data-src="${display_url}" src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'/>" alt="" />
<noscript>
<img src="${display_url}" />
<img src="${display_url}" alt="" />
</noscript>
</a>

Expand Down

0 comments on commit 1d926e0

Please sign in to comment.