Willison's one-prompt select recipe routes around Chrome and Safari's new API
A Claude-generated select-styling recipe from a trusted author teaches the old workaround while Chrome 135 and Safari 27 already ship the standards fix.
Willison’s one-prompt select recipe routes around Chrome and Safari’s new API
TL;DR
- Simon Willison published a cross-browser
<select>recipe using the decade-oldappearance: noneSVG-arrow pattern. - The post omits
appearance: base-select, already shipped in Chrome 135 and Safari 27. - Both approaches break the native mobile picker on iOS wheels and Android fullscreen lists.
- A one-line Claude prompt generated the specimen page, modelling an AI-authored reference workflow.
Today’s lone AI tech feature is small on its face and larger in implication. Simon Willison — one of the web’s most-read reference authors — published a cross-browser <select> styling recipe generated from a one-line Claude prompt. The recipe works. It also skips appearance: base-select, the standards-track answer that already ships in Chrome 135 and Safari 27, and it inherits the same mobile-picker breakage the new API was designed to avoid.
The frame worth watching isn’t the CSS. It’s the AI-authored reference artifact: a trusted author’s quick-prompt specimen page becomes canonical by search rank, and the decade-old workaround gets re-taught past the browser fix that would retire it. Accessibility leads have been flagging this exact workflow for months; today’s post is a worked example of the pattern they warned about.
Willison’s select CSS skips the new base-select API
Source: simon-willison · published 2026-11-22
TL;DR
- Simon Willison published a cross-browser
<select>recipe using the decade-oldappearance: none+ SVG background-arrow pattern. - The post ignores
appearance: base-select, which Chrome shipped in 135 and Safari in 27, enabling fully styleable native pickers 1. - Both the old recipe and the new API break the native mobile picker — the iOS wheel and Android fullscreen list 2.
- Willison generated the specimen page from a one-line Claude prompt, modelling a workflow accessibility leads have flagged.
The recipe
Willison was annoyed that <select> boxes render differently in Chrome, Safari, and Firefox — Chrome in particular is “quite ugly” — and had Claude Fable 5.2 build him a specimen page covering every styling option. He settled on the classic workaround: appearance: none to strip the native UI, a 1px #c4cbd3 border, 6px radius, and an inline SVG data URI for the dropdown chevron. The result is pixel-identical across the three desktop browsers, with no JavaScript.
As a fallback recipe this is fine. As a 2026 recommendation it’s a generation behind the platform.
What the post doesn’t mention
Chrome 135 shipped appearance: base-select in April 2025, and Safari 27 followed in September 2026 13. Opting in on both the <select> and a new ::picker(select) pseudo-element unlocks rich HTML inside <option> — avatars, SVGs, anything — and renders the dropdown in the top layer, which escapes the z-index and overflow: hidden traps that have plagued custom pickers forever 14. Firefox has an implementation behind the dom.select.customizable_select.enabled flag 3.
The MDN and Chrome guidance is to layer this via @supports (appearance: base-select) on top of exactly the kind of baseline Willison documents. His CSS is the fallback branch of a progressive-enhancement pattern — not the recommendation.
| Approach | Styleable | Native mobile picker | Rich HTML in options | Escapes overflow clipping |
|---|---|---|---|---|
Default <select> | ✗ | ✓ | ✗ | ✓ |
appearance: none (Willison) | partial | ✗ | ✗ | ✗ |
appearance: base-select | ✓ | ✗ | ✓ | ✓ |
Regressions the recipe inherits silently
Both patterns kill the native mobile picker. Copy Willison’s CSS into a production app and iOS users lose the wheel; Android users lose the fullscreen list. HN commenters on the base-select rollout raised a sharper concern too: a fully customizable picker can mimic an OS password prompt, opening a phishing surface native menus don’t have 5. The new API also drops automatic button sizing to the widest option and still doesn’t support multi-select or built-in filtering 2.
WebKit’s companion post to the Safari launch codifies a “Golden Rule” that cuts across both approaches: every option must keep clear text content, because icon-only options break screen readers and non-supporting browsers 6.
The AI-generation footnote
Willison’s specimen page came from a single prompt — “Build an HTML page that shows all of the ways a select box can be styled.” The CSS he landed on is semantically fine because it keeps the native <select> element intact. But the workflow it models — one-shot LLM generation of UI primitives from a visual brief — is precisely what accessibility practitioners have been warning produces plausible-looking “div soup” when the prompt doesn’t pin down semantics. The recipe is safe. The pattern around it needs the guardrails Willison’s post doesn’t include.
Footnotes
-
Chrome for Developers — ‘A customizable select element’ — https://developer.chrome.com/blog/a-customizable-select
Chrome 135 ships a customizable select element… developers can opt in with appearance: base-select on both the