Skip to content

Fix: Case studies search box has no label and page buttons look uneven - #349

Open
krishanraja wants to merge 1 commit into
mainfrom
auditor/fix-346
Open

krishanraja wants to merge 1 commit into
mainfrom
auditor/fix-346

Conversation

@krishanraja

Copy link
Copy Markdown
Owner

Fixes #346

What changed and the checks run

Fix notes: case studies search box and pager (#346)

What changed

  • src/components/mindmake/UseCaseFinder.tsx: the search input now has the placeholder "Search case studies". It already had an invisible accessible label, but sighted users saw an empty box.
  • src/styles/mindmake-usecases.css:
    • Placeholder text is styled in the site's secondary text colour so it is readable on the dark box.
    • The pager buttons (previous and next) are now fixed at 44px by 44px, and cannot shrink or grow in the flex row.

Why

The report said the search box had no words and the pager buttons differed in width. The first is fixed directly. In the CSS both pager buttons were already 44px wide. On the screenshot the previous button looks different mainly because it is disabled on page 1 and drawn at 35% opacity, which is intended. I pinned the sizing so no layout can make them differ, but I did not change the disabled look. If Krish wants the disabled button to look less different, that is a design choice.

Checks

  • npx tsc -p tsconfig.app.json --noEmit: passed with no errors.
  • npx vitest run src/test/use-case-parity.test.ts: not run, the sandbox required approval for it. Nothing in the change touches the text that test checks, but it is unverified.
  • No visual check in a browser was done.

Files

  • src/components/mindmake/UseCaseFinder.tsx
  • src/styles/mindmake-usecases.css

Opened by internal-auditor's fix queue (fix-queue.yml). It merges itself once every check is green; a red or conflicted fix is labelled needs-krish and stays open.

Fixes #346

Made by internal-auditor's fix queue from an issue.

Closeout: not needed, a small fix recorded by its issue and pull request.

Co-Authored-By: Claude <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mindmake Error Error Nov 26, 2026 7:20pm UTC

Request Review

This branch had an error being deployed

1 failed deployment
Preview — b404d091 Deployed Nov 26, 2026 by vercel[bot]
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.

[screenshot] Case studies search box has no label and page buttons look uneven

2 participants