x
1
2
3
<div role="status" aria-live="polite" aria-atomic="true" class="midwest-live-region text-gray-3"> 3 items in your cart</div>1
2
3
<%= midwest_live_region visible: true, class: "text-gray-3" do %> 3 items in your cart<% end %>Visible
Pass visible: true to show the region on screen as well. Useful for
status text that both sighted and screen-reader users should perceive.
No params configured.
No assets to display.
Add a .js or .css file alongside the component to see it here.
Figma embed for Live Region/visible
Annotate a preview to embed its Figma design here:
@figma "https://figma.com/..."