Skip to content

[BUG] [alpha] Sub-Agents dialog (empty state): Code agent template button has title but no aria-label #29508

@codvy8282

Description

@codvy8282

Project

ide

Description

The "Code" template button uses title={template.description} (long description) but has no aria-label. Icon-only or icon+short-text buttons should have an explicit accessible name.

Steps to Reproduce

  1. Open Sub-Agents dialog in empty state.
  2. Locate the first template button (Code — code icon and "Code" text).
  3. Check for aria-label on the button.

Expected Behavior

The button has aria-label="Spawn Code agent" or similar so the action is clear.

Actual Behavior

The button has only title (template description) and no aria-label.

Screenshots

Screencast.from.2026-03-16.01-00-07.webm

System Information

OS: Ubuntu 24.04.3 LTS
CPU: Intel(R) Core(TM) i9-14900HX (8 cores)
RAM: 16 GB

Metadata

Metadata

Assignees

No one assigned

    Labels

    ideIssues related to IDEinvalidThis doesn't seem right

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions