diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-11-04 19:27:51 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2017-11-04 19:27:51 +0000 |
commit | 672247054b8c14802bcde078bca4ee0838541fb1 (patch) | |
tree | 4b609bce576781feaef67779f235fdd398a3f2c2 | |
parent | Rule to allow certbot verification (diff) | |
download | gentoobrowse-672247054b8c14802bcde078bca4ee0838541fb1.tar.bz2 gentoobrowse-672247054b8c14802bcde078bca4ee0838541fb1.tar.xz gentoobrowse-672247054b8c14802bcde078bca4ee0838541fb1.zip |
Add accesskey attribute to nav links
-rw-r--r-- | gentoobrowse/xslt/base.xslt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gentoobrowse/xslt/base.xslt b/gentoobrowse/xslt/base.xslt index 6529fc8..96cf35b 100644 --- a/gentoobrowse/xslt/base.xslt +++ b/gentoobrowse/xslt/base.xslt @@ -80,18 +80,18 @@ <a class="brand" href="/">Gentoo Browse</a> <div class="nav-collapse collapse"> <ul class="nav"> - <li><a href="/">Home</a></li> - <li><a href="/news">News</a></li> - <li><a href="/packages">Browse</a></li> - <li><a href="/packages/popular">Popular</a></li> - <li><a href="/use">Use</a></li> - <li><a href="JavaScript: void(0);" onclick="$('#search').modal('show');" rel="nofollow">Search</a></li> + <li><a accesskey="h" href="/">Home</a></li> + <li><a accesskey="n" href="/news">News</a></li> + <li><a accesskey="b" href="/packages">Browse</a></li> + <li><a accesskey="o" href="/packages/popular">Popular</a></li> + <li><a accesskey="u" href="/use">Use</a></li> + <li><a accesskey="s" href="JavaScript: void(0);" onclick="$('#search').modal('show');" rel="nofollow">Search</a></li> <xsl:if test="not(user)"> - <li><a href="JavaScript: void(0);" onclick="$('#login').modal('show');" rel="nofollow">Login/Sign up</a></li> + <li><a accesskey="l" href="JavaScript: void(0);" onclick="$('#login').modal('show');" rel="nofollow">Login/Sign up</a></li> </xsl:if> <xsl:if test="user"> <li> - <a href="/user/home" rel="nofollow"> + <a accesskey="l" href="/user/home" rel="nofollow"> My Account <small>(<xsl:value-of select="user/username" />)</small> </a> |