Explorar el Código

fixup! fix(test): e2e accessibility test fail

Andelf hace 2 años
padre
commit
b84d42da89
Se han modificado 1 ficheros con 6 adiciones y 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."]
        "We suggest you upgrade now to avoid potential bugs."]
       (when (seq paths)
       (when (seq paths)
         [:p
         [: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
     (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))
                   (fn [_] (conversion-component/files-breaking-changed))
                   {:id :filename-format-panel :center? true})))
                   {:id :filename-format-panel :center? true})))
     (when (seq paths)
     (when (seq paths)