Select
Seleccionar
Un select abre una lista fija y te deja elegir un solo valor.
Un ejemplo real
Un campo de país muestra una lista fija y rechaza valores que no estén en ella.
Partes principales
- 01Etiqueta persistente
- 02Input control
- 03Hint or format
- 04Validation message
Úsalo cuando
Úsalo cuando la lista sea fija, no demasiado larga y la página tenga poco espacio.
No lo uses cuando
Nunca lo uses para una lista larga que la gente necesita buscar. Usa un combobox en su lugar.
Nombre usado en código
<select> / role="listbox" Antes de lanzarlo
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 Seleccionar (Select). User context: Un campo de país muestra una lista fija y rechaza valores que no estén en ella. Recommended pattern: Seleccionar (Select). Why it fits: Úsalo cuando la lista sea fija, no demasiado larga y la página tenga poco espacio. Do not use it when: Nunca lo uses para una lista larga que la gente necesita buscar. Usa un combobox en su lugar. 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): El estándar cubre únicamente el alcance listado. No elige el estilo visual, la decisión del producto ni el ejemplo de Vibulary. Unknowns to confirm: Product wording, data source, analytics events, supported devices and languages, and platform limits.
Revisa esta petición
Review how Seleccionar (Select) is used now. Definition: Un select abre una lista fija y te deja elegir un solo valor. 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.