Repository navigation
fix(chips): keep the focus ring inside the chip so it doesn't cover the next word - #493
Conversation
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Latest result Pull request merged. Final answersSession Pull request merged. PR #493 is ready to merge. The earlier P1 finding is fixed and its thread is resolved: image-only avatar chips show an inset keyboard focus ring without covering adjacent text. All 46 chip tests passed locally, lint passed with warnings, and hosted checks, including Playwright, passed. No further changes were needed. Session Pushed 4065a35 and resolved the P1 review finding. Image-only avatar chips now show an inset keyboard focus ring that stays clear of adjacent text. All 46 chip tests passed, and lint exited successfully with warnings. A DNS failure prevented the local Chromium download, so the new Playwright regression awaits hosted CI. Session Pushed 4065a35 and resolved the P1 review finding. Image-only avatar chips now show an inset keyboard focus ring that stays clear of adjacent text. All 46 chip tests passed, and lint exited successfully with warnings. A DNS failure prevented the local Chromium download, so the new Playwright regression awaits hosted CI. Session Pushed 4065a35 and resolved the P1 review finding. Image-only avatar chips now show an inset keyboard focus ring that stays clear of adjacent text. All 46 chip tests passed, and lint exited successfully with warnings. A DNS failure prevented the local Chromium download, so the new Playwright regression awaits hosted CI. Session Pushed 4065a35 and resolved the P1 review finding. Image-only avatar chips now show an inset keyboard focus ring that stays clear of adjacent text. All 46 chip tests passed, and lint exited successfully with warnings. A DNS failure prevented the local Chromium download, so the new Playwright regression awaits hosted CI. Session Pushed 4065a35 and resolved the P1 review finding. Image-only avatar chips now show an inset keyboard focus ring that stays clear of adjacent text. All 46 chip tests passed, and lint exited successfully with warnings. A DNS failure prevented the local Chromium download, so the new Playwright regression awaits hosted CI. Session Pushed 4065a35 and resolved the P1 review finding. Image-only avatar chips now show an inset keyboard focus ring that stays clear of adjacent text. All 46 chip tests passed, and lint exited successfully with warnings. A DNS failure prevented the local Chromium download, so the new Playwright regression awaits hosted CI. Session Pushed 4065a35 and resolved the P1 review finding. Image-only avatar chips now show an inset keyboard focus ring that stays clear of adjacent text. All 46 chip tests passed, and lint exited successfully with warnings. A DNS failure prevented the local Chromium download, so the new Playwright regression awaits hosted CI. Pushed 4065a35 and resolved the P1 review finding. Image-only avatar chips now show an inset keyboard focus ring that stays clear of adjacent text. All 46 chip tests passed, and lint exited successfully with warnings. A DNS failure prevented the local Chromium download, so the new Playwright regression awaits hosted CI. |
comark-annotate
comark-badge
comark-bundle
comark-cards
comark-carousel
comark-cast
comark-charts
comark-chat
comark-chips
comark-cjk
comark-code
comark-code-notes
comark-colors
comark-comments
comark-critic
comark-deflist
comark-details
comark-diagrams
comark-diff
comark-embed
comark-fields
comark-figure
comark-file-tree
comark-footnotes
comark-git-graph
comark-github
comark-icon
comark-include
comark-keys
comark-links
comark-linter
comark-magic-move
comark-mark
markdown-it-to-comark
marked-to-comark
comark-mathml
comark-media
comark-metrics
migrate-to-comark
comark-motion
comark-outline
comark-properties
comark-qr
comark-quiz
comark-reading-time
remark-to-comark
comark-sources
comark-steps
comark-table
comark-tabs
comark-tests
comark-time
comark-ui
comark-xref
comark-zoom
commit: |
There was a problem hiding this comment.
Important
Image-only avatar chips lose their visible keyboard focus indicator.
Approach: Moving the favicon outline inward addresses the overlap without changing layout, but the avatar replacement depends on having text to underline.
Reviewed changes — verified the shared styles by tabbing through rendered chips in Chromium; all 46 chip package tests passed.
- Favicon chips: The 2px outline moves from a
2pxoffset to-1px, keeping it clear of the following word in the tested table cell. - Avatar chips: A 2px underline replaces the outline, which leaves an image-only link with no visible focus state.
gpt-6.2-sol(high) | 𝕏
There was a problem hiding this comment.
✅ No new issues found. No P0 or P1 findings remain.
Approach: Drawing the focus ring inside the avatar makes keyboard focus visible without relying on text or touching the next word.
Reviewed changes — re-reviewed 4065a35 since the prior Pullfrog review.
- Restored image-only focus: Added a 2px inset outline to the avatar image. In Chromium, tabbing to the reported chip changed pixels only inside the avatar.
- Added regression coverage: Added a Playwright test that tabs to the image-only chip and checks its outline. All five Chromium chips tests and 46 package tests passed.
gpt-6.2-sol(high) | 𝕏

A focused chip drew its ring 2px outside the pill (`outline-offset:2px`), so in running text and table cells the ring covered the space and touched the next word, as on a Drop plan where `#19` ran into "inflected".
Checked by tabbing through a rendered table in Chromium: before, the ring overlaps "inflected" and "and ask"; after, both chips keep clear of the next word. `comark-chips` tests pass (46).
🤖 Generated with Claude Code