Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Enhance VoiceCapture for Accessibility and Functionality #1

Closed
lucasferreiralimax opened this issue Oct 26, 2024 · 0 comments · Fixed by #2
Closed
Assignees
Labels
enhancement New feature or request

Comments

@lucasferreiralimax
Copy link
Member

lucasferreiralimax commented Oct 26, 2024

We would like to enhance the VoiceCapture component by implementing a keyboard shortcut to activate voice recognition. Additionally, once the transcription is ready, the text should be copied to the clipboard using Ctrl + C, and a notification should be provided to screen readers through ARIA live regions about the action performed, indicating whether the copy was successful or if any errors occurred. We also want to improve ARIA tags in the component to reflect its active status.

Acceptance Criteria

  1. Keyboard Shortcut:

    • Implement a keyboard shortcut (e.g., Ctrl + V) that triggers the voice recognition feature when the user is focused on the VoiceCapture component.
  2. Clipboard Functionality:

    • Upon successful transcription, the generated text should be automatically copied to the clipboard using Ctrl + C.
    • Ensure that the component handles any potential errors that might occur during the copy process.
  3. Screen Reader Notifications:

    • Utilize ARIA live regions to notify screen readers when the transcription is successfully copied to the clipboard.
    • Provide error messages if the copy action fails, ensuring that users relying on screen readers are aware of the action taken and any issues encountered.
  4. Improved ARIA Tags:

    • Add ARIA attributes to indicate the status of the VoiceCapture component when it is active and open.
    • Use attributes such as aria-live, aria-hidden, and aria-modal to improve the accessibility of the component.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant