瀏覽代碼

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

Add `title` attribute to the modal close button
José dBruxelles 2 年之前
父節點
當前提交
54c7ec416a
共有 1 個文件被更改,包括 1 次插入0 次删除
  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}