Update user.html

Add keyboard shortcuts to PREV and NEXT links using the accesskey global attribute. Underlined letters indicate the key. NB: different browsers use different keystroke combinations to activate access key shortcuts. For example, Firefox on Mac uses ⌃⌥ + accesskey.
This commit is contained in:
Jonathan Sims 2022-03-26 16:41:37 -04:00 committed by GitHub
parent 3ce0db5b07
commit 4c162da2bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -66,11 +66,11 @@
<footer>
{% if ends.0 != "" %}
<a href="?sort={{ sort.0 }}&t={{ sort.1 }}&before={{ ends.0 }}">PREV</a>
<a href="?sort={{ sort.0 }}&t={{ sort.1 }}&before={{ ends.0 }}" accesskey="r">P<span style="text-decoration: underline;">R</span>EV</a>
{% endif %}
{% if ends.1 != "" %}
<a href="?sort={{ sort.0 }}&t={{ sort.1 }}&after={{ ends.1 }}">NEXT</a>
<a href="?sort={{ sort.0 }}&t={{ sort.1 }}&after={{ ends.1 }}" accesskey="x">NE<span style="text-decoration: underline;">X</span>T</a>
{% endif %}
</footer>
</div>