Commit aea7391c authored by Laurent Bachelier's avatar Laurent Bachelier

Add empty alt attribute

The alt is left empty, because we already give a description of the
picture in the figcaption tag. Adding an alt content would make screen
readers say it twice.
Since the image and its caption are in the same link tag, we do not have
a textless link either.

fixes #744
parent 41364411
......@@ -13,7 +13,7 @@
<li class="hmedia">
<a rel="enclosure original" type="${thumb.get_mimetype() | h}" href="${thumb.get_url() | n,U,h}" title="${thumb.get_name() | h}">
<figure>
<span class="frame"><img class="thumbnail photo${thumb.get_extra_classes()}" src="${thumb.get_thumb_url() | n,U,h}" /></span>
<span class="frame"><img class="thumbnail photo${thumb.get_extra_classes()}" src="${thumb.get_thumb_url() | n,U,h}" alt="" /></span>
<figcaption>
<span class="fn">${thumb.get_pretty_name() | h}</span>
</figcaption>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment