mirror of
https://github.com/docmost/docmost.git
synced 2026-08-28 01:07:08 +08:00
fix(a11y): WCAG 2.1 AA fixes (#2219)
This commit is contained in:
@@ -52,7 +52,7 @@ export default function TemplatePreviewModal({
|
||||
{t("Edit")}
|
||||
</Button>
|
||||
)}
|
||||
<Modal.CloseButton />
|
||||
<Modal.CloseButton aria-label={t("Close")} />
|
||||
</Group>
|
||||
</Modal.Header>
|
||||
<Modal.Body p={0}>
|
||||
|
||||
@@ -283,6 +283,7 @@ export default function TemplateEditor() {
|
||||
variant="subtle"
|
||||
color="gray"
|
||||
size="md"
|
||||
aria-label={t("Template settings")}
|
||||
onClick={() => {
|
||||
setDraftSpaceId(spaceId);
|
||||
openSettings();
|
||||
|
||||
Reference in New Issue
Block a user