Blank alt text for post images
These aren't strictly required for screen reading
This commit is contained in:
parent
f026a4b21b
commit
92ea26dd20
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
|||
{{ .Scratch.Set "image" $unsplash_data.urls.full }}
|
||||
{{ end }}
|
||||
|
||||
<img class="mb-3 header-image" src='{{ .Scratch.Get "image" }}' />
|
||||
<img class="mb-3 header-image" src='{{ .Scratch.Get "image" }}' alt="" />
|
||||
{{ end }}
|
||||
|
||||
{{ partial "breadcrumbs/index.html" . }}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
{{ $unsplash_data := (getJSON "https://api.unsplash.com/photos/" $unsplash_id "?" $query )}}
|
||||
{{ .Scratch.Set "image" $unsplash_data.urls.thumb }}
|
||||
{{ end }}
|
||||
<img src='{{ .Scratch.Get "image" }}' decoding="async" loading="lazy" referrerpolicy="no-referrer" />
|
||||
<img src='{{ .Scratch.Get "image" }}' decoding="async" loading="lazy" referrerpolicy="no-referrer" alt="" />
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue