From f6465a371746f3ead91e80ad6758243f2423c915 Mon Sep 17 00:00:00 2001 From: NicolasOmar Date: Wed, 17 Jan 2024 11:08:13 -0300 Subject: [PATCH] fix: Adding missing alt property to Image for accessibility purposes --- src/components/atoms/Image/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/atoms/Image/index.tsx b/src/components/atoms/Image/index.tsx index 3dd7bf0f..1da3644b 100644 --- a/src/components/atoms/Image/index.tsx +++ b/src/components/atoms/Image/index.tsx @@ -12,6 +12,7 @@ const Image: React.FC = ({ style = null, containerStyle = null, src, + alt = null, fixedSize = 'is-1by1', isRounded = false }) => { @@ -40,6 +41,7 @@ const Image: React.FC = ({ className={imageClasses} style={style ?? undefined} src={src} + alt={alt ?? undefined} /> )