Skip to content

best way to save what you love

web/UpdateNotification: set an alert aria role

wukko3fdfd445156a
diff --git a/web/src/components/misc/UpdateNotification.svelte b/web/src/components/misc/UpdateNotification.svelte
index 302b5d99..6cfaa97b 100644
--- a/web/src/components/misc/UpdateNotification.svelte
+++ b/web/src/components/misc/UpdateNotification.svelte
@@ -4,7 +4,7 @@
import IconComet from "@tabler/icons-svelte/IconComet.svelte";
</script>
-<div id="update-notification">
+<div id="update-notification" role="alert" aria-atomic="true">
<button class="update-button" on:click={() => window.location.reload()}>
<div class="update-icon">
<IconComet />