Bläddra i källkod

fix: Add `title` attribute to the modal close button (#5521)

Add `title` attribute to the modal close button
José dBruxelles 2 år sedan
förälder
incheckning
54c7ec416a
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      src/components/Dialog.tsx

+ 1 - 0
src/components/Dialog.tsx

@@ -85,6 +85,7 @@ export const Dialog = (props: DialogProps) => {
           <button
             className="Modal__close"
             onClick={onClose}
+            title={t("buttons.close")}
             aria-label={t("buttons.close")}
           >
             {useDevice().isMobile ? back : close}