Skip to content

Commit 9064f99

Browse files
committed
a11y status icon
1 parent 5cf5a09 commit 9064f99

File tree

1 file changed

+1
-1
lines changed
  • packages/storybook-docs/src/components/Statuses

1 file changed

+1
-1
lines changed

packages/storybook-docs/src/components/Statuses/Status.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function Status({ icon, label, link, status }: StatusProps) {
1616
return (
1717
<a className={theme.badge} {...attrs}>
1818
<span>
19-
<img src={icon} alt="" />
19+
<img src={icon} alt={`${label} icon`} />
2020
{label}
2121
</span>
2222
<span className={theme[`status-${status}`]}>{status}</span>

0 commit comments

Comments
 (0)