From 91eced93d0ceb3ea48322ca06e1472f2fa5dc51d Mon Sep 17 00:00:00 2001 From: Andelf Date: Mon, 28 Nov 2022 14:46:38 +0800 Subject: [PATCH] fix(test): e2e accessibility test fail --- src/main/frontend/ui.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/frontend/ui.cljs b/src/main/frontend/ui.cljs index 55a083478..07d80a458 100644 --- a/src/main/frontend/ui.cljs +++ b/src/main/frontend/ui.cljs @@ -250,10 +250,11 @@ content]] [:div.ml-4.flex-shrink-0.flex [:button.inline-flex.text-gray-400.focus:outline-none.focus:text-gray-500.transition.ease-in-out.duration-150.notification-close-button - {:on-click (fn [] + {:aria-label "Close" + :on-click (fn [] (notification/clear! uid))} - (icon "x" {:fill "currentColor"})]]]]]]]))) + (icon "x" {:fill "currentColor"})]]]]]]]))) (declare button)