Skip to content

Commit

Permalink
chore: 카테고리 이미지 div role 지정
Browse files Browse the repository at this point in the history
  • Loading branch information
shinhyojeong committed Jan 29, 2024
1 parent 396a182 commit fea3207
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/home/CategorySlider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,11 @@ const CategorySlider = (): ReactElement => {
sort: SORT_OPTIONS[0].code
})}`}>
<Styled.CategoryImgWrapper>
<Styled.CategoryImg url={imageUrl} />
<Styled.CategoryImg
aria-label={code}
role="img"
url={imageUrl}
/>
</Styled.CategoryImgWrapper>
<Styled.CateGoryName>{name}</Styled.CateGoryName>
</Styled.CategoryLink>
Expand Down

0 comments on commit fea3207

Please sign in to comment.