Skip to content

fix(a11y): add missing aria-label to legacy shortcuts clear-search button - #183

Merged
alltomatos merged 1 commit into
devfrom
design/170-settings-general-shortcuts
Sep 9, 2026
Merged

alltomatos merged 1 commit into
devfrom
design/170-settings-general-shortcuts

Conversation

@alltomatos

Copy link
Copy Markdown
Owner

Issue for this PR

Relates to #170 (broader scope than this one fix — not closing it)

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Follow-up to #182: the icon-only "clear search" gap already fixed there for the v2 shortcuts view (`SettingsKeybindsV2View`) also exists in the legacy (non-v2) `SettingsKeybinds` component's own clear button — missed in that sweep because it's a separate `` call site (not ``) further down the same file. Adds the same `common.clearSearch` label.

Rest of `components/settings-v2/general.tsx` and `components/settings-keybinds.tsx` audited clean: no raw hex, no ad-hoc box-shadow, no non-token Tailwind classes.

How did you verify your code works?

  • `bun run typecheck` (packages/app) passes.

Screenshots / recordings

Not applicable — no visual change, only an added `aria-label` attribute.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

…tton

Same icon-only "clear search" gap already fixed for the v2 shortcuts
view (see PR #182) also existed in the legacy (non-v2) SettingsKeybinds
component's own clear button — missed in that sweep since it matched a
different <IconButton> (not <IconButtonV2>) call site.

Part of the dark-mode/Apple-like design pass (opencode#170).

Co-Authored-By: Claude Sonnet 5 <[email protected]>
@github-actions

github-actions Bot commented Sep 9, 2026

Copy link
Copy Markdown

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@alltomatos
alltomatos merged commit 0a60871 into dev Sep 9, 2026
7 of 10 checks passed
@alltomatos
alltomatos deleted the design/170-settings-general-shortcuts branch September 9, 2026 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant