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

Add `title` attribute to the modal close button
This commit is contained in:
José dBruxelles 2022-08-02 08:12:47 +02:00 committed by GitHub
parent aca284057d
commit 54c7ec416a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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