mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2025-01-15 21:36:42 +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>
|
</div>
|
||||||
{{ if $illustration }}
|
{{ if $illustration }}
|
||||||
<div class="col-md-4 col-xs-12 my-auto">
|
<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>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ if $illustration }}
|
{{ if $illustration }}
|
||||||
<div class="col-md-4 col-xs-12 my-auto">
|
<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>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="col-md-8 col-xs-12 my-auto px-5">
|
<div class="col-md-8 col-xs-12 my-auto px-5">
|
||||||
|
|
Loading…
Reference in a new issue