Skip to content

[BUG] [alpha] ModelSelectorCompact: trigger button has no aria-label — screen readers announce unlabeled button when no model name is visible #33002

@hconsulting987654321-blip

Description

The ModelSelectorCompact trigger button (ModelSelector.tsx:530-554) has aria-haspopup="listbox" and aria-expanded but NO aria-label. When no model is selected, the fallback text is just "Model" — but when a model IS selected, the button shows only a truncated model name (max-width 80px) with a ProviderIcon that has aria-hidden="true". Screen readers may announce "button" with unclear context. The main ModelSelector correctly has aria-label="Select model" (line 257) but the compact variant does not. WCAG 4.1.2. File: ModelSelector.tsx:530. Screenshot: https://raw.githubusercontent.com/hconsulting987654321-blip/bug-screenshots/main/settings-panel.png

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions