Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/urjaacharya/redgood.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrja Acharya <urja.acharya@huskers.unl.edu>2020-05-29 03:53:23 +0300
committerUrja Acharya <urja.acharya@huskers.unl.edu>2020-05-29 03:53:23 +0300
commit1de8c7cdf9cb95194c5322e280c580d919bbc313 (patch)
tree98c51e574abcbdc7ecd5368c47de67f078a8d643
parenta509b4ca1bf6ffd1c4dcb97bc414f2804d757d0f (diff)
adjusted aria labels
-rw-r--r--layouts/index.html8
-rw-r--r--layouts/partials/footer.html2
-rw-r--r--layouts/partials/listPage.html1
-rw-r--r--layouts/partials/taxa.html2
-rw-r--r--layouts/section/pinnedPosts.html2
5 files changed, 7 insertions, 8 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 696613d..fc47b1d 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,13 +1,13 @@
{{ define "main" }}
{{ range ((where .Site.Pages "Params.pinned" true).ByDate.Reverse) | first 1 }}
<h3>
- <a href="{{ .Permalink }}" aria-label="site title">{{ .Title }}</a>
+ <a href="{{ .Permalink }}">{{ .Title }}</a>
</h3>
<div class="pinned-post home-page-card">
<p>{{ .Summary | plainify | truncate 250 }}</p>
<div class="home-page-card-links">
- <a href="{{ .Permalink }}" aria-label="click to read the pinned post">
- Read More
+ <a href="{{ .Permalink }}">
+ Read Pinned Post
</a>
</div>
<div class="home-page-card-links">
@@ -22,7 +22,7 @@
{{ partial "listPage" . }}
{{ end }}
<div class="home-page-card-links">
- <a href="{{ `archive` | relURL }}" aria-label="link to all posts"
+ <a href="{{ `archive` | relURL }}"
>All Posts</a
>
</div>
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 8dc05dc..878ec2b 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -15,7 +15,7 @@
{{- else }}
<div class="disabled">N/A</div>
{{- end }}
- <a href="#" aria-label="to top">Top</a>
+ <a href="#" aria-label="navigate to top">Top</a>
{{- if .NextInSection }}
<a
class="active"
diff --git a/layouts/partials/listPage.html b/layouts/partials/listPage.html
index 5751345..58f9b94 100644
--- a/layouts/partials/listPage.html
+++ b/layouts/partials/listPage.html
@@ -5,7 +5,6 @@
<a
class="archive-table-link"
href="{{ .Permalink }}"
- aria-label="{{ .Title }}"
>
{{ .Title }}
</a>
diff --git a/layouts/partials/taxa.html b/layouts/partials/taxa.html
index 719d362..e0fe815 100644
--- a/layouts/partials/taxa.html
+++ b/layouts/partials/taxa.html
@@ -13,7 +13,7 @@
<div class="taxa-container home-page-card">
{{ range $this_taxa.ByCount }}
{{ $taxaValueName := .Page.Title }}
- <a class="taxa" href="{{ .Page.Permalink }}" aria-label="site taxonomies">{{ .Page.Title }}</a>
+ <a class="taxa" href="{{ .Page.Permalink }}">{{ .Page.Title }}</a>
{{ end }}
</div>
{{ end }}
diff --git a/layouts/section/pinnedPosts.html b/layouts/section/pinnedPosts.html
index df67ed7..e9e39b4 100644
--- a/layouts/section/pinnedPosts.html
+++ b/layouts/section/pinnedPosts.html
@@ -2,7 +2,7 @@
<h1>{{ .Title }}</h1>
{{$paginator := .Paginate (where .Site.Pages "Params.pinned" true).ByDate.Reverse 5 }}
{{ range $paginator.Pages }}
-<h3><a href="{{ .Permalink }}" aria-label="{{ .Title }}">{{ .Title }}</a></h3>
+<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
<time>{{ dateFormat .Site.Params.theme.dateFormat .Date }}</time>
<p>{{ .Summary | truncate 200 }}</p>
{{ end }}