Checkbox
체크박스
체크박스는 체크하거나 해제할 수 있는 상자예요. 각 선택은 스스로 의미를 가질 수 있어요.
실제 예시
이메일 소식, 제품 조사 둘 다 받거나, 아무것도 안 받을 수 있어요.
주요 부분
- 01시각적 레이블
- 02Interaction target
- 03Current state
- 04Keyboard behavior
사용할 때
여러 선택이 모두 참일 수 있거나 선택적 동의가 필요한 경우 체크박스를 사용하십시오.
다음 경우에는 사용하지 마세요
한 번에 변경되는 설정에는 절대 하나만 사용하지 마세요. 스위치가 이를 더 잘 설명하는 경우가 많습니다.
코드에서 사용된 이름
<input type="checkbox"> 출시하기 전에
Give assistive tools the control’s name (accessible name), purpose (role), value, and state. Check keyboard use, visible focus, target size, disabled and busy states, feedback, and recovery.
Outcome:Complete the task with 체크박스 (Checkbox)。 User context:이메일 소식, 제품 조사 둘 다 받거나, 아무것도 안 받을 수 있어요. Recommended pattern:체크박스 (Checkbox)。 Why it fits:여러 선택이 모두 참일 수 있거나 선택적 동의가 필요한 경우 체크박스를 사용하십시오. Do not use it when:한 번에 변경되는 설정에는 절대 하나만 사용하지 마세요. 스위치가 이를 더 잘 설명하는 경우가 많습니다. Product requirements: Define the default, loading, empty, error, success, and recovery states. Keep user input. Give clear feedback after every action. Accessibility and resilience: Use semantic HTML, full keyboard access, and visible focus. Make the layout work when zoomed and support reduced motion. Follow the project’s current rules. Do not add a new UI library unless the project already uses it. Acceptance criteria: The main task works with keyboard only and at 320px width. Focus and status changes are announced. Check loading, failure, retry, cancel, and reduced-motion paths. Evidence and limits (evidence boundary):이 표준은 나열된 범위만 적용합니다. 시각적 스타일, 제품 결정, 또는 Vibulary 예시는 선택하지 않습니다. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
이 요청을 확인하세요
Review how 체크박스 (Checkbox) is used now. Definition: 체크박스는 체크하거나 해제할 수 있는 상자예요. 각 선택은 스스로 의미를 가질 수 있어요. Release checks: Give assistive tools the control’s name (accessible name), purpose (role), value, and state. Check keyboard use, visible focus, target size, disabled and busy states, feedback, and recovery. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.