mirror of
https://github.com/docmost/docmost.git
synced 2026-08-24 10:02:21 +10:00
fix(a11y): WCAG 2.1 AA fixes (#2219)
This commit is contained in:
@@ -11,7 +11,12 @@ export default function CreateGroupModal() {
|
||||
<>
|
||||
<Button onClick={open}>{t("Create group")}</Button>
|
||||
|
||||
<Modal opened={opened} onClose={close} title={t("Create group")}>
|
||||
<Modal
|
||||
opened={opened}
|
||||
onClose={close}
|
||||
title={t("Create group")}
|
||||
closeButtonProps={{ "aria-label": t("Close") }}
|
||||
>
|
||||
<Divider size="xs" mb="xs" />
|
||||
<CreateGroupForm />
|
||||
</Modal>
|
||||
|
||||
Reference in New Issue
Block a user