Skip to content

Add ARIA label prop for icon button - #104

Open
Carifio24 wants to merge 4 commits into
cosmicds:mainfrom
Carifio24:icon-button-aria-label
Open

Add ARIA label prop for icon button#104
Carifio24 wants to merge 4 commits into
cosmicds:mainfrom
Carifio24:icon-button-aria-label

Conversation

@Carifio24

Copy link
Copy Markdown
Member

This PR resolves #103. I also added role="button" to the icon button component, as well as an aria-pressed attribute when the button has a v-model and can be "active".

The easiest way to test this is probably to open up the Storybook story and examine the rendered component there. That story now also has a field where you can change the ARIA label prop.

@Carifio24
Carifio24 requested a review from patudom July 10, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add aria-label as a prop to icon-button component and make it required

1 participant