Added alt's to <img>

This commit is contained in:
Antonin Del Fabbro 2025-01-08 19:26:42 +01:00 committed by Robert Wolff
commit c9b72d5b27
10 changed files with 24 additions and 24 deletions

View file

@ -21,7 +21,7 @@
{{else if not .IsTextFile}}
<div class="view-raw">
{{if .IsImageFile}}
<img src="{{$.RawFileLink}}">
<img src="{{$.RawFileLink}}" alt="">
{{else if .IsVideoFile}}
<video controls src="{{$.RawFileLink}}">
<strong>{{ctx.Locale.Tr "repo.video_not_supported_in_browser"}}</strong>