Skip to content

Commit

Permalink
Add aria-label to buttons in IconSvgWrapper doc
Browse files Browse the repository at this point in the history
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
  • Loading branch information
raimund-schluessler authored Feb 2, 2023
1 parent fc199d6 commit 4a5c193
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/components/NcIconSvgWrapper/NcIconSvgWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,27 +30,27 @@ Render raw SVG string icons.
```vue
<template>
<div class="grid">
<NcButton>
<NcButton aria-label="Close">
<template #icon>
<NcIconSvgWrapper :svg="closeSvg" title="Close" />
</template>
</NcButton>
<NcButton>
<NcButton aria-label="Settings">
<template #icon>
<NcIconSvgWrapper :svg="cogSvg" title="Cog" />
</template>
</NcButton>
<NcButton>
<NcButton aria-label="Add">
<template #icon>
<NcIconSvgWrapper :svg="plusSvg" title="Plus" />
</template>
</NcButton>
<NcButton>
<NcButton aria-label="Send">
<template #icon>
<NcIconSvgWrapper :svg="sendSvg" title="Send" />
</template>
</NcButton>
<NcButton>
<NcButton aria-label="Star">
<template #icon>
<NcIconSvgWrapper :svg="starSvg" title="Star" />
</template>
Expand Down

0 comments on commit 4a5c193

Please sign in to comment.