Package: listarchives Severity: normal Tags: patch Hello,
Please apply the following patch to the mhonarc configuration for
lists.debian.org. This patch implements access-keys for the HTML output,
such that keyboard navigation of the archives is more convenient.
I first proposed this on debian-www[1]. I have had one encouraging
reply[2] which suggests the 'listarchives' address would be a more
appropriate venue and set Reply-To accordingly.
An example of mhonarc output with this patch from a sample of
debian-user is available[3]. The access-keys as implemented are:
date index: d
thread index: t
thread prev: p
thread next: n
date prev: e (earlier)
date next: l (later)
[1] http://lists.debian.org/debian-www/2005/09/msg00092.html
[2] http://lists.debian.org/debian-www/2005/09/msg00093.html
[3] http://jon.dowland.name/temp/lists.debian.org/threads.html
--- /usr/share/doc/lists-archives/examples/debian.rc 2001-08-27 14:47:37.000000000 +0100 +++ debian.rc 2005-09-10 23:29:40.863823248 +0100 @@ -49,7 +49,7 @@ <listbegin> Messages are listed by date. The last update was on $GMTDATE$. There are $NUMOFMSG$ messages.<br> -[<A HREF="$TIDXFNAME$">Thread Index</a>] +[<A accesskey="t" title="accesskey [t]" HREF="$TIDXFNAME$">Thread Index</a>] [<A HREF="../">Other Debian Lists</A>] [<A HREF="../../">Debian Home</A>] <hr> @@ -76,7 +76,7 @@ <thead> Messages are listed by thread. The last update was on $GMTDATE$. There are $NUMOFMSG$ messages.<br> -[<A HREF="$IDXFNAME$">Date Index</a>] +[<A accesskey="d" title="accesskey [d]" HREF="$IDXFNAME$">Date Index</a>] [<A HREF="../">Other Debian Lists</A>] [<A HREF="../../">Debian Home</A>] <hr> @@ -103,3 +103,36 @@ priority delivered-to </excs> + +<!-- add accesskeys to navigation links, for keyboard-surfing --> +<!-- + date index: d + thread index: t + thread prev: p + thread next: n + date prev: e (earlier) + date next: l (later) +--> + +<TopLinks> +<hr /> +$BUTTON(PREV)$$BUTTON(NEXT)$$BUTTON(TPREV)$$BUTTON(TNEXT)$[<a +accesskey="d" title="accesskey [d]" href="$IDXFNAME$#$MSGNUM$">Date Index</a>][<a +accesskey="t" title="accesskey [t]" href="$TIDXFNAME$#$MSGNUM$">Thread Index</a>] +</TopLinks> + +<PrevButton chop> +[<a accesskey="e" title="accesskey [e]" href="$MSG(PREV)$">Date Prev</a>] +</PrevButton> + +<NextButton chop> +[<a accesskey="l" title="accesskey [l]" href="$MSG(NEXT)$">Date Next</a>] +</NextButton> + +<TNextButton chop> +[<a accesskey="n" title="accesskey [n]" href="$MSG(TNEXT)$">Thread Next</a>] +</TNextButton> + +<TPrevButton chop> +[<a accesskey="p" title="accesskey [p]" href="$MSG(TPREV)$">Thread Prev</a>] +</TPrevButton>
signature.asc
Description: Digital signature

