refactor(#35): announce toast notification

This commit is contained in:
OllyNicholass
2024-11-18 23:15:09 +00:00
parent 1113d509a8
commit 5a2b10b54b
+1
View File
@@ -19,6 +19,7 @@
<div
id={localToast.toastType == 'success' ? 'success-toast' : 'error-toast'}
role="alert"
aria-live="polite"
class="alert {localToast.toastType == 'success'
? 'alert-success'
: 'alert-error'} fixed top-20 right-3 max-w-80 z-50 text-white"