Inputs
Select
A select picks one value from a list that is long or keeps growing, such as the project a payment belongs to, in the platform's own picker.
In kanso-ui as Select
Accessibility
- Role and name: a native
<select>is a combobox named by its<label for>; screen readers read the chosen option as its value. - Keyboard: Space or Alt+Down opens the list, the arrow keys move, typing jumps to an option ("O" for Offsite), Enter picks and Escape closes without a change. On Windows, the arrow keys also change the value with the list closed.
- Why native: on phones the system picker is large and familiar, and it works with screen readers and switch access, with no custom ARIA to get wrong.
- Targets: 48px on phones; compact 40px on the web.
- Contrast (light, dark): chosen option and icon
inkonsurface17.4 and 14.4:1; labelink-mutedonpaper6.4 and 8.9:1; borderoutlineonsurface3.5 and 5.1:1; focus ring 7.3 and 9.0:1. - Motion: none of its own; the platform animates its picker.