Slider
슬라이더
Slider는 막대를 따라 손잡이를 움직여서 하나의 값이나 범위를 고르게 해줘.
실제 예시
가격 필터는 두 개의 손잡이를 써요. 하나는 최저가, 하나는 최고가를 정해요.
주요 부분
- 01시각적 레이블
- 02Interaction target
- 03Current state
- 04Keyboard behavior
사용할 때
정확한 숫자를 입력하는 것보다 거친 또는 상대적인 선택이 더 중요할 때 사용하세요.
다음 경우에는 사용하지 마세요
정확한 값을 위해 현재 숫자를 표시하고 키보드를 지원하세요. 그렇지 않으면 슬라이더는 피하세요.
코드에서 사용된 이름
<input type="range"> 출시하기 전에
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 슬라이더 (Slider)。 User context:가격 필터는 두 개의 손잡이를 써요. 하나는 최저가, 하나는 최고가를 정해요. Recommended pattern:슬라이더 (Slider)。 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 슬라이더 (Slider) is used now. Definition: Slider는 막대를 따라 손잡이를 움직여서 하나의 값이나 범위를 고르게 해줘. 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.