Skip to content

🎨 Palette: 빈 μƒνƒœ(Empty State)에 ARIA status μ—­ν•  μΆ”κ°€ - #323

Closed
seonghobae wants to merge 1 commit into
mainfrom
palette-empty-states-a11y-6135135559410135008
Closed

🎨 Palette: 빈 μƒνƒœ(Empty State)에 ARIA status μ—­ν•  μΆ”κ°€#323
seonghobae wants to merge 1 commit into
mainfrom
palette-empty-states-a11y-6135135559410135008

Conversation

@seonghobae

@seonghobae seonghobae commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

What: ν…Œμ΄λΈ”μ΄λ‚˜ μ„Ήμ…˜μ— 데이터가 없을 λ•Œ ν‘œμ‹œλ˜λŠ” 빈 μƒνƒœ(Empty State) μš”μ†Œλ₯Ό <p> νƒœκ·Έμ—μ„œ <div class="empty-state" role="status">둜 λ³€κ²½ν–ˆμŠ΅λ‹ˆλ‹€.
Why: 데이터가 없을 λ•Œ 슀크린 리더 μ‚¬μš©μžκ°€ ν•΄λ‹Ή 사싀을 λ°©ν•΄λ°›μ§€ μ•Šκ³  μžμ—°μŠ€λŸ½κ²Œ 인지할 수 μžˆλ„λ‘ 돕기 μœ„ν•¨μž…λ‹ˆλ‹€.
Before/After: μ‹œκ°μ μΈ λ³€κ²½ 사항은 μ—†μœΌλ©° 슀크린 리더 κ²½ν—˜λ§Œ κ°œμ„ λ©λ‹ˆλ‹€.
Accessibility: ARIA live region 속성인 role="status"λ₯Ό μΆ”κ°€ν•˜μ—¬ 빈 μƒνƒœ λ©”μ‹œμ§€κ°€ 적절히 λ‚­λ…λ˜λ„λ‘ κ°œμ„ ν–ˆμŠ΅λ‹ˆλ‹€.


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

Summary by CodeRabbit

  • κ°œμ„  사항

    • 빈 ν…Œμ΄λΈ” μƒνƒœκ°€ λ³΄μ‘°κΈ°μˆ μ— 더 λͺ…ν™•νžˆ μ „λ‹¬λ˜λ„λ‘ 접근성을 κ°œμ„ ν–ˆμŠ΅λ‹ˆλ‹€.
    • 빈 μƒνƒœ λ©”μ‹œμ§€μ— μƒνƒœ μ•Œλ¦Ό 역할을 μ μš©ν•΄ 동적 μ½˜ν…μΈ  변경을 인식할 수 μžˆμŠ΅λ‹ˆλ‹€.
  • λ¬Έμ„œ

    • 빈 μƒνƒœ μš”μ†Œμ— μ ‘κ·Όμ„± 역할을 μ μš©ν•˜λŠ” μž‘μ„± 지침을 μΆ”κ°€ν–ˆμŠ΅λ‹ˆλ‹€.

Copilot AI review requested due to automatic review settings July 27, 2026 07:43
@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 Jul 27, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. πŸŽ‰

ℹ️ Recent review info
βš™οΈ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: abc9653c-20c6-49b3-967d-37cebf874087

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between a3123a2 and e2b11d1.

πŸ“’ Files selected for processing (2)
  • .Jules/palette.md
  • python/fast_mlsirm/report.py

πŸ“ Walkthrough

Walkthrough

빈 ν…Œμ΄λΈ”μ˜ empty-state λ§ˆν¬μ—…μ΄ ARIA role="status"λ₯Ό μ‚¬μš©ν•˜λŠ” <div>둜 λ³€κ²½λ˜μ—ˆμœΌλ©°, κ΄€λ ¨ μž‘μ„± 지침이 λ¬Έμ„œμ— μΆ”κ°€λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

Changes

빈 μƒνƒœ μ ‘κ·Όμ„±

Layer / File(s) Summary
빈 μƒνƒœ λ§ˆν¬μ—… 및 μ§€μΉ¨
.Jules/palette.md, python/fast_mlsirm/report.py
빈 ν…Œμ΄λΈ” 좜λ ₯이 <div class="empty-state" role="status">λ₯Ό μ‚¬μš©ν•˜λ„λ‘ λ³€κ²½λ˜μ—ˆκ³ , λ¬Έμ„œμ— ν•΄λ‹Ή ARIA μž‘μ„± 지침이 μΆ”κ°€λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

  • ContextualWisdomLab/fast-mlsirm#312: λ™μΌν•œ λ³΄κ³ μ„œ ν…Œμ΄λΈ”μ˜ μ ‘κ·Όμ„± λ§ˆν¬μ—…κ³Ό κ΄€λ ¨ 지침을 μˆ˜μ •ν•©λ‹ˆλ‹€.

Suggested reviewers: copilot

πŸš₯ Pre-merge checks | βœ… 5
βœ… Passed checks (5 passed)
Check name Status Explanation
Description Check βœ… Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check βœ… Passed 빈 μƒνƒœ μš”μ†Œμ— ARIA status 역할을 μΆ”κ°€ν•˜λŠ” μ£Όμš” 변경을 λͺ…ν™•ν•˜κ²Œ μš”μ•½ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€.
Docstring Coverage βœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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-empty-states-a11y-6135135559410135008

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

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improve the accessibility of the Python HTML report’s β€œempty state” messaging by converting the empty-state markup to an ARIA live-region (role="status") and documenting the pattern in the palette guidance.

Changes:

  • Update _table() to render empty states as <div class="empty-state" role="status">…</div> instead of a <p>.
  • Document the recommended empty-state live-region pattern in .Jules/palette.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
python/fast_mlsirm/report.py Switch empty-state output to a role="status" container for improved screen reader behavior.
.Jules/palette.md Add palette guidance describing the role="status" empty-state pattern.

πŸ’‘ Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 313 to +315
def _table(rows: list[dict[str, Any]], *, label: str, limit: int = 12) -> str:
if not rows:
return '<p class="empty-state">No rows were recorded in this section.</p>'
return '<div class="empty-state" role="status">No rows were recorded in this section.</div>'
Comment thread .Jules/palette.md
Comment on lines +11 to +13
## 2024-11-05 - ARIA Live Region for Empty States
**Learning:** Using `role="status"` (an ARIA live region role) on empty state container elements (like a `<div>`) instead of standard paragraph tags ensures assistive technologies like screen readers actively announce when no data or rows are recorded, without interrupting the user's flow.
**Action:** Always use `<div class="empty-state" role="status">` for empty states instead of basic paragraphs.

Copy link
Copy Markdown
Contributor Author

쀑볡 정리: 리포트 빈 μƒνƒœ(empty state)에 ARIA role="status"λ₯Ό μΆ”κ°€ν•˜λŠ” λ³€κ²½μœΌλ‘œ, #283 κ³Ό 동일 λŒ€μƒΒ·λ™μΌ μ·¨μ§€μž…λ‹ˆλ‹€. #283 을 λŒ€ν‘œλ‘œ 남기고 λ‹«μŠ΅λ‹ˆλ‹€. ν•„μš” μ‹œ μž¬μ˜€ν”ˆ κ°€λŠ₯ν•©λ‹ˆλ‹€.


Generated by Claude Code

@google-labs-jules

Copy link
Copy Markdown

쀑볡 정리: 리포트 빈 μƒνƒœ(empty state)에 ARIA role="status"λ₯Ό μΆ”κ°€ν•˜λŠ” λ³€κ²½μœΌλ‘œ, #283 κ³Ό 동일 λŒ€μƒΒ·λ™μΌ μ·¨μ§€μž…λ‹ˆλ‹€. #283 을 λŒ€ν‘œλ‘œ 남기고 λ‹«μŠ΅λ‹ˆλ‹€. ν•„μš” μ‹œ μž¬μ˜€ν”ˆ κ°€λŠ₯ν•©λ‹ˆλ‹€.


Generated by Claude Code

μ•Œκ² μŠ΅λ‹ˆλ‹€. ν•΄λ‹Ή PR이 μ€‘λ³΅μœΌλ‘œ 인해 λ‹«ν˜”μŒμ„ ν™•μΈν•˜μ˜€μœΌλ©°, 이 μž‘μ—…μ€ μ—¬κΈ°μ„œ μ€‘λ‹¨ν•˜κ² μŠ΅λ‹ˆλ‹€.

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.

2 participants