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
|
@ -716,6 +716,10 @@ Logic.registerPanel(P_CONTAINER_INFO, {
|
||||||
Logic.addEnterHandler(document.querySelector("#close-container-info-panel"), () => {
|
Logic.addEnterHandler(document.querySelector("#close-container-info-panel"), () => {
|
||||||
Logic.showPreviousPanel();
|
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 () => {
|
Logic.addEnterHandler(document.querySelector("#container-info-hideorshow"), async () => {
|
||||||
const identity = Logic.currentIdentity();
|
const identity = Logic.currentIdentity();
|
||||||
|
@ -928,7 +932,8 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
|
||||||
Logic.showPreviousPanel();
|
Logic.showPreviousPanel();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
document.getElementById("edit-container-panel-back-arrow").setAttribute("tabindex","0");
|
||||||
Logic.addEnterHandler(document.querySelector("#edit-container-cancel-link"), () => {
|
Logic.addEnterHandler(document.querySelector("#edit-container-cancel-link"), () => {
|
||||||
Logic.showPreviousPanel();
|
Logic.showPreviousPanel();
|
||||||
});
|
});
|
||||||
|
@ -944,7 +949,7 @@ Logic.registerPanel(P_CONTAINER_EDIT, {
|
||||||
this._editForm.addEventListener("submit", () => {
|
this._editForm.addEventListener("submit", () => {
|
||||||
this._submitForm();
|
this._submitForm();
|
||||||
});
|
});
|
||||||
|
document.getElementById("edit-container-panel-back-arrow").setAttribute("tabindex","0");
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue