diff --git a/packages/app-desktop/gui/Button/Button.tsx b/packages/app-desktop/gui/Button/Button.tsx index 56e248ed3..4dea7c565 100644 --- a/packages/app-desktop/gui/Button/Button.tsx +++ b/packages/app-desktop/gui/Button/Button.tsx @@ -256,6 +256,9 @@ const Button = React.forwardRef((props: Props, ref: any) => { iconOnly={iconOnly} onClick={onClick} + // When there's no title, the button needs a label. In this case, fall back + // to the tooltip. + aria-label={props.title ? undefined : props.tooltip} aria-disabled={props.disabled} aria-expanded={props['aria-expanded']} aria-controls={props['aria-controls']} diff --git a/packages/app-desktop/gui/ShareFolderDialog/ShareFolderDialog.tsx b/packages/app-desktop/gui/ShareFolderDialog/ShareFolderDialog.tsx index 76895ef4e..e3eb8b159 100644 --- a/packages/app-desktop/gui/ShareFolderDialog/ShareFolderDialog.tsx +++ b/packages/app-desktop/gui/ShareFolderDialog/ShareFolderDialog.tsx @@ -321,7 +321,13 @@ function ShareFolderDialog(props: Props) { {shareUser.user.email} {dropdown} -