1. Component Guide
  2. Notice
  3. With aria live
Notice example

With aria live

Passing the aria live flag to the notice component will read the notice out to users if the notice changes, e.g on form submission the notice may go from hidden to visible.

How it looks (preview)

Your settings have been saved

This is a confirmation message to tell you your settings have been saved

How to call this example

<%= render "govuk_publishing_components/components/notice", {
  title: "Your settings have been saved",
  description_govspeak: sanitize("<p>This is a confirmation message to tell you your settings have been saved</p>"),
  aria_live: true
} %>