From 671cbb8ef363575624f71868013357c10d62bbfa Mon Sep 17 00:00:00 2001 From: Lars Nolden Date: Mon, 14 Sep 2026 12:00:32 +0200 Subject: [PATCH] Give quick-add rows their listbox semantics Create rows inside the combobox dropdown now carry role="option" like their sibling matches, and a failed creation announces itself with role="alert" instead of a silent list item. --- web/src/ui.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/src/ui.tsx b/web/src/ui.tsx index c7572c7..690920e 100644 --- a/web/src/ui.tsx +++ b/web/src/ui.tsx @@ -227,6 +227,8 @@ export function Combobox({ ))} - {createError &&
  • {createError}
  • } + {createError && ( +
  • + {createError} +
  • + )} {shown.length === 0 && creations.length === 0 && !createError && (
  • {emptyText}
  • )}