Select
선택
Select는 정해진 목록을 열어서 하나의 값을 고르게 해줘.
실제 예시
국가 입력 칸은 정해진 목록을 보여주고, 그 밖의 값은 받아들이지 않아요.
주요 부분
- 01지속 라벨
- 02Input control
- 03Hint or format
- 04Validation message
사용할 때
목록이 고정되어 있고 그다지 길지 않으며 페이지에 공간이 적을 때 사용하세요.
다음 경우에는 사용하지 마세요
사람들이 검색해야 하는 긴 목록에 절대 사용하지 마세요. 대신 콤보박스를 사용하세요.
코드에서 사용된 이름
<select> / role="listbox" 출시하기 전에
Give each field a label that code can read. Link hints and errors, and keep entered values. Check autofill, keyboard order, validation timing, submit states, failure recovery, zoom, and languages.
Outcome:Complete the task with 선택 (Select)。 User context:국가 입력 칸은 정해진 목록을 보여주고, 그 밖의 값은 받아들이지 않아요. Recommended pattern:선택 (Select)。 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 선택 (Select) is used now. Definition: Select는 정해진 목록을 열어서 하나의 값을 고르게 해줘. Release checks: Give each field a label that code can read. Link hints and errors, and keep entered values. Check autofill, keyboard order, validation timing, submit states, failure recovery, zoom, and languages. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.