accessibility : add aria-label to entry-link
This commit is contained in:
parent
26aa913367
commit
519f23f8e9
|
@ -24,7 +24,7 @@
|
||||||
· {{ end }}
|
· {{ end }}
|
||||||
{{- .Date.Format "January 2, 2006" -}}
|
{{- .Date.Format "January 2, 2006" -}}
|
||||||
</div>
|
</div>
|
||||||
<a class="entry-link" href="{{ .Permalink }}"></a>
|
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
{{ .ReadingTime }}{{ i18n "read_time" | default "min read" }}{{ end }}
|
{{ .ReadingTime }}{{ i18n "read_time" | default "min read" }}{{ end }}
|
||||||
{{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
|
{{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
|
||||||
</footer>
|
</footer>
|
||||||
<a class="entry-link" href="{{ .Permalink }}"></a>
|
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
||||||
</article>
|
</article>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue