From be8582e209f8d9438e053ada8f52b215ce6be086 Mon Sep 17 00:00:00 2001 From: seonghobae <8172694+seonghobae@users.noreply.github.com> Date: Sat, 3 Oct 2026 05:05:37 +0000 Subject: [PATCH 1/9] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EC=97=85=EB=A1=9C=EB=93=9C=20proxy=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - index.html의 native 파일 입력을 숨기고 접근성 있는 proxy 버튼으로 대체합니다. - proxy 버튼은 JS event listener를 통하여 동작합니다. - .jules/palette.md에 a11y 관련 학습 내용을 기록하였습니다. - 관련 테스트를 수정/추가하였습니다. --- .jules/palette.md | 4 ++++ scanner/dashboard/index.html | 12 +++++++++++- tests/test_dashboard_core.py | 21 +++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) diff --git a/.jules/palette.md b/.jules/palette.md index ea004e2d2..7759242ed 100644 --- a/.jules/palette.md +++ b/.jules/palette.md @@ -81,3 +81,7 @@ ## 2026-08-12 - Skip to Content Accessibility **Learning:** Screen reader and keyboard-only users experience significant friction when forced to navigate through repetitive header controls on every page load. **Action:** Keep a visible-on-focus skip link as the first interactive element, target a programmatically focusable main container, and give the focused link a high-contrast outline. + +## 2026-08-15 - Native file inputs replacement +**Learning:** `aria-hidden="true"`는 파일 입력 요소를 접근성 트리에서 제거한다. native input을 숨기고 접근성을 보장하기 위해서 프록시 버튼을 사용할 수 있다. +**Action:** `aria-hidden="true"`, `class="sr-only" tabindex="-1"`을 native input에 적용하여 숨기고 proxy button을 통해 동작을 실행한다. diff --git a/scanner/dashboard/index.html b/scanner/dashboard/index.html index 132bc31b2..fd01e0b8f 100644 --- a/scanner/dashboard/index.html +++ b/scanner/dashboard/index.html @@ -93,7 +93,8 @@ AppGuardrail - + +
@@ -388,6 +389,15 @@