From 89128d49c4dfdc185e817eb672b20d91863e6503 Mon Sep 17 00:00:00 2001
From: Linus Rath <139418639+rathlinus@users.noreply.github.com>
Date: Wed, 28 Oct 2026 10:33:36 +0100
Subject: [PATCH] fix: make the desktop task editor a labelled dialog like the
event editor
---
.../__tests__/task-modal-calendars.test.tsx | 13 +++++++++++++
components/calendar/task-modal.tsx | 13 ++++++++++---
2 files changed, 23 insertions(+), 3 deletions(-)
diff --git a/components/calendar/__tests__/task-modal-calendars.test.tsx b/components/calendar/__tests__/task-modal-calendars.test.tsx
index 1bd0abf30..15eb01375 100644
--- a/components/calendar/__tests__/task-modal-calendars.test.tsx
+++ b/components/calendar/__tests__/task-modal-calendars.test.tsx
@@ -34,3 +34,16 @@ describe('task editor calendar select', () => {
expect(select.value).toBe('birthdays');
});
});
+
+// The desktop task panel had no dialog role, unlike the event editor.
+describe('task editor panel', () => {
+ it('is a dialog named by its title on wide screens', () => {
+ render(