feat(a11y): add aria-live region to toast notifications

Adds role='status' and aria-live='polite' to the notification
container so screen readers announce status messages.

Fixes WCAG 4.1.3 (Status Messages).
This commit is contained in:
kolaente 2026-04-12 14:14:57 +02:00 committed by kolaente
parent 11ffb530be
commit 40ff558540
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@
:max="2"
:ignore-duplicates="true"
class="global-notification"
role="status"
aria-live="polite"
>
<template #body="{ item, close }">
<!-- FIXME: overlay whole notification with button and add event listener on that button instead -->