Set aria-hidden attribute for icons
This commit is contained in:
parent
03f2fe3df9
commit
2a9970a078
@ -16,7 +16,7 @@
|
||||
{{ if .Truncated }}
|
||||
<footer>
|
||||
<ul class="pager">
|
||||
<li class="next"><a href="{{ .Permalink }}">Read more »</a></li>
|
||||
<li class="next"><a href="{{ .Permalink }}">Read more <span aria-hidden="true">»</span></a></li>
|
||||
</ul>
|
||||
</footer>
|
||||
{{ end }}
|
||||
|
@ -38,7 +38,7 @@
|
||||
{{ with .Site.Params.contact }}
|
||||
<div class="author-contact col-md-4">
|
||||
<a href="{{ . }}">
|
||||
<i class="fa fa-envelope-o"></i>
|
||||
<i class="fa fa-envelope-o" aria-hidden="true"></i>
|
||||
Contact me
|
||||
</a>
|
||||
</div>
|
||||
|
@ -6,7 +6,7 @@
|
||||
<meta property="og:title" content="{{ if ne .URL "/" }} {{ .Title }} · {{ end }} {{ .Site.Title }}" />
|
||||
{{ with .Site.Params.themecolor }}
|
||||
<meta name="theme-color" content="{{ . }}" />
|
||||
{{ end }}
|
||||
aria-hidden="true" {{ end }}
|
||||
<meta property="og:site_name" content="{{ .Site.Title }}" />
|
||||
<meta property="og:url" content="{{ .Permalink }}" />
|
||||
{{ with .Params.images }}{{ range first 5 . }}
|
||||
@ -52,13 +52,13 @@
|
||||
{{ partial "link.html" . }}
|
||||
{{ if ne .URL "/" }}
|
||||
<a href="{{ .Site.BaseURL }}" class="btn-header btn-back hidden-xs">
|
||||
<i class="fa fa-angle-left"></i>
|
||||
<i class="fa fa-angle-left" aria-hidden="true"></i>
|
||||
Home
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ with .RSSLink }}
|
||||
<a href="{{ . }}" class="btn-header btn-subscribe hidden-xs">
|
||||
<i class="fa fa-rss"></i>
|
||||
<i class="fa fa-rss" aria-hidden="true"></i>
|
||||
Subscribe
|
||||
</a>
|
||||
{{ end }}
|
||||
|
@ -3,10 +3,10 @@
|
||||
<hr />
|
||||
{{ end }}
|
||||
{{if .HasPrev}}
|
||||
<a class="newer-posts" href="{{ .Prev.URL }}">« Newer Posts</a>
|
||||
<a class="newer-posts" href="{{ .Prev.URL }}"><span aria-hidden="true">«</span> Newer Posts</a>
|
||||
{{end}}
|
||||
<span class="page-number">Page {{ .PageNumber }} of {{.TotalPages}}</span>
|
||||
{{if .HasNext}}
|
||||
<a class="older-posts" href="{{ .Next.URL }}">Older Posts »</a>
|
||||
<a class="older-posts" href="{{ .Next.URL }}">Older Posts <span aria-hidden="true">»</span></a>
|
||||
{{end}}
|
||||
</nav>
|
||||
|
Loading…
Reference in New Issue
Block a user