Skip to content

๐ŸŽจ Palette: HTML ๋ฆฌํฌํŠธ์˜ ๋ณธ๋ฌธ ๊ฑด๋„ˆ๋›ฐ๊ธฐ ๋งํฌ ํƒ€๊ฒŸ์— ๋Œ€ํ•œ ํ‚ค๋ณด๋“œ ํฌ์ปค์Šค ์‹œ๊ฐ ํ”ผ๋“œ๋ฐฑ ์ถ”๊ฐ€ - #330

Closed
seonghobae wants to merge 1 commit into
mainfrom
palette/a11y-focus-visible-10892328335187518171

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

๐Ÿ’ก What (๋ฌด์—‡์„ ๋ณ€๊ฒฝํ–ˆ๋Š”๊ฐ€)

HTML ์ง„๋‹จ ๋ฆฌํฌํŠธ(python/fast_mlsirm/report.py)์˜ CSS์— main:focus-visible ์†์„ฑ์„ ์ถ”๊ฐ€ํ•˜์—ฌ <main> ์š”์†Œ๊ฐ€ ํ‚ค๋ณด๋“œ ํƒ์ƒ‰์„ ํ†ตํ•ด ํฌ์ปค์Šค๋  ๋•Œ ์‹œ๊ฐ์ ์ธ ํ…Œ๋‘๋ฆฌ(outline)๊ฐ€ ๋‚˜ํƒ€๋‚˜๋„๋ก ๊ฐœ์„ ํ–ˆ์Šต๋‹ˆ๋‹ค.

๐ŸŽฏ Why (์™œ ๋ณ€๊ฒฝํ–ˆ๋Š”๊ฐ€)

๊ธฐ์กด ์ฝ”๋“œ์—๋Š” main:focus { outline: none; }๋งŒ ์„ค์ •๋˜์–ด ์žˆ์–ด, ํ‚ค๋ณด๋“œ ์‚ฌ์šฉ์ž๋‚˜ ์Šคํฌ๋ฆฐ ๋ฆฌ๋” ์‚ฌ์šฉ์ž๊ฐ€ 'Skip to main content(๋ณธ๋ฌธ์œผ๋กœ ๊ฑด๋„ˆ๋›ฐ๊ธฐ)' ๋งํฌ๋ฅผ ์‚ฌ์šฉํ•ด <main> ์˜์—ญ์œผ๋กœ ์ด๋™ํ–ˆ์„ ๋•Œ ์ดˆ์ (Focus)์ด ์–ด๋””์— ์žˆ๋Š”์ง€ ์‹œ๊ฐ์ ์ธ ํ”ผ๋“œ๋ฐฑ์„ ์ œ๊ณตํ•˜์ง€ ๋ชปํ•˜๋Š” ์ ‘๊ทผ์„ฑ ๋ฌธ์ œ๊ฐ€ ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค. ๋งˆ์šฐ์Šค ํด๋ฆญ ์‹œ์˜ ๋ถˆํ•„์š”ํ•œ ํฌ์ปค์Šค ๋ง์€ ์ˆจ๊ธฐ๋ฉด์„œ, ํ‚ค๋ณด๋“œ ํƒ์ƒ‰ ์‚ฌ์šฉ์ž์—๊ฒŒ๋งŒ ํฌ์ปค์Šค ํ…Œ๋‘๋ฆฌ๋ฅผ ์ œ๊ณตํ•˜์—ฌ ์‚ฌ์šฉ์„ฑ์„ ํ–ฅ์ƒ์‹œํ‚ค๊ธฐ ์œ„ํ•จ์ž…๋‹ˆ๋‹ค.

๐Ÿ“ธ Before/After (๋ณ€๊ฒฝ ์ „ํ›„)

  • Before: 'Skip to main content' ๋งํฌ ์ž‘๋™ ์‹œ ํ™”๋ฉด ์ƒ๋‹จ ๋ณธ๋ฌธ ์˜์—ญ์œผ๋กœ ํฌ์ปค์Šค๊ฐ€ ์ด๋™ํ•˜์ง€๋งŒ, ํ™”๋ฉด์— ์‹œ๊ฐ์ ์ธ ํ…Œ๋‘๋ฆฌ๊ฐ€ ์ „ํ˜€ ๋‚˜ํƒ€๋‚˜์ง€ ์•Š์•˜์Šต๋‹ˆ๋‹ค.
  • After: 'Skip to main content' ๋งํฌ๋ฅผ ํ†ตํ•ด ํฌ์ปค์Šค ์ด๋™ ์‹œ <main> ์˜์—ญ ์ฃผ๋ณ€์— ๊ธฐ์กด ๋””์ž์ธ๊ณผ ์–ด์šธ๋ฆฌ๋Š” 3px ๋‘๊ป˜์˜ ์ฒญ๋ก์ƒ‰ ํ…Œ๋‘๋ฆฌ๊ฐ€ ๋ช…ํ™•ํ•˜๊ฒŒ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค. (Playwright ์‹œ๊ฐ ๊ฒ€์ฆ ์™„๋ฃŒ)

โ™ฟ Accessibility (์ ‘๊ทผ์„ฑ ๊ฐœ์„  ์‚ฌํ•ญ)

์ด PR์€ WCAG ์ดˆ์ (Focus) ํ‘œ์‹œ ๊ด€๋ จ ๊ฐ€์ด๋“œ๋ผ์ธ์„ ์ค€์ˆ˜ํ•ฉ๋‹ˆ๋‹ค. :focus-visible ๊ฐ€์ƒ ํด๋ž˜์Šค๋ฅผ ํ™œ์šฉํ•˜์—ฌ ๋งˆ์šฐ์Šค/ํ„ฐ์น˜ ์‚ฌ์šฉ์ž์˜ ๊ฒฝํ—˜์€ ๋ฐฉํ•ดํ•˜์ง€ ์•Š๊ณ , ์˜ค์ง ํ‚ค๋ณด๋“œ ์‚ฌ์šฉ์ž์—๊ฒŒ๋งŒ ๋…ผ๋ฆฌ์ ์ธ ์‹œ๊ฐ์  ํ๋ฆ„(visual indicator)์„ ์ œ๊ณตํ•˜๋„๋ก ์ •๋ฐ€ํ•˜๊ฒŒ ์„ค๊ณ„๋˜์—ˆ์Šต๋‹ˆ๋‹ค.


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

This commit fixes an accessibility issue where the `<main>` element,
acting as the target for the "Skip to main content" link, lacked a
visible focus state. By adding a `:focus-visible` CSS rule alongside
the existing `:focus { outline: none; }`, keyboard users now receive
clear visual feedback (a 3px teal outline) when they navigate to the
main content area, without introducing unnecessary focus rings on
mouse clicks.
@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.

Copilot AI review requested due to automatic review settings July 27, 2026 19:07
@coderabbitai

coderabbitai Bot commented Jul 27, 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: be553de0-75da-4c2c-9b6c-7e54e3308aec

๐Ÿ“ฅ Commits

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

๐Ÿ“’ Files selected for processing (2)
  • python/fast_mlsirm/report.py
  • python/fast_mlsirm/report.py.orig
โœจ Finishing Touches
๐Ÿงช Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch palette/a11y-focus-visible-10892328335187518171

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

This PR aims to improve keyboard accessibility in the standalone HTML diagnostics report by ensuring the <main> skip-link target provides a visible focus indicator during keyboard navigation.

Changes:

  • Added a main:focus-visible outline style in the report CSS to show a focus ring when <main> receives keyboard focus.
  • Added a new python/fast_mlsirm/report.py.orig file that appears to be a full duplicate of report.py (not referenced elsewhere).

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 Adds a main:focus-visible rule intended to restore visible focus indication for keyboard users.
python/fast_mlsirm/report.py.orig Introduces a duplicate โ€œ.origโ€ copy of the report module (likely accidental / out of scope).

๐Ÿ’ก 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 on lines +1 to +5
from __future__ import annotations

import hashlib
import json
import math

Copy link
Copy Markdown
Contributor Author

์ค‘๋ณต/junk ์ •๋ฆฌ: skip-link focus-visible ์ทจ์ง€๋Š” ๋ฆฌ๋ทฐ ๋Œ€๊ธฐ ์ค‘์ธ #167 ๊ณผ ๋™์ผํ•˜๋ฉฐ, ์ด PR์—๋Š” report.py.orig(+700์ค„๋Œ€ ๋ฐฑ์—… ํŒŒ์ผ)๊ฐ€ ์‹ค์ˆ˜๋กœ ์ปค๋ฐ‹๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ฃน๋‹น ๋Œ€ํ‘œ 1๊ฑด๋งŒ ๋‚จ๊ธฐ๋Š” ๋ฐฑ๋กœ๊ทธ ์ •๋ฆฌ ๋ฐฉ์นจ์— ๋”ฐ๋ผ ๋‹ซ์Šต๋‹ˆ๋‹ค. ํ•„์š” ์‹œ ์žฌ์˜คํ”ˆ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.


Generated by Claude Code

@google-labs-jules

Copy link
Copy Markdown

์ค‘๋ณต/junk ์ •๋ฆฌ: skip-link focus-visible ์ทจ์ง€๋Š” ๋ฆฌ๋ทฐ ๋Œ€๊ธฐ ์ค‘์ธ #167 ๊ณผ ๋™์ผํ•˜๋ฉฐ, ์ด PR์—๋Š” report.py.orig(+700์ค„๋Œ€ ๋ฐฑ์—… ํŒŒ์ผ)๊ฐ€ ์‹ค์ˆ˜๋กœ ์ปค๋ฐ‹๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค. ๊ทธ๋ฃน๋‹น ๋Œ€ํ‘œ 1๊ฑด๋งŒ ๋‚จ๊ธฐ๋Š” ๋ฐฑ๋กœ๊ทธ ์ •๋ฆฌ ๋ฐฉ์นจ์— ๋”ฐ๋ผ ๋‹ซ์Šต๋‹ˆ๋‹ค. ํ•„์š” ์‹œ ์žฌ์˜คํ”ˆ ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค.


Generated by Claude Code

Understood. Acknowledging that this PR is being closed due to duplicate backlog item (#167) and stopping work.

@seonghobae seonghobae closed this Jul 29, 2026
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