aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates/search_macros.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-10-14 02:22:57 -0700
committerBryan Newbold <bnewbold@archive.org>2020-10-14 02:22:57 -0700
commit26e5245b9fe387ea82c07d9723a5313ccbd945b1 (patch)
treec3383bf1f675bc7de13ebb9fb619269c9c943ef0 /fatcat_scholar/templates/search_macros.html
parent7f9c2bd6b3ce685a2a8751fb392d1a0c2f674a6b (diff)
downloadfatcat-scholar-26e5245b9fe387ea82c07d9723a5313ccbd945b1.tar.gz
fatcat-scholar-26e5245b9fe387ea82c07d9723a5313ccbd945b1.zip
web: add some img alt tags
Diffstat (limited to 'fatcat_scholar/templates/search_macros.html')
-rw-r--r--fatcat_scholar/templates/search_macros.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index 3899144..a10c2a1 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -260,8 +260,8 @@
{% if paper.fulltext and paper.fulltext.access_url %}
{% if paper.fulltext.thumbnail_url %}
<div class="ui serp card" style="margin-bottom: 0.2em;">
- <a class="image" target="_blank" rel="noopener" href="{{ paper.fulltext.access_url}}">
- <img src="{{ paper.fulltext.thumbnail_url }}">
+ <a class="image" target="_blank" rel="noopener" href="{{ paper.fulltext.access_url}}" alt="{{ _('fulltext PDF download') }}">
+ <img src="{{ paper.fulltext.thumbnail_url }}" alt="{{ _('fulltext thumbnail') }}">
</a>
</div>
{% else %}