fix: Add title
attribute to the modal close button (#5521)
Add `title` attribute to the modal close button
This commit is contained in:
parent
aca284057d
commit
54c7ec416a
@ -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}
|
||||
|
Loading…
x
Reference in New Issue
Block a user