Why Gov.uk's Exit this Page component doesn't use the Escape key

Purpose of the “Exit this Page” feature

  • Designed for people in unsafe domestic or coercive situations to quickly hide sensitive GOV.UK pages (e.g., domestic abuse, legal aid, restraining orders).
  • Redirects to an innocuous page (BBC Weather) and manipulates history so “Back” does not reveal the prior page.
  • Intended to reduce suspicion compared to simply closing a tab or window, which can look odd if it leaves a blank desktop.

Why triple-Shift instead of Escape or Ctrl+W

  • Escape is problematic: browsers use it to stop page loading, so repeated presses in panic can cancel the redirect and leave the sensitive page visible.
  • Ctrl+W and middle-click are faster but:
    • Depend on knowing keyboard shortcuts many non-technical or tightly controlled users may not know.
    • Are inconsistent across devices and layouts (Fn/Ctrl position, lack of middle button).
    • May close the only tab/window, leaving a suspicious blank screen.
  • Shift is on all keyboards, heavily used when typing, and the component provides visual feedback (dots filling) when Shift is pressed.

Discoverability and user education

  • Many commenters question how users would know about triple-Shift, especially in panic.
  • Design guidance suggests an explicit “interruption page” explaining the feature before the sensitive journey.
  • Some see Shift feedback as an opportunity for accidental discovery; others think it’s still too obscure and site-specific.

Effectiveness, statistics, and skepticism

  • Linked research shows hundreds of uses per month on at least one page, with apparent spikes during stressful periods (e.g., lockdowns), but intention vs. “trying it out” is unclear.
  • Several commenters argue the scenario is contrived or the benefit marginal versus teaching private windows and close-tab shortcuts.
  • Others stress that people in abuse situations often have low digital literacy, monitored access, or no personal devices, so any tailored safety affordance can matter even if rarely used.

Technical and UX concerns

  • Sticky Keys on Windows (triggered by repeated Shift) can interfere; timing and browser/input-method quirks (especially East Asian IMEs) may break or conflict with the shortcut.
  • Mobile is a major access channel; quick-exit patterns there differ (e.g., OS-level home screen exits, app kill).
  • Some suggest browser- or standard-level “boss key” support as a better long-term solution.