Skip to content

Feature Request: Enhance VoiceCapture for Accessibility and Functionality #1

Closed
@lucasferreiralimax

Description

@lucasferreiralimax

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.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions