Skip to content

fix(a11y): add aria-label and focus states to chat send button#454

Merged
KaranUnique merged 1 commit into
Canopus-Labs:mainfrom
Abhi666-max:fix-a11y-chat-button
Jul 14, 2026
Merged

fix(a11y): add aria-label and focus states to chat send button#454
KaranUnique merged 1 commit into
Canopus-Labs:mainfrom
Abhi666-max:fix-a11y-chat-button

Conversation

@Abhi666-max

Copy link
Copy Markdown
Contributor

📝 Pull Request Description

Related Issue

Closes #393

Summary

Improved accessibility (A11y) for the icon-only "Send" button in the AIHelper chat component. Added a descriptive aria-label and title attribute so screen readers can correctly identify its purpose. Additionally, implemented focus-visible Tailwind classes (focus-visible:ring-2, etc.) to provide a clear, accessible focus indicator for keyboard users navigating via the Tab key.


Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature
  • ♻️ Refactoring
  • 📝 Documentation update
  • 🎨 UI/UX improvement
  • 🔥 Other(please describe): Accessibility (A11y) Enhancement

How Has This Been Tested?

  • Navigated to the chat input area using the Tab key to verify that the violet focus ring appears clearly around the send button.
  • Hovered over the send button with the mouse to confirm the "Send message" tooltip displays correctly.
  • Verified that the core chat functionality and existing UI remain unaffected by these accessibility additions.

Screenshots (if applicable)

N/A (Changes are primarily background accessibility tags and a standard focus ring state).


Checklist

  • My code follows the project's guidelines
  • I have tested my changes
  • I have updated documentation where necessary
  • I have linked the related issue
  • My changes do not introduce new warnings or errors

@KaranUnique KaranUnique merged commit 817ef30 into Canopus-Labs:main Jul 14, 2026
2 checks passed
@Abhi666-max Abhi666-max deleted the fix-a11y-chat-button branch July 14, 2026 10:46
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.

Fix(A11y): Improve accessibility and focus states for the AI chat send button

2 participants