diff options
author | Somrat Sorkar <37659754+somratpro@users.noreply.github.com> | 2021-04-19 05:53:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-19 05:53:10 +0300 |
commit | 20eebfa4bb5e777089afce52673a25a904e59769 (patch) | |
tree | 64e3858f893bfd0a9c370ec67261a97760ce8f2c /layouts/pricing/list.html | |
parent | 340135236ae353b8763e162142ef5a573813211a (diff) | |
parent | 2766a9b44f329b88cf17328aab0c62b4cf4b30d4 (diff) |
Merge pull request #32 from jcabak/master
Accessibility and SEO improvements
Diffstat (limited to 'layouts/pricing/list.html')
-rw-r--r-- | layouts/pricing/list.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/pricing/list.html b/layouts/pricing/list.html index b6bc0c1..2bf5b51 100644 --- a/layouts/pricing/list.html +++ b/layouts/pricing/list.html @@ -18,7 +18,7 @@ </ul> {{ if .button.enable }} {{ with .button }} - <a href="{{ .link | relURL }}" class="btn btn-outline-primary">{{ .label }}</a> + <a href="{{ .link | relURL }}" title="{{ .label }}" class="btn btn-outline-primary">{{ .label }}</a> {{ end }} {{ end }} </div> @@ -39,7 +39,7 @@ </ul> {{ if .button.enable }} {{ with .button }} - <a href="{{ .link | relURL }}" class="btn btn-primary">{{ .label }}</a> + <a href="{{ .link | relURL }}" title="{{ .label }}" class="btn btn-primary">{{ .label }}</a> {{ end }} {{ end }} </div> @@ -60,7 +60,7 @@ </ul> {{ if .button.enable }} {{ with .button }} - <a href="{{ .link | relURL }}" class="btn btn-outline-primary">{{ .label }}</a> + <a href="{{ .link | relURL }}" title="{{ .label }}" class="btn btn-outline-primary">{{ .label }}</a> {{ end }} {{ end }} </div> @@ -78,14 +78,14 @@ <div class="container section shadow rounded-lg px-4"> <div class="row align-items-center justify-content-center text-center text-md-left"> <div class="col-lg-4 col-md-5 mb-4 mb-md-0"> - <img src="{{ .image | relURL }}" class="img-fluid"> + <img src="{{ .image | relURL }}" alt="" class="img-fluid"> </div> <div class="col-lg-5 col-md-6"> <h2 class="section-title">{{ .title | markdownify }}</h2> {{with .content }}<p class="mb-4">{{ . | markdownify }}</p>{{ end }} {{ if .button.enable }} {{ with .button }} - <a href="{{ .link | relURL }}" class="btn btn-primary">{{ .label }}</a> + <a href="{{ .link | relURL }}" title="{{ .label }}" class="btn btn-primary">{{ .label }}</a> {{ end }} {{ end }} </div> |