Skip to content

Address CodeRabbit accessibility feedback from PR #593#595

Merged
jrhoads merged 1 commit intoaccessibilityfrom
cursor/accessibility-pr-comments-9556
Apr 3, 2026
Merged

Address CodeRabbit accessibility feedback from PR #593#595
jrhoads merged 1 commit intoaccessibilityfrom
cursor/accessibility-pr-comments-9556

Conversation

@jrhoads
Copy link
Copy Markdown
Contributor

@jrhoads jrhoads commented Apr 3, 2026

Summary

Follow-up to PR #593, implementing the actionable CodeRabbit review items.

Changes

  • SearchBox: Replaced the facet search clear control (#search-clear-facets) with a native button (type="button") so it is focusable and keyboard-operable; kept the same id for styling; clarified title / aria-label to "Clear search input"; adjusted global CSS for button layout and :focus-visible outline.
  • Header Search: Fixed search(query) to use the passed-in query when setting or removing the query URL parameter, so clearing the field removes query from the URL instead of leaving ?query=.
  • FilterItem: Added aria-pressed={isActive} on the filter toggle for correct toggle semantics.
  • DataCiteButton: Set secondary color to var(--datacite-color-primary, #243b54) so it tracks the global CSS variable.
  • styles.css: Extended .button:hover with .button:focus-visible for equivalent keyboard focus styling.

Testing

  • ESLint on touched TSX files passes.
  • Full yarn type-check currently fails on pre-existing test file issues unrelated to this change.

Base branch

Targets accessibility so these fixes can merge into the same line of work as PR #593.

Open in Web Open in Cursor 

- Use semantic button for facet search clear control (SearchBox)
- Fix Header search() to use passed query and drop empty query param
- Add aria-pressed to filter toggle button
- Align DataCiteButton secondary color with CSS variable
- Add :focus-visible parity for .button and facet clear focus ring

Co-authored-by: Joseph Rhoads <jrhoads@users.noreply.github.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 3, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 0e994a9d-f98a-4e4c-a258-838ca1e57b99

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/accessibility-pr-comments-9556

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

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

@jrhoads jrhoads merged commit 3dd47bd into accessibility Apr 3, 2026
1 check passed
@jrhoads jrhoads deleted the cursor/accessibility-pr-comments-9556 branch April 3, 2026 11:16
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