coding-coach icon indicating copy to clipboard operation
coding-coach copied to clipboard

fix: add button name for accessibility

Open ErriGarcia opened this issue 1 year ago • 0 comments

Problem: When a button doesn't have an accessible name, screen readers announce it as "button", making it unusable for users who rely on screen readers.

Solution: We have added an accessible name to the button element to ensure it is properly announced by screen readers. This will improve the accessibility and usability of the button for users who rely on assistive technologies.

Changes Made: Updated the button's text content to provide a concise and understandable label using the props children.

Please review the changes and let us know if any further modifications or adjustments are required. I believe these updates will significantly improve the accessibility of the button for users with visual impairments.

Thank you for your attention to this matter.

@ttkapostol @ErriGarcia @NataliaBlanco

ErriGarcia avatar Jun 21 '23 03:06 ErriGarcia