Explorar o código

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

Add `title` attribute to the modal close button
José dBruxelles %!s(int64=2) %!d(string=hai) anos
pai
achega
54c7ec416a
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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}