www: improve accessbility (#1507)
This commit is contained in:
@@ -57,7 +57,10 @@ export default function ComponentGallery(props: ComponentGalleryProps) {
|
||||
Click me
|
||||
</Button>
|
||||
<Button class="flex gap-1">
|
||||
<IconHappy class="w-6 h-6 inline-block text-gray-500" />
|
||||
<IconHappy
|
||||
class="w-6 h-6 inline-block text-gray-500"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
<div>
|
||||
With an Icon
|
||||
</div>
|
||||
@@ -81,7 +84,10 @@ export default function ComponentGallery(props: ComponentGalleryProps) {
|
||||
source={props.sources.LinkButton}
|
||||
>
|
||||
<LinkButton>
|
||||
<IconHeart class="w-5 h-5 mr-1 inline-block text-gray-400" />
|
||||
<IconHeart
|
||||
class="w-5 h-5 mr-1 inline-block text-gray-400"
|
||||
aria-hidden="true"
|
||||
/>
|
||||
Like me
|
||||
</LinkButton>
|
||||
</Section>
|
||||
|
||||
Reference in New Issue
Block a user