Skip to content
Permalink
Browse files

Add missing `alt` attributes on images

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 1d926e04910344cebd73951375b52498783f0261
Showing with 2 additions and 2 deletions.
  1. +2 −2 templates/common/thumbnail_grid_item.html
@@ -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>

0 comments on commit 1d926e0

Please sign in to comment.
You can’t perform that action at this time.