Explorar o código

fixup! fix(test): e2e accessibility test fail

Andelf %!s(int64=3) %!d(string=hai) anos
pai
achega
b84d42da89
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      src/main/frontend/handler/events.cljs

+ 6 - 6
src/main/frontend/handler/events.cljs

@@ -769,13 +769,13 @@
        "We suggest you upgrade now to avoid potential bugs."]
       (when (seq paths)
         [:p
-         "For example, the files below have reserved characters that can't be synced on some platforms."])]
-     ]
+         "For example, the files below have reserved characters that can't be synced on some platforms."])]]
     (ui/button
-      "Update filename format"
-      :on-click (fn []
-                  (notification/clear-all!)
-                  (state/set-modal!
+     "Update filename format"
+     :aria-label "Update filename format"
+     :on-click (fn []
+                 (notification/clear-all!)
+                 (state/set-modal!
                   (fn [_] (conversion-component/files-breaking-changed))
                   {:id :filename-format-panel :center? true})))
     (when (seq paths)