mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue