Mercurial > kallithea
changeset 6247:f3acdc61e7f5
templates: assign a dummy href to a button to enable keyboard navigation
Only links having a href are assumed fully fledged dropdowns and
have keyboard navigation enabled for them.
author | Andrew Shadura <andrew@shadura.me> |
---|---|
date | Fri, 23 Sep 2016 18:34:14 +0200 |
parents | 24a0c176a63d |
children | d39a579a4c60 |
files | kallithea/templates/base/base.html |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/templates/base/base.html Fri Sep 23 18:32:06 2016 +0200 +++ b/kallithea/templates/base/base.html Fri Sep 23 18:34:14 2016 +0200 @@ -364,6 +364,8 @@ aria-expanded="false" aria-controls="quick_login" %if c.authuser.username != 'default': href="${h.url('notifications')}" + %else: + href="#" %endif > ${h.gravatar_div(c.authuser.email, size=20, div_class="icon", div_style="display:inline", div_aria_hidden="true")}