Components
← All components

Flash Bridge

stimeo--flash

Turns Rails flash messages into notifications that reach screen readers and clear themselves.

  • Core
  • Rails / Turbo

Turns Rails flash messages into notifications a screen reader will hear. Notices and warnings are announced with different urgency, so an important warning is not buried. They clear themselves after a while, and never while the pointer is over one or focus is inside it, so nothing disappears mid-read. You can cap how many show at once. Messages inserted later by Turbo are found and treated the same way. A notification appearing never steals focus. Add a close button and they can be dismissed by hand. Whether one is on its way out is readable from CSS, so you can write the exit animation.

running

Keyboard

This component has no keyboard interactions of its own.