mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-24 14:49:22 -05:00
accessibility : add aria-label to entry-link
This commit is contained in:
parent
26aa913367
commit
519f23f8e9
@ -24,7 +24,7 @@
|
||||
· {{ end }}
|
||||
{{- .Date.Format "January 2, 2006" -}}
|
||||
</div>
|
||||
<a class="entry-link" href="{{ .Permalink }}"></a>
|
||||
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
@ -49,7 +49,7 @@
|
||||
{{ .ReadingTime }}{{ i18n "read_time" | default "min read" }}{{ end }}
|
||||
{{ if or .Params.author .Site.Params.author }} . {{ .Params.author | default .Site.Params.author }}{{ end }}
|
||||
</footer>
|
||||
<a class="entry-link" href="{{ .Permalink }}"></a>
|
||||
<a class="entry-link" aria-label="post link to {{ .Title | plainify }}" href="{{ .Permalink }}"></a>
|
||||
</article>
|
||||
{{- end }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user