From e5422975687f1f48a1421703f677141bd0f4b26e Mon Sep 17 00:00:00 2001 From: seonghobae <8172694+seonghobae@users.noreply.github.com> Date: Thu, 2 Jul 2026 14:11:11 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20[UX=20improvement?= =?UTF-8?q?]=20add=20abbr=20to=20PK=20and=20NN=20in=20EditTableModal?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .jules/palette.md | 3 +++ frontend/src/components/modals/EditTableModal.tsx | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.jules/palette.md b/.jules/palette.md index 32fb11be..c96b8fc5 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. +## 2025-03-05 - Wrapping Plain Text Abbreviations for Accessibility +**Learning:** ERD nodes and forms often use highly abbreviated terms like "PK" or "NN" inside checkboxes or badges without surrounding tags. While users familiar with databases understand them, screen readers read them literally, and new users may be confused. Wrapping these raw text strings in `` tags with `title` and `aria-label` provides a native browser tooltip on hover and explicit readouts for assistive technologies. +**Action:** When working on ERD-specific terminology, wrap unstyled or plain text abbreviations in `` elements with descriptive attributes, ensuring they are accessible to both mouse and keyboard/screen-reader users. diff --git a/frontend/src/components/modals/EditTableModal.tsx b/frontend/src/components/modals/EditTableModal.tsx index b1673cdd..a2f14990 100644 --- a/frontend/src/components/modals/EditTableModal.tsx +++ b/frontend/src/components/modals/EditTableModal.tsx @@ -132,7 +132,7 @@ export function EditTableModal({ name={`col_pk_${idx}`} defaultChecked={col.is_pk} /> - PK + PK