mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-07 23:15:14 -04:00
added visually hidden styling
This commit is contained in:
parent
3f5fe3b63f
commit
368fbc541d
3 changed files with 112 additions and 267 deletions
|
@ -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>");
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue