Skip to content

🎨 Palette: [UX improvement] Add :focus-visible outline to main content - #167

Closed
seonghobae wants to merge 2 commits into
mainfrom
palette/fix-skip-link-focus-5674868346664492581
Closed

🎨 Palette: [UX improvement] Add :focus-visible outline to main content#167
seonghobae wants to merge 2 commits into
mainfrom
palette/fix-skip-link-focus-5674868346664492581

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

💡 무엇을: HTML 리포트의 skip-link 타겟인 <main> 컨테이너에 :focus-visible 아웃라인 스타일을 추가했습니다.
🎯 왜: 기존에는 마우스 클릭 시 시각적 거슬림을 없애기 위해 outline: none; 처리만 되어 있었습니다. 이로 인해 스크린 리더나 키보드 사용자가 skip-link를 통해 메인 콘텐츠로 이동할 때 포커스 인디케이터가 사라져 접근성이 훼손되는 문제가 있었습니다.
📸 이전/이후: 이전에 :focus 시 아웃라인이 없었던 문제를 해결하여 탭 키를 누를 때만 #0f766e 색상의 선명한 아웃라인이 표시됩니다.
접근성: 키보드 네비게이션을 사용하는 장애인 사용자가 현재 어느 영역에 포커스가 있는지 명확히 인지할 수 있도록 WCAG 접근성 지침을 준수했습니다. 마우스 사용자 경험은 그대로 유지됩니다.


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

@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.

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

OpenCode cannot approve yet because required coverage evidence did not pass.

Review outcome

1. HIGH .github/workflows/opencode-review.yml:1 - Coverage evidence did not prove required test/docstring evidence

  • Problem: The required coverage-evidence job result was failure, so OpenCode cannot establish approval sufficiency for this head.

  • Root cause: Automated approval is only valid when the same-head coverage-evidence job proves supported repository test suites passed and configured docstring gates passed or were advisory, or reports not applicable because no supported source files or package manifests exist. Missing, failed, skipped, unavailable, or unsupported-tooling test evidence is a blocker.

  • Fix: Install or configure the repository test/docstring evidence tooling when source files or package manifests exist, rerun the current-head coverage-evidence job, and approve only after it reports success with required evidence or explicit no-source not-applicable evidence.

  • Regression test: Keep the approval branch checking needs.coverage-evidence.result == success before posting APPROVE, and publish REQUEST_CHANGES when coverage-evidence blocker states such as cancelled, skipped, failed, unsupported-tooling, or below-100 evidence are present.

  • Result: REQUEST_CHANGES

  • Reason: coverage-evidence result was failure, so required test/docstring evidence was not proven for current head 3b65c6e314968f76e068853b032ac363031fbc65.

  • Head SHA: 3b65c6e314968f76e068853b032ac363031fbc65

  • Workflow run: 29444081797

  • Workflow attempt: 1

Coverage evidence

Coverage Decision

  • Result: FAIL
  • Test evidence: not proven passing
  • Docstring evidence: not proven passing when configured
  • Failure count: 1

Changed-File Evidence Map

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Changed file (2 files)"]
  S1 --> I1["repository behavior"]
  I1 --> R1["Review risk: Changed file (2 files)"]
  R1 --> V1["required checks"]
  Evidence --> S2["Test: test_report.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_report.py"]
  R2 --> V2["targeted test run"]
Loading

@opencode-agent

opencode-agent Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

OpenCode Review Overview

  • Head SHA: 6ac6fe882a71d0f8b146f3b29938fee9a44406d5
  • Workflow run: 29444862569
  • Workflow attempt: 1
  • Gate result: REQUEST_CHANGES (approval step)

Pull request overview

OpenCode cannot approve yet because required coverage evidence did not pass.

Review outcome

1. HIGH .github/workflows/opencode-review.yml:1 - Coverage evidence did not prove required test/docstring evidence

  • Problem: The required coverage-evidence job result was failure, so OpenCode cannot establish approval sufficiency for this head.

  • Root cause: Automated approval is only valid when the same-head coverage-evidence job proves supported repository test suites passed and configured docstring gates passed or were advisory, or reports not applicable because no supported source files or package manifests exist. Missing, failed, skipped, unavailable, or unsupported-tooling test evidence is a blocker.

  • Fix: Install or configure the repository test/docstring evidence tooling when source files or package manifests exist, rerun the current-head coverage-evidence job, and approve only after it reports success with required evidence or explicit no-source not-applicable evidence.

  • Regression test: Keep the approval branch checking needs.coverage-evidence.result == success before posting APPROVE, and publish REQUEST_CHANGES when coverage-evidence blocker states such as cancelled, skipped, failed, unsupported-tooling, or below-100 evidence are present.

  • Result: REQUEST_CHANGES

  • Reason: coverage-evidence result was failure, so required test/docstring evidence was not proven for current head 6ac6fe882a71d0f8b146f3b29938fee9a44406d5.

  • Head SHA: 6ac6fe882a71d0f8b146f3b29938fee9a44406d5

  • Workflow run: 29444862569

  • Workflow attempt: 1

Coverage evidence

Coverage Decision

  • Result: FAIL
  • Test evidence: not proven passing
  • Docstring evidence: not proven passing when configured
  • Failure count: 1

Changed-File Evidence Map

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Changed file (3 files)"]
  S1 --> I1["repository behavior"]
  I1 --> R1["Review risk: Changed file (3 files)"]
  R1 --> V1["required checks"]
  Evidence --> S2["Test: test_report.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_report.py"]
  R2 --> V2["targeted test run"]
Loading

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

OpenCode cannot approve yet because required coverage evidence did not pass.

Review outcome

1. HIGH .github/workflows/opencode-review.yml:1 - Coverage evidence did not prove required test/docstring evidence

  • Problem: The required coverage-evidence job result was failure, so OpenCode cannot establish approval sufficiency for this head.

  • Root cause: Automated approval is only valid when the same-head coverage-evidence job proves supported repository test suites passed and configured docstring gates passed or were advisory, or reports not applicable because no supported source files or package manifests exist. Missing, failed, skipped, unavailable, or unsupported-tooling test evidence is a blocker.

  • Fix: Install or configure the repository test/docstring evidence tooling when source files or package manifests exist, rerun the current-head coverage-evidence job, and approve only after it reports success with required evidence or explicit no-source not-applicable evidence.

  • Regression test: Keep the approval branch checking needs.coverage-evidence.result == success before posting APPROVE, and publish REQUEST_CHANGES when coverage-evidence blocker states such as cancelled, skipped, failed, unsupported-tooling, or below-100 evidence are present.

  • Result: REQUEST_CHANGES

  • Reason: coverage-evidence result was failure, so required test/docstring evidence was not proven for current head 6ac6fe882a71d0f8b146f3b29938fee9a44406d5.

  • Head SHA: 6ac6fe882a71d0f8b146f3b29938fee9a44406d5

  • Workflow run: 29444862569

  • Workflow attempt: 1

Coverage evidence

Coverage Decision

  • Result: FAIL
  • Test evidence: not proven passing
  • Docstring evidence: not proven passing when configured
  • Failure count: 1

Changed-File Evidence Map

flowchart LR
  PR["PR changed files"] --> Evidence["OpenCode bounded evidence"]
  Evidence --> S1["Changed file (3 files)"]
  S1 --> I1["repository behavior"]
  I1 --> R1["Review risk: Changed file (3 files)"]
  R1 --> V1["required checks"]
  Evidence --> S2["Test: test_report.py"]
  S2 --> I2["regression suite"]
  I2 --> R2["Review risk: Test: test_report.py"]
  R2 --> V2["targeted test run"]
Loading

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

Note

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Adds an accessible keyboard-only focus indicator to the HTML diagnostics report’s skip-link target (<main>), while preserving the existing “no outline on mouse focus” behavior.

Changes:

  • Add main:focus-visible outline styling in the report CSS.
  • Add a regression test to ensure the <main> target remains programmatically focusable and includes the focus-visible styling.
  • Document the accessibility improvement in the changelog and internal palette notes.

Reviewed changes

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

File Description
tests/test_report.py Adds a regression test asserting the rendered HTML includes main skip-link target attributes and focus-visible CSS.
python/fast_mlsirm/report.py Introduces main:focus-visible outline styling in the generated report CSS.
CHANGELOG.md Documents the new keyboard-visible focus outline and accompanying regression test.
.jules/palette.md Adds a learning/action note about pairing outline: none with :focus-visible.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +501 to +504
main:focus-visible {
outline: 3px solid #0f766e;
outline-offset: 3px;
}
Comment thread tests/test_report.py
Comment on lines +254 to +256
assert "main:focus-visible {" in html
assert "main:focus {" in html
assert "outline: 3px solid #0f766e;" in html
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 26, 2026 09:31
@seonghobae
seonghobae force-pushed the palette/fix-skip-link-focus-5674868346664492581 branch from d7d3009 to 4096703 Compare July 26, 2026 09:31
@coderabbitai

coderabbitai Bot commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@seonghobae, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 36 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 2d60aa5e-69ad-4d6e-92db-76780992c643

📥 Commits

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

📒 Files selected for processing (4)
  • .jules/palette.md
  • CHANGELOG.md
  • python/fast_mlsirm/report.py
  • tests/test_report.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch palette/fix-skip-link-focus-5674868346664492581

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

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

tests/test_report.py:256

  • The test can pass even if the main:focus-visible rule doesn't set the outline, because the HTML also contains the same outline: 3px solid #0f766e; in the .skip-link:focus-visible rule. Make the assertion tie the outline to the main:focus-visible block to avoid a false positive.
    assert 'id="main-content"' in html
    assert 'tabindex="-1"' in html
    assert "main:focus-visible {" in html
    assert "main:focus {" in html
    assert "outline: 3px solid #0f766e;" in html

Comment thread CHANGELOG.md

### Changed

- Added a keyboard-visible focus outline (`main:focus-visible`) to the
@seonghobae

Copy link
Copy Markdown
Contributor Author

Superseded: Palette accessibility/empty-state/tabular-nums/skip-link themes already landed on main (e.g. #283 empty-state ARIA) or this branch is CONFLICTING with no clean rebase path. Closing as superseded.

@seonghobae

Copy link
Copy Markdown
Contributor Author

Closing as superseded: Palette theme already on main or blocked by unresolvable conflicts with current main. Prefer re-open from a fresh branch if still needed.

@seonghobae seonghobae closed this Jul 31, 2026
@google-labs-jules

Copy link
Copy Markdown

Closing as superseded: Palette theme already on main or blocked by unresolvable conflicts with current main. Prefer re-open from a fresh branch if still needed.

Understood. Acknowledging that this work is now obsolete and stopping work on this task.

@google-labs-jules

Copy link
Copy Markdown

Superseded: Palette accessibility/empty-state/tabular-nums/skip-link themes already landed on main (e.g. #283 empty-state ARIA) or this branch is CONFLICTING with no clean rebase path. Closing as superseded.

Acknowledged. Stopping work as this is superseded.

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