diff --git a/app/views/catalog/_thumbnail_list_default.html.erb b/app/views/catalog/_thumbnail_list_default.html.erb index a130be400e..35e6cb0694 100644 --- a/app/views/catalog/_thumbnail_list_default.html.erb +++ b/app/views/catalog/_thumbnail_list_default.html.erb @@ -1,10 +1,10 @@ <% model = document.hydra_model %>
<% if model == Hyrax::PcdmCollection || model < Hyrax::PcdmCollection %> - <%= document_presenter(document)&.thumbnail&.thumbnail_tag({}, suppress_link: true) %> + <%= document_presenter(document)&.thumbnail&.thumbnail_tag({}, suppress_link: true, alt: document.title_or_label) %> <% else %>
- <%= document_presenter(document)&.thumbnail&.thumbnail_tag %> + <%= document_presenter(document)&.thumbnail&.thumbnail_tag(alt: document.title_or_label) %>
<% end %>