From 93cbd5103332ba614b908b39444d16727f39a637 Mon Sep 17 00:00:00 2001 From: Den Scollo Date: Fri, 18 Oct 2019 12:37:39 -0300 Subject: [PATCH] Update alert time out for aria-hidden --- packages/app/client/src/ui/a11y/ariaAlertService.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/app/client/src/ui/a11y/ariaAlertService.ts b/packages/app/client/src/ui/a11y/ariaAlertService.ts index 410e8c718..c74015d38 100644 --- a/packages/app/client/src/ui/a11y/ariaAlertService.ts +++ b/packages/app/client/src/ui/a11y/ariaAlertService.ts @@ -52,8 +52,8 @@ class AriaAlertService { document.body.appendChild(alert); setTimeout(() => { - document.body.removeChild(alert); - }, 1000); + alert.setAttribute('aria-hidden', 'true'); + }, 5000); } }