Jelajahi Sumber

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

Add `title` attribute to the modal close button
José dBruxelles 2 tahun lalu
induk
melakukan
54c7ec416a
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  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}