🎨 Palette: 대시보드 접근성 및 포커스 개선#369
Conversation
💡 What: 검색결과 건수에 aria-live="polite" 속성 추가 및 셀렉트 박스 포커스 복원 기능 추가 🎯 Why: 화면 리렌더링 시 키보드 포커스가 사라지는 문제를 해결하고, 필터링 결과가 스크린 리더에 읽히도록 개선 ♿ Accessibility: aria-live를 통한 동적 텍스트 안내 및 select DOM 포커스 유지 처리
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
There was a problem hiding this comment.
Pull request overview
Improves the scanner dashboard’s accessibility by announcing filter result count changes to assistive technologies and by restoring keyboard focus after a severity <select> change triggers a full re-render.
Changes:
- Add an
aria-live="polite"announcement for the findings count/filtered count summary. - Restore focus to the severity
<select>afterrender()recreates DOM nodes. - Document the accessibility learnings in
.Jules/palette.md.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| scanner/dashboard/index.html | Adds live announcements for dynamic result counts and restores <select> focus post-render. |
| .Jules/palette.md | Records the accessibility learnings/actions related to focus restoration and live regions. |
| app.innerHTML = ` | ||
| <h1>Dashboard</h1> | ||
| <p class="sub">${ALL.length} findings · <strong>${blocking}</strong> deploy-blocking (gate ${blocking?'active':'clear'})</p> | ||
| <p class="sub" aria-live="polite">${filtered.length === ALL.length ? ALL.length + ' findings' : 'Showing ' + filtered.length + ' of ' + ALL.length + ' findings'} · <strong>${blocking}</strong> deploy-blocking (gate ${blocking?'active':'clear'})</p> |
🎨 Palette: 대시보드 접근성 및 포커스 개선
💡 What: 검색결과 건수에 aria-live="polite" 속성 추가 및 셀렉트 박스 포커스 복원 기능 추가
🎯 Why: 화면 리렌더링 시 키보드 포커스가 사라지는 문제를 해결하고, 필터링 결과가 스크린 리더에 읽히도록 개선
♿ Accessibility: aria-live를 통한 동적 텍스트 안내 및 select DOM 포커스 유지 처리
PR created automatically by Jules for task 12526355644308655603 started by @seonghobae