diff --git a/.jules/palette.md b/.jules/palette.md index ea004e2d..96ca152a 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 - Label-in-name for proxy buttons +**Learning:** When replacing a native file input with a proxy button for better styling, duplicating the `aria-label` on the button when its visible text already perfectly describes the action creates redundant screen reader output. If the proxy button's text is 'Upload findings file', adding `aria-label="Upload findings file"` is unnecessary and violates the label-in-name principle. +**Action:** Rely on the button's visible text for its accessible name, and keep the visually hidden native input hidden from screen readers to prevent duplicate interactive elements. diff --git a/CHANGELOG.d/9999-dashboard-header-upload-btn.md b/CHANGELOG.d/9999-dashboard-header-upload-btn.md new file mode 100644 index 00000000..62f104fc --- /dev/null +++ b/CHANGELOG.d/9999-dashboard-header-upload-btn.md @@ -0,0 +1,2 @@ +### Changed +- (Dashboard) 헤더의 기본 파일 업로드 입력을 스타일이 적용된 프록시 버튼으로 교체하여 시각적 일관성과 사용자 경험을 개선했습니다. diff --git a/scanner/dashboard/index.html b/scanner/dashboard/index.html index 132bc31b..2e9ae40f 100644 --- a/scanner/dashboard/index.html +++ b/scanner/dashboard/index.html @@ -93,7 +93,8 @@ AppGuardrail - + +
@@ -325,6 +326,8 @@