Skip to content

Commit 4b72d95

Browse files
committed
img alt audit
added one instance of an img with missing alt
1 parent 1d402c9 commit 4b72d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/Tag/Tag.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export const Tag = ({
4242

4343
return (
4444
<div id={id ?? undefined} className={`${styling} ${className}`}>
45-
{iconLeft && typeof iconLeft === "string" && <img alt="" src={iconLeft} width={16} height={16} />}
45+
{iconLeft && typeof iconLeft === "string" && <img alt="left-icon" src={iconLeft} width={16} height={16} />}
4646
{iconLeft && typeof iconLeft !== "string" && <div className="icon">
4747
{iconLeft}
4848
</div>}

0 commit comments

Comments
 (0)