Skip to content

🎨 Palette: Improve accessibility for overview stats collapsible#43

Closed
seonghobae wants to merge 1 commit into
mainfrom
palette-overview-stats-a11y-16740888936755054080
Closed

🎨 Palette: Improve accessibility for overview stats collapsible#43
seonghobae wants to merge 1 commit into
mainfrom
palette-overview-stats-a11y-16740888936755054080

Conversation

@seonghobae

Copy link
Copy Markdown

πŸ’‘ What

Added proper ARIA disclosure widget attributes to the collapsible section in the Dashboard Overview Stats component (packages/web/src/components/dashboard/overview-stats.tsx).

🎯 Why

Previously, the button toggling the "What do these numbers mean?" explanation did not convey its state to assistive technologies, nor did it programmatically link to the content it was controlling.

πŸ“Έ Before/After

(Visuals remain identical since this is purely a semantic HTML/A11y enhancement)

β™Ώ Accessibility

  • Added aria-expanded={expanded} to clearly communicate the disclosure state to screen readers.
  • Added aria-controls="overview-stats-explanation" and a corresponding id on the content container to semantically link the toggle with its target.
  • Added aria-hidden="true" to purely decorative elements inside the button (the β–Έ icon and the "click to collapse/expand" text) to minimize screen reader noise, since the state is already inherently communicated via aria-expanded.

PR created automatically by Jules for task 16740888936755054080 started by @seonghobae

Added proper ARIA attributes to the collapsible "What do these numbers mean?"
section in `overview-stats.tsx` to provide standard accessibility for screen readers.

- Linked button to collapsible content with `aria-controls`
- Reflected collapsed/expanded state with `aria-expanded`
- Added `aria-hidden="true"` to visual icons/instructional texts to avoid redundancy.
@google-labs-jules

Copy link
Copy Markdown

πŸ‘‹ 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 @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

πŸ“ Walkthrough

κ°œμš”

OverviewStats μ»΄ν¬λ„ŒνŠΈμ˜ μ„€λͺ… ν† κΈ€ λ²„νŠΌμ— aria-expanded, aria-controls, id 속성이 μΆ”κ°€λ˜μ–΄ 슀크린 리더 μ‚¬μš©μžμ™€ 보쑰 κΈ°μˆ μ— λŒ€ν•œ 접근성이 κ°œμ„ λ©λ‹ˆλ‹€.

λ³€κ²½ 사항

Overview Stats μ ‘κ·Όμ„± κ°œμ„ 

λ ˆμ΄μ–΄ / 파일 μš”μ•½
μ„€λͺ… ν† κΈ€ λ²„νŠΌ ARIA 속성 μΆ”κ°€
packages/web/src/components/dashboard/overview-stats.tsx
ν† κΈ€ λ²„νŠΌμ— aria-expanded(ν™•μž₯ μƒνƒœ)와 aria-controls(μ œμ–΄ λŒ€μƒ) 속성을 μΆ”κ°€ν•˜κ³ , λ Œλ”λ§λ˜λŠ” μ„€λͺ… μ»¨ν…Œμ΄λ„ˆμ— id="overview-stats-explanation"을 λΆ€μ—¬ν•˜μ—¬ λ²„νŠΌκ³Ό μ„€λͺ… μ˜μ—­ κ°„μ˜ λͺ…μ‹œμ  연결을 κ΅¬μ„±ν•©λ‹ˆλ‹€.

🎯 1 (Trivial) | ⏱️ ~3λΆ„

μž‘μ€ λ³€ν™”μ΄μ§€λ§Œ 큰 의미λ₯Ό λ‹΄μ•„,
λ²„νŠΌκ³Ό μ„€λͺ…을 μ—°κ²°ν•˜λŠ” ARIA 속성듀,
슀크린 리더 μ‚¬μš©μžλ„ 이제 λͺ…ν™•νžˆ μ•Œ 수 μžˆλ„€!
μ ‘κ·Όμ„±μ˜ ν•œ 걸음, ν•¨κ»˜ν•˜λŠ” μ›Ή 🌐


Caution

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

  • Ignore

❌ Failed checks (1 error)

Check name Status Explanation Resolution
Docstring Coverage ❌ Error Docstring coverage is 0.00% which is insufficient. The required threshold is 100.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
βœ… Passed checks (4 passed)
Check name Status Explanation
Title check βœ… Passed 제λͺ©μ€ ν’€ λ¦¬ν€˜μŠ€νŠΈμ˜ μ£Όμš” λ³€κ²½ 사항인 μ ‘κ·Όμ„± κ°œμ„ μ„ λͺ…ν™•ν•˜κ²Œ μ„€λͺ…ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€.
Description check βœ… Passed μ„€λͺ…은 λ³€κ²½ 사항과 관련이 있으며, ARIA 속성 μΆ”κ°€λ₯Ό ν†΅ν•œ μ ‘κ·Όμ„± κ°œμ„ μ— λŒ€ν•΄ μƒμ„Έν•˜κ²Œ μ„€λͺ…ν•©λ‹ˆλ‹€.
Linked Issues check βœ… Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check βœ… Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
πŸ“ Generate docstrings
  • Create stacked PR
  • Commit on current branch
πŸ§ͺ Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch palette-overview-stats-a11y-16740888936755054080
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch palette-overview-stats-a11y-16740888936755054080

Comment @coderabbitai help to get the list of available commands and usage tips.

@seonghobae

Copy link
Copy Markdown
Author

μ΅œμ‹  upstream/main κΈ°μ€€μœΌλ‘œ 이 PR은 80개 파일의 stale diffλ₯Ό ν¬ν•¨ν•©λ‹ˆλ‹€. 특히 .claude agent/skill 파일 μ‚­μ œμ™€ 였래된 μ›Œν¬ν”Œλ‘œμš°/lockfile/env 변경이 μ„žμ—¬ μžˆμ–΄ κ·ΈλŒ€λ‘œ μœ μ§€ν•˜κ±°λ‚˜ upstream에 올리면 이미 반영된 변경을 되돌릴 μœ„ν—˜μ΄ ν½λ‹ˆλ‹€.

ν˜„μž¬ νλŠ” upstream #30 β†’ upstream #21 μˆœμ„œλ‘œ 정리 μ€‘μž…λ‹ˆλ‹€. 이 PR의 아이디어가 μ—¬μ „νžˆ ν•„μš”ν•˜λ©΄ μ΅œμ‹  upstream/mainμ—μ„œ 단일 λͺ©μ  브랜치둜 κΉ¨λ—ν•˜κ²Œ λ‹€μ‹œ μΆ”μΆœν•˜κ² μŠ΅λ‹ˆλ‹€. stale PR둜 λ‹«μŠ΅λ‹ˆλ‹€.

@seonghobae seonghobae closed this Jun 10, 2026
@google-labs-jules

Copy link
Copy Markdown

μ΅œμ‹  upstream/main κΈ°μ€€μœΌλ‘œ 이 PR은 80개 파일의 stale diffλ₯Ό ν¬ν•¨ν•©λ‹ˆλ‹€. 특히 .claude agent/skill 파일 μ‚­μ œμ™€ 였래된 μ›Œν¬ν”Œλ‘œμš°/lockfile/env 변경이 μ„žμ—¬ μžˆμ–΄ κ·ΈλŒ€λ‘œ μœ μ§€ν•˜κ±°λ‚˜ upstream에 올리면 이미 반영된 변경을 되돌릴 μœ„ν—˜μ΄ ν½λ‹ˆλ‹€.

ν˜„μž¬ νλŠ” upstream #30 β†’ upstream #21 μˆœμ„œλ‘œ 정리 μ€‘μž…λ‹ˆλ‹€. 이 PR의 아이디어가 μ—¬μ „νžˆ ν•„μš”ν•˜λ©΄ μ΅œμ‹  upstream/mainμ—μ„œ 단일 λͺ©μ  브랜치둜 κΉ¨λ—ν•˜κ²Œ λ‹€μ‹œ μΆ”μΆœν•˜κ² μŠ΅λ‹ˆλ‹€. stale PR둜 λ‹«μŠ΅λ‹ˆλ‹€.

Understood. Acknowledging that this work is now obsolete and stopping work on this task. I will not proceed further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant