web/UpdateNotification: set an alert aria role

This commit is contained in:
wukko 2024-09-07 21:16:26 +06:00
parent f406e7355b
commit 3fdfd44515
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -4,7 +4,7 @@
import IconComet from "@tabler/icons-svelte/IconComet.svelte"; import IconComet from "@tabler/icons-svelte/IconComet.svelte";
</script> </script>
<div id="update-notification"> <div id="update-notification" role="alert" aria-atomic="true">
<button class="update-button" on:click={() => window.location.reload()}> <button class="update-button" on:click={() => window.location.reload()}>
<div class="update-icon"> <div class="update-icon">
<IconComet /> <IconComet />