Adiciona alt texts vazios a imagens decorativas

This commit is contained in:
Hugo Peixoto 2023-03-31 17:13:17 +01:00
parent 7ca395d4b6
commit cdef64f81c
3 changed files with 9 additions and 10 deletions

View File

@ -22,7 +22,7 @@ científicas.
<div style="display: flex; align-items: center; margin: 2em 0;"> <div style="display: flex; align-items: center; margin: 2em 0;">
<img src="ep.svg" style="width: 60px; margin-right: 20px;"> <img src="ep.svg" style="width: 60px; margin-right: 20px;" alt="">
<p style="margin-bottom: 0px"> <p style="margin-bottom: 0px">
Participamos em grupos e comissões parlamentares tanto a nível nacional como Participamos em grupos e comissões parlamentares tanto a nível nacional como
@ -32,7 +32,7 @@ científicas.
</div> </div>
<div style="display: flex; align-items: center; margin: 2em 0;"> <div style="display: flex; align-items: center; margin: 2em 0;">
<img src="community.svg" style="width: 60px; margin-right: 20px;"> <img src="community.svg" style="width: 60px; margin-right: 20px;" alt="">
<p style="margin-bottom: 0px"> <p style="margin-bottom: 0px">
Fazemos parte da organização de eventos de divulgação de Software Livre, Fazemos parte da organização de eventos de divulgação de Software Livre,
@ -43,7 +43,7 @@ científicas.
</div> </div>
<div style="display: flex; align-items: center; margin: 2em 0;"> <div style="display: flex; align-items: center; margin: 2em 0;">
<img src="fsfe.svg" style="width: 60px; margin-right: 20px;"> <img src="fsfe.svg" style="width: 60px; margin-right: 20px;" alt="">
<p style="margin-bottom: 0px"> <p style="margin-bottom: 0px">
Somos uma organização associada da Somos uma organização associada da
@ -54,7 +54,7 @@ científicas.
</div> </div>
<div style="display: flex; align-items: center; margin: 2em 0; gap: 20px;"> <div style="display: flex; align-items: center; margin: 2em 0; gap: 20px;">
<img src="volunteer.svg" style="width: 60px;"> <img src="volunteer.svg" style="width: 60px;" alt="">
<p style="margin-bottom: 0px"> <p style="margin-bottom: 0px">
Vivemos de voluntariado, e estamos sempre à procura de Vivemos de voluntariado, e estamos sempre à procura de
@ -69,7 +69,7 @@ científicas.
<div style="display: flex; align-items: center; margin: 2em 0; gap: 20px;"> <div style="display: flex; align-items: center; margin: 2em 0; gap: 20px;">
<a href="{{< ref "/orgaos-sociais" >}}" style="display: block;"> <a href="{{< ref "/orgaos-sociais" >}}" style="display: block;">
<img src="orgaos-sociais.svg" style="width: 60px; display: block;"> <img src="orgaos-sociais.svg" style="width: 60px; display: block;" alt="">
</a> </a>
<p style="margin-bottom: 0px"> <p style="margin-bottom: 0px">
@ -80,7 +80,7 @@ científicas.
<div style="display: flex; align-items: center; margin: 2em 0; gap: 20px;"> <div style="display: flex; align-items: center; margin: 2em 0; gap: 20px;">
<a href="{{< ref "/documentacao" >}}" style="display: block;"> <a href="{{< ref "/documentacao" >}}" style="display: block;">
<img src="documentacao.svg" style="width: 60px; display: block;"> <img src="documentacao.svg" style="width: 60px; display: block;" alt="">
</a> </a>
<p style="margin-bottom: 0px"> <p style="margin-bottom: 0px">
@ -92,7 +92,7 @@ científicas.
<div style="display: flex; align-items: center; margin: 2em 0; gap: 20px;"> <div style="display: flex; align-items: center; margin: 2em 0; gap: 20px;">
<a href="{{< ref "/contactos" >}}" style="display: block;"> <a href="{{< ref "/contactos" >}}" style="display: block;">
<img src="contact.svg" style="width: 60px; display: block;"> <img src="contact.svg" style="width: 60px; display: block;" alt="">
</a> </a>
<p style="margin-bottom: 0px"> <p style="margin-bottom: 0px">
@ -101,7 +101,6 @@ científicas.
abertos a toda a comunidade. abertos a toda a comunidade.
</p> </p>
</div> </div>
</div> </div>
<!-- <!--

View File

@ -60,7 +60,7 @@
<li> <li>
<a href="{{ .Permalink }}"> <a href="{{ .Permalink }}">
{{ with (.Resources.ByType "image").GetMatch "*cover*" }} {{ with (.Resources.ByType "image").GetMatch "*cover*" }}
<img class='campaign-cover' src="{{ .Permalink }}" /> <img class='campaign-cover' src="{{ .Permalink }}" alt="" />
{{ end }} {{ end }}
</a> </a>
<h3 class='title'><a href="{{ .Permalink }}">{{ .Title }}</a></h3> <h3 class='title'><a href="{{ .Permalink }}">{{ .Title }}</a></h3>

View File

@ -7,6 +7,6 @@
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ with $cover }} {{ with $cover }}
<img class='event-cover' src="{{ .Permalink }}" /> <img class='event-cover' src="{{ .Permalink }}" alt="" />
{{ end }} {{ end }}
</a> </a>