Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .jules/palette.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
## 2026-07-05 - Accessible Disabled Buttons
**Learning:** Adding `aria-describedby` to disabled buttons and explicitly linking them to visible helper text elements allows screen readers to announce the reason for being disabled, significantly improving accessibility for interactive elements that depend on prior state (like selecting a project).
**Action:** Always pair disabled interactive elements with visible helper text and use `aria-describedby` to semantically link them, ensuring the context is available to assistive technologies.
6 changes: 4 additions & 2 deletions frontend/src/components/modals/ExportModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export function ExportModal({
onClick={onCreateShareLink}
disabled={!canCreateShareLink || isCreatingShareLink}
aria-busy={isCreatingShareLink}
aria-describedby={(!canCreateShareLink || isCreatingShareLink) && !shareLinkUrl ? "share-link-hint" : undefined}
>
{isCreatingShareLink ? "생성 쀑..." : "링크 λ§Œλ“€κΈ°"}
</button>
Expand All @@ -88,7 +89,7 @@ export function ExportModal({
</button>
</div>
) : (
<span className="field-hint">
<span id="share-link-hint" className="field-hint">
ν”„λ‘œμ νŠΈκ°€ μ„ νƒλ˜λ©΄ μ„œλ²„μ—μ„œ μƒˆ 곡유 링크λ₯Ό λ°œκΈ‰ν•  수 μžˆμŠ΅λ‹ˆλ‹€.
</span>
)}
Expand All @@ -109,6 +110,7 @@ export function ExportModal({
onClick={onCopyExportDdl}
disabled={!hasDdlExport}
aria-live="polite"
aria-describedby={!hasDdlExport ? "ddl-export-hint" : undefined}
>
{isCopied ? "볡사 μ™„λ£Œ" : "DDL 볡사"}
</button>
Expand All @@ -122,7 +124,7 @@ export function ExportModal({
className="exportModal__ddl"
/>
) : (
<span className="field-hint">
<span id="ddl-export-hint" className="field-hint">
DDL을 λ§Œλ“€λ €λ©΄ λ¨Όμ € μŠ€λƒ…μƒ·μ„ μƒμ„±ν•˜κ±°λ‚˜ ν…Œμ΄λΈ”μ„ μΆ”κ°€ν•˜μ„Έμš”.
</span>
)}
Expand Down