A few things worth asking, for an empty chat.
The list item wraps the button rather than being the button, so each one is still announced as a button inside a list - a listitem with a click handler is a list entry a screen reader cannot press.
import { PromptSuggestions } from '@redrob-labs/ui';
| Prop | Type | Notes |
|---|---|---|
items |
Array<PromptSuggestion | string> |
|
label |
string |
|
className |
string |
|
onSelect |
(value: string | undefined, item: PromptSuggestion | string) => void |