Adding a Quick Exit Button

Have more questions? Submit a request

The Quick Exit button provides a fast, 'one-click' way for a user to quickly and safely leave the page.

Use it for content that contains sensitive information that might put the reader at risk of abuse or retaliation, or reveal their intentions to escape from a harmful situation.

The Quick Exit button is red, and always visible at the bottom of the page. It takes the user to a neutral website when clicked.

This component is available on standard, Easy Read and landing pages.

Note: On a landing page, use the Floating banner button to create a quick exit style button. 

On this page


Guidance on Using the Quick Exit Button

The quick exit button should provide users with a fast, safe way to leave sensitive content, especially when browsing information that could put them at risk if viewed by someone else. When configuring or recommending a URL for the quick exit button:
  • Use a neutral, non‑sensitive destination
    Choose a page that is safe, generic, and unlikely to raise concern if someone glances at the screen. Common options include:
    • The homepage (nsw.gov.au)
    • A neutral government service page
    • A general search engine (only if appropriate for the context)
  • Avoid linking to any content that is also sensitive or topic‑related
    For example, do not link to another page about support services, safety, or personal matters.
  • Prioritise speed and minimal cognitive load
    The destination should load quickly and look ordinary to a casual observer.
  • Keep the user experience consistent
    Use the same type of neutral destination across related pages to avoid confusion.

When to use a Quick Exit button

Do

  • Only available for use on standard and Easy Read pages. For a landing page, use a Floating Button Banner
  • Use only on pages containing sensitive information that your reader may need to 'hide' from another person
  • The button text should be clear and concise. Limit of 50 characters. Try to limit the button text to 2 to 4 words

Don't

  • Don't use the Quick Exit button for general call to actions like newsletter subscriptions

How to add a Quick Exit button on a page

On a standard page

  1. Select Add Quick Exit button.
  2. Enter the details for your button banner.
    • URL (mandatory): add a link to another page. A link can be internal path such as /node/add or external.
      • Enter <front> to link to nsw.gov.au homepage.
      • Enter <nolink> to display link text only.
      • Enter <button> to display keyboard-accessible link text only.
    • Link text (optional): the button text. Maximum 50 characters. Try to limit the button text to 2 to 4 words such as Quick exit, Leave site, Exit this site and Close this site.
    • Contextual information (optional): add clear and concise contextual information to the button that will show on the banner. Use sentence case.

On a landing page

  1. Select Add Block
  2. Select Floating button banner
  3. Enter the details for your button banner.
    • URL (mandatory): add a link to another page. A link can be internal path such as /node/add or external.
      • Enter <front> to link to nsw.gov.au homepage.
      • Enter <nolink> to display link text only.
      • Enter <button> to display keyboard-accessible link text only.
    • Link text (optional): the button text. Maximum 50 characters. Try to limit the button text to 2 to 4 words such as Quick exit, Leave site, Exit this site and Close this site.
  4. Tick Clear last entry of browser history checkbox, this ensures browser history is cleared, and link is opened in the same window.
  5. Enter an optional Contextual information, add clear and concise contextual information to the button that will show on the banner. Use sentence case.
  6. Select Alert button as your Button style, this ensures the button displays in red.

    Important note: due to a technical limitation, Quick Exit can only clear the user’s most recent page history if they move between pages. This is a known issue and will be monitored for future improvement.

Need any more help?

If you have any questions, or require assistance with anything mentioned in this article, submit a request via the webform.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful