made container info and container edit panel tabbable
This commit is contained in:
parent
a4c578adde
commit
1f0df2bc2d
1 changed files with 7 additions and 2 deletions
|
@ -717,6 +717,10 @@ Logic.registerPanel(P_CONTAINER_INFO, {
|
|||
Logic.showPreviousPanel();
|
||||
});
|
||||
|
||||
document.getElementById("container-info-hideorshow").setAttribute("tabindex","0");
|
||||
document.getElementById("container-info-movetabs").setAttribute("tabindex","0");
|
||||
document.getElementById("close-container-info-panel").setAttribute("tabindex","0");
|
||||
|
||||
Logic.addEnterHandler(document.querySelector("#container-info-hideorshow"), async () => {
|
||||
const identity = Logic.currentIdentity();
|
||||
try {
|
||||
|
@ -929,6 +933,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
|
|||
}
|
||||
});
|
||||
|
||||
document.getElementById("edit-container-panel-back-arrow").setAttribute("tabindex","0");
|
||||
Logic.addEnterHandler(document.querySelector("#edit-container-cancel-link"), () => {
|
||||
Logic.showPreviousPanel();
|
||||
});
|
||||
|
@ -944,7 +949,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
|
|||
this._editForm.addEventListener("submit", () => {
|
||||
this._submitForm();
|
||||
});
|
||||
|
||||
document.getElementById("edit-container-panel-back-arrow").setAttribute("tabindex","0");
|
||||
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue