From 89410b745db019d8befb4bce19f34108d88909cd Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 18:17:18 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20[UX=20improvement]=20?= =?UTF-8?q?Add=20ARIA=20attributes=20to=20Dialog=20component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds `role="dialog"`, `aria-modal="true"` to the modal container, `aria-hidden="true"` to the backdrop, and an `aria-label` to the close button to improve screen reader accessibility. Co-authored-by: ivanleekk <84584280+ivanleekk@users.noreply.github.com> --- frontend/src/components/ui/Dialog.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/components/ui/Dialog.tsx b/frontend/src/components/ui/Dialog.tsx index ffea8c4..7d897be 100644 --- a/frontend/src/components/ui/Dialog.tsx +++ b/frontend/src/components/ui/Dialog.tsx @@ -20,15 +20,19 @@ export function Dialog({ isOpen, onClose, children }: DialogProps) {
{/* Backdrop */}