From bd4585b42362e72313ed09ca631f1d369a5251b1 Mon Sep 17 00:00:00 2001 From: KGFCH2 Date: Tue, 2 Jun 2026 14:03:16 +0530 Subject: [PATCH] accessibility: add dialog semantics and labels to task modal dialogs --- client/src/pages/app/TasksPage.jsx | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/client/src/pages/app/TasksPage.jsx b/client/src/pages/app/TasksPage.jsx index ae24bf2..5daaead 100644 --- a/client/src/pages/app/TasksPage.jsx +++ b/client/src/pages/app/TasksPage.jsx @@ -104,12 +104,18 @@ const CreateTaskModal = ({ events, onClose, onCreated }) => { onClick={(e) => e.target === e.currentTarget && onClose()}>
-

Create Task

-
@@ -310,11 +316,14 @@ const SubmitTaskModal = ({ task, onClose, onSubmitted }) => { onClick={(e) => e.target === e.currentTarget && onClose()}>
-

Submit Task

+

Submit Task

{ {task.title}

-