accessibility : add aria-label to go-to-top

This commit is contained in:
Aditya Telange 2020-09-06 22:07:01 +05:30
parent 0411858700
commit 70525e39d1
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -6,7 +6,7 @@
<span>Theme <a href="https://github.com/adityatelange/hugo-PaperMod" rel="noopener"
target="_blank">PaperMod</a></span>
</footer>
<a href="#top">
<a href="#top" aria-label="go to top">
<button class="top-link" id="top-link" type="button">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 6">
<path d="M12 6H0l6-6z" /></svg>