Skip to content

Add accessible name to hero chat send button#102

Draft
DealPatrol with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-issue-from-review-comment
Draft

Add accessible name to hero chat send button#102
DealPatrol with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-issue-from-review-comment

Conversation

Copilot AI commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

The linked review comment flagged an icon-only send control in HeroChat as missing an accessible name. This change applies that suggestion directly and limits scope to that single control.

  • Accessibility: icon-only submit control

    • Added an explicit accessible name to the send button in components/hero-chat.tsx so assistive technologies can announce its purpose.
  • Scope

    • No functional or visual behavior changes.
    • No unrelated review comments or files were modified.
<button
  type="button"
  onClick={() => void handleSubmit()}
  disabled={!message.trim() || submitted}
  aria-label="Send message"
  className="ml-auto inline-flex h-9 w-9 items-center justify-center rounded-full bg-[#10B981] text-white transition-all hover:bg-[#059669] disabled:cursor-not-allowed disabled:opacity-40"
>

@vercel

vercel Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
repo-app-architect Ready Ready Preview, Comment Jun 22, 2026 1:41am
repofuse Ready Ready Preview, Comment, Open in v0 Jun 22, 2026 1:41am
v0-repo-app-architect Ready Ready Preview, Comment, Open in v0 Jun 22, 2026 1:41am

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