Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Assist: the message box says it has a skills list

Claude9e4ed4dbbd3d
diff --git a/src/components/assist/composer.tsx b/src/components/assist/composer.tsx
index 7db143d8..a532000b 100644
--- a/src/components/assist/composer.tsx
+++ b/src/components/assist/composer.tsx
@@ -273,7 +273,8 @@ export function AssistComposer({
rows={1}
placeholder={placeholder}
aria-label="Message"
- // A textarea can't be a combobox (axe aria-allowed-role): it stays a text box that names the open skills list and its active row.
+ // A textarea can't be a combobox (axe aria-allowed-role): it stays a text box that says it has a skills list ("/"), and names the open list and its active row.
+ aria-haspopup={skills?.length ? "listbox" : undefined}
aria-controls={menuOpen ? listId : undefined}
aria-activedescendant={menuOpen ? `${listId}-${matches[active]?.name}` : undefined}
aria-autocomplete={skills?.length ? "list" : undefined}