Hello,
First of all, thank you for developing and maintaining public-inbox.
I'm a frequent user of accesskeys [1] so I've written a user script [2]
to add them to some links on websites running public-inbox. The user
script is available via Greasy Fork, a website for hosting user scripts:
https://greasyfork.org/en/scripts/458141-accesskeys-for-public-inbox
So far, five keys are supported:
- z – go from viewing a thread to the list of threads, i.e. "go to
the front page". Using key "z" for this is borrowed from MediaWiki.
- s – place cursor in the search text field.
- f – go to the "flat" thread view. Useful for going from an individual
email to the thread.
- n – go to the "nested" thread view.
- t – jump to the "thread overview" at the bottom of threads. You can
then use tab and shift+tab to select the email to jump to and enter
to jump to the email in the thread.
Any feedback, especially ideas for other uses of accesskey on
public-inbox websites would be appreciated.
[1] see https://en.wikipedia.org/wiki/Access_key and
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/accesskey
[2] https://en.wikipedia.org/wiki/Userscript
P.S. I've looked at source code of public-inbox to try adding support
for accesskeys natively, but my Perl knowledge is very limited, so I
decided against trying to implement it on my own for a patch.
--
Best regards, Andrei R.