Skip to content
Amplify from Studio 24
  • Get started
  • Fundamentals
  • Layout helpers
  • Core components
  • Advanced components
  • Design handover & standards
  • Avatars
  • Breadcrumbs
  • Cards
  • Image component
  • Main
  • Notes
  • Pagination
  • Progress indicator
  • Quote component
  • Shelves
  • Simple search form
  • Sticky footer
  • Tag list
  • Text component
  • Video component

Notes

Notes can be used for simple informational messages, and for success, warning and error alerts. They are an enhancement of the default box layout.

Informative note heading

Group calendering is currently in beta-test. We encourage everyone to use it and report feedback and issues to its dedicated GitHub repository.

Success note heading

Main profile successfully updated.

Warning note heading

We could not detect your affiliation based on your email address. Please select your affiliation below or go back to use your corporate email address.

Error note heading

There has been an error.

Considerations

Because the icons are background images, they may not display well in Windows High Contrast Mode. So make sure that the heading text clearly indicates the nature of the note: is it giving a warning? Has there been an error? Or is it confirming something?

ARIA live regions

Note the use of role="status" and role="alert". Both create an ARIA live region.

If the content of the note is advisory information not important enough to justify an alert, use role="status". When added to an element, the browser will send out an accessible status event to assistive technologies, which can then notify the user about it.

For error messages, use role="alert". The alert role should read out content that has changed, or bring the user's attention to it immediately, so it should not be used for static content or used regularly. Alerts, by definition, are disruptive. Lots of alerts at once or unnecessary alerts will create a bad user experience.

© Studio 24