7 React UI libraries' dropdowns tested with real keystrokes: Radix eats Tab, Arco drops focus, Ant Design hides options from screen readers
Keyboard-driven users and screen reader users in admin systems will hit these exact focus traps, and a single swallowed Tab or lost focus can silently break a data-entry workflow hundreds of times a day. Teams using Radix or shadcn should expect to patch Tab exit behavior themselves, and teams with accessibility requirements cannot trust a library's visible option count.
One developer with a no-mouse workflow loaded the latest versions of Ant Design, MUI, Radix, Mantine, Headless UI, Semi Design, and Arco into isolated pages and drove real keyboard events via Playwright. The test path: focus, open, select, close, leave. Seven predefined WAI-ARIA checks were run, with a div holding the onChange value as ground truth.
Six libraries passed all seven checks, but the failures expose gaps between "can select" and "can move through." Radix never lets Tab escape an open list; Arco only opens with Enter and sends focus to body after Esc; Ant Design's accessibility tree shows far fewer options than the visible DOM. Semi adds a stray "tick" label to every option. The manual 2-minute self-check script is included, along with wrapper-layer patches for Arco and Radix.
The takeaway: component library keyboard support is passable by default, but the only reliable fixes come from testing the open-state Tab behavior and post-close focus restoration, which the docs rarely describe.
The gap between "selectable" and "navigable" is real: all 7 libraries let you pick an option, but only Radix and Arco trap or drop the keyboard entirely; the other failures are screen-reader-specific and invisible to mouse users.
Radix's Tab swallowing is the most dangerous failure because it's invisible during normal GUI testing and only surfaces when a keyboard user presses Tab after opening a dropdown.
Ant Design's approach to options suggests the visible list is used purely for pointer events, with a separate virtualized accessibility tree — a design that may optimize rendering at the cost of screen reader accuracy.
Arco's lost focus after Esc is a classic "focus restoration" bug that no test suite would catch unless it checks document.activeElement, which is why the article's inclusion in CI is valuable.
MUI's two-step Tab (close then leave) is a good example of where WAI-ARIA compliance and user feel diverge: standards pass, but heavy keyboard users notice the extra key press.
The author's method of pre-defining 7 checks and using real Playwright keystrokes rather than synthetic KeyboardEvent dispatches is a reminder that synthetic events cannot validate browser focus management.
This testing method is sound. The part about losing focus is the real issue. Being able to select something and being truly usable are worlds apart.
Nice.