Conversation
빌드 결과빌드 실패 😵 |
🎨 스토리북 배포 완료!변경된 컴포넌트의 디자인을 확인해주세요. |
빌드 결과빌드 성공 🎉 |
🎨 스토리북 배포 완료!변경된 컴포넌트의 디자인을 확인해주세요. |
| <div className={surveyWrapper}> | ||
| {questionList.map((question) => ( | ||
| <div key={question.id} className={surveyContainer}> | ||
| <p className={surveyTitle}>{question.content}</p> |
There was a problem hiding this comment.
p3) 시맨틱 태그 활용 좋습니다!
다만, 질문에 대한 제목이니만큼 p 태그 말고 h3...이나 header 관련 태그는 어떨까요?
There was a problem hiding this comment.
좋은 의견 감사합니다 ! 수정했습니다 !!
|
|
||
| const SurveyItem = ({ item, isChecked, onClick }: itemProps) => { | ||
| return ( | ||
| <div className={itemContainer} onClick={onClick}> |
There was a problem hiding this comment.
p3) div에 직접 onClick을 쓰면 접근성면에서 부족한 점이 없지않아...있기 때문에 button 이나 label 태그 써주시면 좋을 것 같아요!
There was a problem hiding this comment.
리뷰 주신 방향으로 수정했습니다 !! 👍🏻 👍🏻
| {isChecked ? ( | ||
| <IcRadioChecked className={checkedIcon} /> | ||
| ) : ( | ||
| <IcRadioDefault className={defaultIcon} /> | ||
| )} |
There was a problem hiding this comment.
p2)
<IcRadioChecked className={isChecked ? checkedIcon : defaultIcon} />
요롷게 한 줄로 처리할 수 있을 것 같아용
There was a problem hiding this comment.
체크된 부분이랑 체크 안된 부분이랑 아이콘이 아예 달라서 요렇게 수정해보아뜹니다 ..
확실히 더 깔끔해진 것 같은데 어떤가요 ?!! 🤩
| ) : ( | ||
| <IcRadioDefault className={defaultIcon} /> | ||
| )} | ||
| <p className={itemText}>{item.content}</p> |
There was a problem hiding this comment.
p3) 리스트 항목 안에서 쓰이는 정적인 텍스트라면 p보다는 span이 더 시멘틱 할 것 같습니당
shinjigu
left a comment
There was a problem hiding this comment.
div → button/label 변경이나 시맨틱 태그 개선 제안들만 수정하면 되겠네요 !! 너무 수고하셨습니당 🐰🐰
(이름, 이메일, 생년월일, 개인정보 동의) 이렇게가 필수 정보고, 이 정보들을 입력했을 시에 제출 버튼이 비활성화 된다고 알고 있습니다 ! |
빌드 결과빌드 성공 🎉 |
🎨 스토리북 배포 완료!변경된 컴포넌트의 디자인을 확인해주세요. |
💡 Summary
✅ Tasks
Survey컴포넌트 제작SurveyItem컴포넌트 제작👀 To Reviewer
아래꺼 넣고 테스트 해주세염 🤗
📸 Screenshot