News for hackers. Stuff that matters.
Re:Why Gov.uk's Exit this Page component doesn't use the Esc... by int_19h on Thursday October 10, 2024 @12:48PM (#41800742)
Using the Escape key to close dialogs is the standard for almost all desktop applications since the 90s, though.
Re:Why Gov.uk's Exit this Page component doesn't use the Esc... by ssalka on Thursday October 10, 2024 @05:15PM (#41803664)
^This. Closing an entire application with the possibility of losing important state? No, we don't want a button that does that (though a button combination is OK because that's less likely to be accidentally triggered). Closing an ephemeral popup that is distracting from the main page? Absolutely, `Esc` that.