added visually hidden styling

This commit is contained in:
e218736 2024-02-29 12:27:24 +00:00
parent 3f5fe3b63f
commit 368fbc541d
3 changed files with 112 additions and 267 deletions

View file

@ -197,7 +197,7 @@ class InputWaiter {
if (event.key === "Tab" && alerted !== "yes") {
this.app.alert("Press Escape then Tab to exit the input field.", 7000);
localStorage.setItem("alerted", "yes");
return $("#snackbar-container").append("<p role='alert' id='input-alert'>Press Escape then Tab to exit the input field.</p>");
return $("#snackbar-container").append("<p role='alert' id='visually-hidden-input-alert'>Press Escape then Tab to exit the input field.</p>");
}
}
/**