Skip to content

fix(a11y): add aria-label to ChatBot input - #85

Merged
shammy911 merged 2 commits into
KavinduSDfrom
copilot/sub-pr-79-please-work
Mar 20, 2026
Merged

shammy911 merged 2 commits into
KavinduSDfrom
copilot/sub-pr-79-please-work

Conversation

Copilot AI commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

The chat input in ChatBot.jsx had no explicit accessible name — screen readers could only fall back to the placeholder text, which is unreliable and not spec-compliant.

Change

  • components/ChatBot.jsx — added aria-label="Chat message input" to the text <input> so assistive technologies have a stable, explicit accessible name for the primary interaction control.
<input
  type="text"
  aria-label="Chat message input"
  placeholder="Ask about vehicles, booking, or features..."
  ...
/>

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: shammy911 <180457932+shammy911@users.noreply.github.com>
Copilot AI changed the title [WIP] [WIP] Address feedback from PR #79 on "Kavindu sd" improvements fix(a11y): add aria-label to ChatBot input Mar 20, 2026
Copilot AI requested a review from shammy911 March 20, 2026 06:57
@shammy911
shammy911 marked this pull request as ready for review March 20, 2026 07:03
@shammy911
shammy911 merged commit fccc47c into KavinduSD Mar 20, 2026
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