Snackbar

A transient message in a corner of the window, through a Portal.

Accessibility

  • role="status" is a polite live region: it is read when the user is idle.
  • It never takes the focus, so it never interrupts typing.
  • A message that hides itself cannot be the only way to learn something: for an error that must be read, keep it open or put it in an Alert.