Skip to content

Commit

Permalink
refactor: image 태그 alt 누락 일괄 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
semnil5202 committed Feb 10, 2024
1 parent 5fe1cb8 commit f11be33
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/MyInfo/UpdateMyInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function UpdateMyInfo({
$justifyContent="center"
$alignItems="center"
>
<MyInfoImg src={myInfo.imageUrl} />
<MyInfoImg src={myInfo.imageUrl} alt="내 프로필 이미지" />
<Space size={5} />
<Box>
<MyInfoInput value={myInfo.nickName} onChange={onChangeMyInfoName} />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/PinImageContainer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function PinImageContainer({ images, getPinData }: PinImageContainerProps) {
{isModalOpen && (
<ImageModal closeModalHandler={closeModal}>
<ModalImageWrapper>
<ModalImage src={modalImage} />
<ModalImage src={modalImage} alt="선택한 장소 이미지" />
<Space size={3} />
<Button variant="custom" onClick={closeModal}>
닫기
Expand Down
3 changes: 3 additions & 0 deletions frontend/src/components/common/Input/SingleComment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ function SingleComment({
<Flex $gap="12px">
<ProfileImage
src={comment.creatorImageUrl}
alt="프로필 이미지"
width="40px"
height="40px"
/>
Expand Down Expand Up @@ -202,6 +203,7 @@ function SingleComment({
<div style={{ display: 'flex', gap: '12px' }}>
<ProfileImage
src={user?.imageUrl || ''}
alt="프로필 이미지"
width="40px"
height="40px"
/>
Expand All @@ -228,6 +230,7 @@ function SingleComment({
<Flex>
<ProfileImage
src={replyList[0].creatorImageUrl || ''}
alt="프로필 이미지"
width="28px"
height="28px"
/>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/NewTopic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ function NewTopic() {
<Flex>
{showImage && (
<>
<ShowImage src={showImage} alt="사진 이미지" /> <Space size={2} />{' '}
<ShowImage src={showImage} alt="지도 이미지" /> <Space size={2} />{' '}
</>
)}

Expand Down

0 comments on commit f11be33

Please sign in to comment.