Procházet zdrojové kódy

fix(test): e2e accessibility test fail

Andelf před 2 roky
rodič
revize
91eced93d0
1 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 3 2
      src/main/frontend/ui.cljs

+ 3 - 2
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)