fix(Notification): add roles for accessibility (#724)

This commit is contained in:
Muhammad Mahmoud
2023-10-18 18:49:27 +03:00
committed by GitHub
parent a8279d1c97
commit 40f3b16100
2 changed files with 8 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div :class="wrapperClass" v-bind="attrs">
<div :class="wrapperClass" role="region" v-bind="attrs">
<div v-if="notifications.length" :class="ui.container">
<div v-for="notification of notifications" :key="notification.id">
<UNotification