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 - Implement a11y for Icon component #72

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

piqusy
Copy link
Contributor

@piqusy piqusy commented Dec 5, 2024

Description

Either by setting aria-hidden to true or using the existing iconName label from manifest option key

Either by setting aria-hidden to true or using the existing iconName
label from manifest option key
@piqusy piqusy added the enhancement New feature or request label Dec 5, 2024
@piqusy piqusy added this to the 1.4.7 milestone Dec 5, 2024
@piqusy piqusy requested a review from a team December 5, 2024 21:57
@piqusy piqusy self-assigned this Dec 5, 2024
@piqusy piqusy changed the title Implement a11y for Icon component Feature - Implement a11y for Icon component Dec 5, 2024
Copy link
Contributor

@goranalkovic-infinum goranalkovic-infinum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Best approach here would be to have aria-hidden="true" by default, and then an option to opt out, although icons will probably not need any special "alt text"(-ish), ever.

@piqusy piqusy merged commit f3b2de1 into release/1.4.7 Dec 6, 2024
1 check failed
@piqusy piqusy deleted the feature/a11y-icons branch December 6, 2024 08:53
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 this pull request may close these issues.

2 participants