mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1828935 - Bump up conformation hint duration to improve a11y. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D175909
This commit is contained in:
parent
f6bcaa8c57
commit
bee9890293
@ -9696,9 +9696,9 @@ var ConfirmationHint = {
|
||||
this._panel.setAttribute("data-message-id", messageId);
|
||||
|
||||
// The timeout value used here allows the panel to stay open for
|
||||
// 1.5s second after the text transition (duration=120ms) has finished.
|
||||
// If there is a description, we show for 4s after the text transition.
|
||||
const DURATION = options.showDescription ? 4000 : 1500;
|
||||
// 3s after the text transition (duration=120ms) has finished.
|
||||
// If there is a description, we show for 6s after the text transition.
|
||||
const DURATION = options.showDescription ? 6000 : 3000;
|
||||
this._panel.addEventListener(
|
||||
"popupshown",
|
||||
() => {
|
||||
|
Loading…
Reference in New Issue
Block a user