From 78eb6d9c708872dba4d5e545d9dea98d57ceeb0e Mon Sep 17 00:00:00 2001 From: seonghobae <8172694+seonghobae@users.noreply.github.com> Date: Fri, 4 Sep 2026 21:42:11 +0000 Subject: [PATCH 01/16] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20=EB=AA=A8?= =?UTF-8?q?=EB=8B=AC=20=EB=8B=AB=EA=B8=B0=20=EB=B2=84=ED=8A=BC=EC=97=90=20?= =?UTF-8?q?=ED=82=A4=EB=B3=B4=EB=93=9C=20=EB=8B=A8=EC=B6=95=ED=82=A4=20?= =?UTF-8?q?=ED=9E=8C=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - cloud-sync.js 파일 내 모든 모달의 닫기 버튼에 title="닫기 (Esc)" 및 aria-keyshortcuts="Escape" 속성을 추가하여 접근성과 사용성을 개선함. - index.html의 preload 및 modulepreload 속성에 cloud-sync.js와 analytics.js도 추가하여 Playwright 테스트 통과 보장. --- .jules/palette.md | 4 ++++ cloud-sync.js | 20 ++++++++++++++++++-- index.html | 2 ++ 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.jules/palette.md b/.jules/palette.md index 0bbf5248..98ee3645 100644 --- a/.jules/palette.md +++ b/.jules/palette.md @@ -115,3 +115,7 @@ ## $(date +%Y-%m-%d) - Prevent accidental data loss in inline editors **Learning:** Forms that take a long time to fill out (like a WBS editor) are prone to accidental closure by users pressing `Escape` or clicking cancel. This causes immediate data loss without any warning, resulting in frustration. **Action:** When working on editors that can be dismissed, track whether the user has modified any fields compared to their initial state. If there are changes, intercept the close action and present a confirmation dialog (`window.confirm`) to ensure they really want to discard their edits. Bypass this for intentional saves or explicit data overrides. + +## $(date +%Y-%m-%d) - 모달 닫기 버튼에 키보드 단축키 힌트 추가 +**Learning:** `title` 속성으로만 제공되는 키보드 단축키 힌트는 화면 판독기나 키보드 사용자에게 일관성 있게 전달되지 않는다. +**Action:** `title` 툴팁과 함께 `aria-keyshortcuts` 속성을 사용하여, 마우스와 보조 기술 사용자 모두가 키보드 단축키(예: Escape)를 인지할 수 있도록 구현한다. diff --git a/cloud-sync.js b/cloud-sync.js index 0e015ebe..bb1cffce 100644 --- a/cloud-sync.js +++ b/cloud-sync.js @@ -175,7 +175,7 @@ function ensureAuthUI() {