Add alert role on connection status so it is read automatically on change.

Note: not currently tested since I'm not sure how to force these states, but I did notice them happening from time to time so wanted to try addressing them..
This commit is contained in:
Nolan Darilek 2021-11-22 15:24:10 -06:00
parent 6d95137d1f
commit 7096b98cc2

View file

@ -37,7 +37,7 @@ defmodule LiveBeatsWeb.LiveHelpers do
</svg>
</div>
<div class="ml-3">
<p class="text-sm font-medium text-red-800">
<p class="text-sm font-medium text-red-800" role="alert">
<%= render_slot(@inner_block) %>
</p>
</div>