mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
fix: aria label for "back to top"
Gives 100% Accessibility score on Lighthouse for test site.
This commit is contained in:
parent
5d827c258a
commit
f55fed9d88
1 changed files with 2 additions and 2 deletions
|
@ -27,8 +27,8 @@
|
|||
{{ end }}
|
||||
|
||||
{{ if not (in (slice "book" "docs" "updates") .Type) }}
|
||||
<span class="float-right" aria-hidden="true">
|
||||
<a href="#" class="back-to-top">
|
||||
<span class="float-right">
|
||||
<a href="#" class="back-to-top" aria-label="Back to top">
|
||||
<span class="button_icon">
|
||||
<i class="fas fa-chevron-up fa-2x"></i>
|
||||
</span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue