Skip to content

🎨 Palette: align replace-all aria-label test with accessible label - #4144

Merged
dezren39 merged 1 commit into
mainfrom
fix/id-web-search-panel-replace-all-aria-label-684421356923194988
Nov 3, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/id-web-search-panel-replace-all-aria-label-684421356923194988

Conversation

@dezren39

@dezren39 dezren39 commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Fixes #3243

💡 What: Updated the test expectation for the #replace-all button in pkgs/id/web/src/search-panel.test.ts to expect aria-label="Replace all matches".
🎯 Why: In pkgs/id/web/src/search-panel.ts, the replace-all button is rendered with aria-label="Replace all matches". The test was expecting "Replace all", causing the unit test suite to fail.
♿ Accessibility: Ensures that test assertions verify the descriptive aria-label="Replace all matches" intended for screen readers on the replace-all button.

Confidence: High. All 25 tests in src/search-panel.test.ts pass cleanly. Pre-existing test failures in world-contract.test.ts are tracked separately under issue #4103.


PR created automatically by Jules for task 684421356923194988 started by @dezren39


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Fixes #3243

Co-authored-by: dezren39 <11225574+dezren39@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 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 Nov 2, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 14 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6d53ea0b-d5d6-4dcf-8ba3-919d7a9e13e1
Commits

Reviewing files that changed from the base of the PR and between c8a2191 and 7c5e170.

Files selected for processing: 1
  • pkgs/id/web/src/search-panel.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@dezren39
dezren39 marked this pull request as ready for review November 3, 2026 02:36
@dezren39
dezren39 requested a review from a team as a code owner November 3, 2026 02:37
@dezren39
dezren39 merged commit 6f3d944 into main Nov 3, 2026
15 of 33 checks passed
@dezren39
dezren39 deleted the fix/id-web-search-panel-replace-all-aria-label-684421356923194988 branch November 3, 2026 02:37
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T02:38:01.485369Z 7c5e170 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39

dezren39 commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

Salvage note — duplicate PR #3749 diffed against this canonical PR (protocol §8, queue task 6724)

PR #3749 took the opposite approach to the same failure: it changed the implementation (pkgs/id/web/src/search-panel.ts) aria-label from "Replace all matches" back to "Replace all" so the stale test would pass. Diffed line-by-line against this PR: it contains nothing unique worth salvaging — its single change is exactly the label revert that triage task 6721 considered and rejected on issue #3243 (comment 6593922985), because PR #2071 deliberately set the paired labels "Replace match" / "Replace all matches" and the test expectation was the stale side. This canonical PR (test expectation aligned to "Replace all matches") has now merged, so PR #3749 is being closed as a duplicate with no unique content lost.

@google-labs-jules

Copy link
Copy Markdown
Contributor

Salvage note — duplicate PR #3749 diffed against this canonical PR (protocol §8, queue task 6724)

PR #3749 took the opposite approach to the same failure: it changed the implementation (pkgs/id/web/src/search-panel.ts) aria-label from "Replace all matches" back to "Replace all" so the stale test would pass. Diffed line-by-line against this PR: it contains nothing unique worth salvaging — its single change is exactly the label revert that triage task 6721 considered and rejected on issue #3243 (comment 6593922985), because PR #2071 deliberately set the paired labels "Replace match" / "Replace all matches" and the test expectation was the stale side. This canonical PR (test expectation aligned to "Replace all matches") has now merged, so PR #3749 is being closed as a duplicate with no unique content lost.

Acknowledged. Glad this canonical PR resolved issue #3243 by keeping the deliberate, accessible aria-labels ("Replace match" / "Replace all matches") and updating the test expectation accordingly.

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.

id(web): search-panel test expects aria-label 'Replace all' but implementation renders 'Replace all matches' — full web suite red on main

1 participant