-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REFACTOR] 접근성 컴포넌트 A11yOnly 리팩토링 및 추가 접근성 코드 리팩토링 #362
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
오 좋은데요 디테일한 수정 감사합니다 접근성 마스터 썬데이 그는 빛이 납니다 하하하호호✨✨✨✨✨✨✨✨✨✨
@@ -25,7 +25,7 @@ describe('SelectContainer', () => { | |||
|
|||
customRender(<SelectContainer />); | |||
|
|||
const optionButton = await screen.findByRole('button', { name: SELECT_OPTION }); | |||
const optionButton = await screen.findByRole('radio', { name: SELECT_OPTION }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌸 칭찬 🌸
지렸다 radiogrup하고 radio 하면 몇번째 중 몇번째가 떠서 좋은 것 같아요!
@@ -31,6 +31,7 @@ const Timer = ({ selectedId, isVoted, completeSelection }: TimerProps) => { | |||
isVoted, | |||
completeSelection, | |||
}); | |||
const ScreenReaderLeftRoundTime = `${leftRoundTime}초 남았습니다.`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💭 질문 💭
카멜 케이스가 아닌 파스칼 케이스를 사용한 이유가 있을까요?
const ScreenReaderLeftRoundTime = `${leftRoundTime}초 남았습니다.`;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
허걱쓰 ! 수정하고 머지하겠습니다 ^ .^
css={SelectOptionLayout(selectedId === option.optionId, isCompleted)} | ||
onClick={() => handleClickOption(option.optionId)} | ||
disabled={isCompleted} | ||
aria-pressed={selectedId === option.optionId} | ||
aria-checked={selectedId === option.optionId} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🌸 칭찬 🌸
오우 radio로 바꾸니까 checked로 되는군요 굿굿
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니다!
바로 approve 할게요!
Issue Number
#361
As-Is
To-Be
A11yOnly
게임 타이머
대기 방 인원
게임 선택지
Check List
Test Screenshot
(Optional) Additional Description
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/alert_role
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/status_role
https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/radio_role
🌸 Storybook 배포 주소