Sha256: e9077dedc4e476ea56f65384dc71d59fe02aaedad60df5fc6571ab6a23f19fca

Contents?: true

Size: 968 Bytes

Versions: 102

Compression:

Stored size: 968 Bytes

Contents

name: Success Alert
description: Used at the top of the page, to summarise a successful user action.
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:
    data:
      message: Message to alert the user to a successful action goes here
      description: A further description
  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

102 entries across 102 versions & 1 rubygems

Version Path
govuk_publishing_components-9.18.0 app/views/govuk_publishing_components/components/docs/success_alert.yml
govuk_publishing_components-9.17.1 app/views/govuk_publishing_components/components/docs/success_alert.yml