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