avoid highlighting/tabbing to top bar

This commit is contained in:
Damien Elmes 2019-04-10 15:16:22 +10:00
parent 111727240b
commit 7120607dfe
2 changed files with 3 additions and 1 deletions

View file

@ -44,7 +44,7 @@ class Toolbar:
buf = ""
for ln, name, title in links:
buf += '''
<a class=hitem aria-label="%s" title="%s" href=# onclick="return pycmd('%s')">%s</a>''' % (
<a class=hitem tabindex="-1" aria-label="%s" title="%s" href=# onclick="return pycmd('%s')">%s</a>''' % (
name, title, ln, name)
return buf

View file

@ -32,3 +32,5 @@ body {
.hitem:hover {
text-decoration: underline;
}
.hitem:focus { outline: 0; }