From 3a99408b0d05a8255e7d8dad589051851e452b2b Mon Sep 17 00:00:00 2001 From: seonghobae <8172694+seonghobae@users.noreply.github.com> Date: Thu, 2 Jul 2026 21:25:54 +0000 Subject: [PATCH 1/4] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20EditTableModal=20?= =?UTF-8?q?=ED=8F=BC=20=EC=9E=85=EB=A0=A5=20=EC=9A=94=EC=86=8C=EC=9D=98=20?= =?UTF-8?q?=EC=A0=91=EA=B7=BC=EC=84=B1=20=ED=96=A5=EC=83=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 동적으로 생성되는 폼 내 입력 요소(input, checkbox)에 컬럼 이름을 포함하여 고유한 `aria-label`을 부여함. - 스크린 리더 사용자가 동일한 레이블이 반복되는 문제를 방지하고 명확하게 각 항목을 구별할 수 있도록 개선함. --- .Jules/palette.md | 3 +++ frontend/src/components/modals/EditTableModal.tsx | 15 ++++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/.Jules/palette.md b/.Jules/palette.md index 32fb11be..733da7dd 100644 --- a/.Jules/palette.md +++ b/.Jules/palette.md @@ -43,3 +43,6 @@ ## 2024-06-26 - [Abbreviation Comprehension in ERD Nodes] **Learning:** Users without deep database administration backgrounds may not immediately recognize domain-specific abbreviations like "PK" or "FK" rendered as minimalist badges inside dense ERD nodes. **Action:** Always provide `title` attributes on technical acronym badges (like Primary Key / Foreign Key) to ensure clarity and improve accessibility without cluttering the space-constrained node UI. +## 2023-11-20 - Dynamic Screen Reader Labeling in Mapped Inputs +**Learning:** In dynamically mapped rows (like column editing tables), assigning identical generic `aria-label` attributes to inputs across all rows destroys accessibility context for screen reader users. They hear repeated ambiguous announcements like "데이터 타입" without knowing which item it refers to. +**Action:** When rendering dynamic lists of form inputs, ensure each `` element has a uniquely identifiable `aria-label` by prepending or interpolating the row's specific item name (e.g., ``aria-label={`${columnName} 데이터 타입`}``). diff --git a/frontend/src/components/modals/EditTableModal.tsx b/frontend/src/components/modals/EditTableModal.tsx index b1673cdd..9edf548f 100644 --- a/frontend/src/components/modals/EditTableModal.tsx +++ b/frontend/src/components/modals/EditTableModal.tsx @@ -108,7 +108,9 @@ export function EditTableModal({