diff options
author | zwbetz-gh <zwbetz@gmail.com> | 2020-06-11 04:01:12 +0300 |
---|---|---|
committer | zwbetz-gh <zwbetz@gmail.com> | 2020-06-11 04:01:12 +0300 |
commit | 5e2ff37e94d1229ab801a7f2ef3aef3513726127 (patch) | |
tree | e83b0455a552aa76d1e0cceba66684f779b3d475 /layouts | |
parent | f6708d1cf4a987f52d1820439f809323ee1ea788 (diff) |
fix accessibility issues
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/post/single.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/post/single.html b/layouts/post/single.html index 6ef8e4e..06466c0 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -10,18 +10,18 @@ <div class="date"> {{ $dateFormat := $.Site.Params.dateFormat | default "Jan 2, 2006" }} {{ $publishDate := .PublishDate }} - <strong aria-hidden="true">{{ T "publish_date" }} </strong>{{ $publishDate.Format $dateFormat }} + <strong>{{ T "publish_date" }} </strong>{{ $publishDate.Format $dateFormat }} {{ with .Lastmod }} {{ if gt . $publishDate }} <br> - <strong aria-hidden="true">{{ T "last_updated" }} </strong>{{ .Format $dateFormat }} + <strong>{{ T "last_updated" }} </strong>{{ .Format $dateFormat }} {{ end }} {{ end }} </div> {{ with .Params.tags }} <div class="tags"> - <strong aria-hidden="true">{{ T "tags" }} </strong> + <strong>{{ T "tags" }} </strong> <ul aria-label="{{ T "aria_label_tags" }}"> {{ range . }} <li> |