You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🎨 Palette: Make search controls keyboard accessible - #36
I release the following change request under the default LICENSE configuration described here: README.md#license
I release the following change request under the following LICENSE configuration:
The LICENSE is documented within the content.
The LICENSE is included in the the repo.
The LICENSE is linked prominently in the content.
The LICENSE is within the content.
The LICENSE is a recognized, common license identified by a known authority.
License Name:
SPDX License Identifier:
Explained the reason for the different license below.
💡 What
Replaced the JavaScript-only search anchors in the sidebar and footer with native buttons, preserving the search label/shortcut tooltip and adding a visible keyboard focus outline.
🎯 Why
Anchors without href are not reliably keyboard-focusable or keyboard-activatable. Native buttons work with Tab, Enter, and Space.
📸 Before / After
Before: click-only anchors. After: labeled, keyboard-operable buttons with a 2px focus-visible outline.
♿ Accessibility
Both repeated search controls now use button semantics and expose a clear focus indicator.
Verification
nix build --no-link --print-out-paths — passed (same site build used in CI).
git diff --check — passed.
No separate lint or test command is defined in this repository.
Queue task #9738 (dispatcher reported no linked issue).
Confidence: high. Human check: confirm the search icon remains visually aligned in the sidebar and footer in the deployed site.
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
Accessibility
Changed the sidebar and footer search controls to buttons, with visible keyboard-focus outlines. Their labels and search behavior remain unchanged.
No actionable comments were generated in the recent review.
Walkthrough
The footer and sidebar search controls change from anchors to buttons. Both retain their existing search behavior and add focus-visible outline styling. A dated palette entry records the use of buttons for non-navigating search controls.
Changes: Search controls
Layer / File(s)
Summary
Replace search anchors with buttons .Jules/palette.md, templates/components/footer.tpl, templates/components/sidebar.tpl
The footer and sidebar search controls now use buttons and retain their labels, titles, handlers, and icons. Both add focus-visible outline styling. The palette entry records this pattern for non-navigating controls.
The keyboard-accessibility changes preserve existing search behavior without introducing an identified merge-blocking risk.
Pre-merge checks: 5
Check name
Status
Explanation
Title check
The title clearly and concisely describes the main change: making the search controls keyboard accessible.
Description check
The description uses the required license section and provides clear What, Why, accessibility, verification, and manual-check details relevant to the changes.
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (3 skipped: 3 unsupported.)
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
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.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: 9b4c119b-ef03-46f5-a827-79529cb2e8df
Commits
Reviewing files that changed from the base of the PR and between 4ea6711 and 9d59780.
Files selected for processing: 3
.Jules/palette.md
templates/components/footer.tpl
templates/components/sidebar.tpl
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
💡 What
Replaced the JavaScript-only search anchors in the sidebar and footer with native buttons, preserving the search label/shortcut tooltip and adding a visible keyboard focus outline.
🎯 Why
Anchors without
hrefare not reliably keyboard-focusable or keyboard-activatable. Native buttons work with Tab, Enter, and Space.📸 Before / After
Before: click-only anchors. After: labeled, keyboard-operable buttons with a 2px focus-visible outline.
♿ Accessibility
Both repeated search controls now use button semantics and expose a clear focus indicator.
Verification
nix build --no-link --print-out-paths— passed (same site build used in CI).git diff --check— passed.Queue task #9738 (dispatcher reported no linked issue).
Confidence: high. Human check: confirm the search icon remains visually aligned in the sidebar and footer in the deployed site.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit