mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2025-01-15 13:26:37 +00:00
fix: set empty alt for illustrations to be ignored by screenreaders
This commit is contained in:
parent
4f507f35c6
commit
93c646bca6
|
@ -11,13 +11,13 @@
|
|||
</div>
|
||||
{{ if $illustration }}
|
||||
<div class="col-md-4 col-xs-12 my-auto">
|
||||
<img class="card-img-top rounded-img" src="{{ $illustration.RelPermalink }}">
|
||||
<img class="card-img-top rounded-img" src="{{ $illustration.RelPermalink }}" alt="">
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{ if $illustration }}
|
||||
<div class="col-md-4 col-xs-12 my-auto">
|
||||
<img class="card-img-top rounded-img" src="{{ $illustration.RelPermalink }}">
|
||||
<img class="card-img-top rounded-img" src="{{ $illustration.RelPermalink }}" alt="">
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="col-md-8 col-xs-12 my-auto px-5">
|
||||
|
|
Loading…
Reference in a new issue