Sha256: bbcf06b528721dcaa5976489e427363e7904deea42926033896e36f63dcd825a
Contents?: true
Size: 1.58 KB
Versions: 3
Compression:
Stored size: 1.58 KB
Contents
name: Success alert description: Used at the top of the page, to summarise a successful user action. govuk_frontend_components: - notification-banner accessibility_criteria: | - should be focused on page load, to ensure the message is noticed by assistive tech - Should have a role of ‘alert’ to communicate that is a important and time sensitive message examples: default: data: message: Message to alert the user to a successful action goes here with_message_and_description: description: Descriptions can be passed as plain text but it is strongly recommended that you pass these as html, cleaned using `raw` or `sanitize`. data: message: Message to alert the user to a successful action goes here description: <p class="govuk-body">A further description</p> with_custom_title_id: description: | This is for the heading element at the head of the component (reading "Success" by default) where the id is used by an `aria-labelledby` on screen reader focus of the element. Please ensure that this id is unique across the view you are building. data: message: Message to alert the user to a successful action goes here title_id: my-custom-success-id long_example: data: message: | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut aliquet dignissim dui, ac laoreet tortor vulputate nec. Aenean quis turpis orci. Proin semper porttitor ipsum, vel maximus justo rutrum vel. Morbi volutpat facilisis libero. Donec posuere eget odio non egestas. Nullam sed neque quis turpis.
Version data entries
3 entries across 3 versions & 1 rubygems