SEO/a11y: Navigation uses Button onClick instead of Link elements #102

Closed
opened 2026-05-17 21:16:39 -05:00 by null · 0 comments
Owner

Problem

Throughout the site, internal navigation uses Button onClick={navigate(/path)} instead of Link to=/path. This happens in:

  • Home.jsx: Hero CTAs, service cards, industry cards, trust section CTAs
  • ServiceDetail.jsx: Request This Service button
  • About.jsx: Request Consultation button

Why this matters:

  1. Accessibility: Screen readers announce these as buttons, not links. Users cannot right-click to open in new tab.
  2. SEO: Search crawlers cannot follow button onClick - they need a href or Link elements.
  3. UX: Users cannot Cmd+Click or Ctrl+Click to open in new tab.

Some pages (Contact.jsx, About.jsx) already use Link correctly. Make it consistent.

Fix

Replace all internal navigation Button onClick={navigate} with Link components styled as buttons.

Files

  • src/pages/Home.jsx - 6+ instances
  • src/pages/ServiceDetail.jsx - sidebar CTA
  • src/pages/About.jsx - CTA section

Severity

Medium - impacts SEO crawlability and accessibility

## Problem Throughout the site, internal navigation uses Button onClick={navigate(/path)} instead of Link to=/path. This happens in: - Home.jsx: Hero CTAs, service cards, industry cards, trust section CTAs - ServiceDetail.jsx: Request This Service button - About.jsx: Request Consultation button Why this matters: 1. Accessibility: Screen readers announce these as buttons, not links. Users cannot right-click to open in new tab. 2. SEO: Search crawlers cannot follow button onClick - they need a href or Link elements. 3. UX: Users cannot Cmd+Click or Ctrl+Click to open in new tab. Some pages (Contact.jsx, About.jsx) already use Link correctly. Make it consistent. ## Fix Replace all internal navigation Button onClick={navigate} with Link components styled as buttons. ## Files - src/pages/Home.jsx - 6+ instances - src/pages/ServiceDetail.jsx - sidebar CTA - src/pages/About.jsx - CTA section ## Severity Medium - impacts SEO crawlability and accessibility
null closed this issue 2026-05-17 21:45:09 -05:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: null/Queue-North-Website#102
No description provided.