From f975ff10560ac5414fc066106b0d6110d7b0ade2 Mon Sep 17 00:00:00 2001 From: Bancarel Valentin Date: Tue, 4 Dec 2018 10:02:30 +0100 Subject: [PATCH] Better aria tag --- toastr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toastr.js b/toastr.js index 1f804394..ac4dc6d0 100644 --- a/toastr.js +++ b/toastr.js @@ -281,7 +281,7 @@ default: ariaValue = 'assertive'; } - $toastElement.attr('aria-live', ariaValue); + $toastElement.attr('aria-live', ariaValue).attr("role", "alert"); } function handleEvents() {