improve a11y jumpers

This commit is contained in:
ed 2022-05-25 20:31:12 +02:00
parent f024583011
commit 3b19a5a59d
2 changed files with 18 additions and 10 deletions

View file

@ -381,16 +381,24 @@ pre, code, tt, #doc, #doc>code {
}
.ayjump {
position: fixed;
overflow: hidden;
width: 0;
height: 0;
}
html .ayjump:focus {
z-index: 80386;
color: #fff;
color: var(--a-hil);
background: #069;
background: var(--bg-u2);
border: .2em solid var(--a);
box-shadow: none;
outline: none;
width: auto;
height: auto;
top: .5em;
left: .5em;
padding: .5em .7em;
background: var(--bg);
opacity: 0;
}
.ayjump:focus {
opacity: 1;
outline: none;
}
#path,
#path * {

View file

@ -43,8 +43,8 @@ var Ls = {
"ab_mkdoc": "new markdown doc",
"ab_msg": "send msg to srv log",
"ay_path": "jump to folders",
"ay_files": "jump to files",
"ay_path": "skip to folders",
"ay_files": "skip to files",
"wt_ren": "rename selected items$NHotkey: F2",
"wt_del": "delete selected items$NHotkey: ctrl-K",
@ -366,8 +366,8 @@ var Ls = {
"ab_mkdoc": "nytt dokument",
"ab_msg": "send melding",
"ay_path": "hopp til mapper",
"ay_files": "hopp til filer",
"ay_path": "gå videre til mapper",
"ay_files": "gå videre til filer",
"wt_ren": "gi nye navn til de valgte filene$NSnarvei: F2",
"wt_del": "slett de valgte filene$NSnarvei: ctrl-K",