Skip to content

Commit

Permalink
feat(ToggleGroup): Add accessible title for items with only icon (#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnusrm authored Oct 5, 2023
1 parent 50f4eee commit 9482315
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ export const OnlyIcons: StoryFn<typeof ToggleGroup> = () => {
>
<ToggleGroup.Item
value={'option-1'}
icon={<AkselIcon3 />}
icon={<AkselIcon3 title='Braille' />}
/>
<ToggleGroup.Item
value={'option-2'}
icon={<AkselIcon2 />}
icon={<AkselIcon2 title='Newspaper' />}
/>
<ToggleGroup.Item
value={'option-3'}
icon={<AkselIcon4 />}
icon={<AkselIcon4 title='Backpack' />}
/>
</ToggleGroup>
);
Expand Down

0 comments on commit 9482315

Please sign in to comment.