Skip to content

bug(platform): a project's icon repeats the project's name to screen readers beside the name #5382

Closed

Description

@yannickmonney

Summary

ProjectAvatar is a role="img" element labelled with the project's name. Where it sits beside the visible name, a screen reader reads the name twice:

  • a Home sidebar project row reads "Launch site Launch site";
  • a chat row's project marker reads "… Review Crew Review Crew".

The accessibility pass of the chat agents epic (#5371) found this. The epic fixed the same doubling in the composer's project menu and in Move to project…, whose rows now carry one name. The places below were left as they were.

What the repository says today (main 9be27c4e2)

  • services/platform/app/features/projects/components/project-avatar.tsx:157-183: always <span role="img" aria-label={name}> around the icon.
  • The avatar beside the visible name:
    • Home project rows, inside the row's link: services/platform/app/features/home/components/home-projects.tsx:166-182.
    • A chat row's project marker: services/platform/app/features/home/components/home-rows.tsx:205-220.
    • The chat header's project: services/platform/app/features/chat/components/chat-surface.tsx:2198-2209 (train a32fb1586).
    • The projects table's name cell (avatar, key, then the name's link): services/platform/app/features/projects/components/projects-table.tsx:249-255.
  • The rows the epic fixed name themselves through the picker row's ariaLabel (composer-project-picker.tsx and use-thread-menu-actions.tsx, on train).

What was observed

Chrome's accessibility tree in the browser pass of 2026-11-05: a Home project row named "Launch site Launch site", and a chat row ending in "Review Crew Review Crew". The chat header and the projects table were read from the code, not with a screen reader.

Constraints

  • WCAG 2.1 AA.
  • An avatar shown without its name next to it must keep a name.

Options (no preference)

  1. A prop that makes the avatar decorative (aria-hidden, no role), used where the name is shown beside it.
  2. Decorative by default, and named only where it stands alone.
  3. Keep the avatar named and hide the visible text from the accessibility tree where the two sit together.

Related

Activity

  1. added
    priority: low
    bug
    service: platform
    on Nov 5, 2026
  2. added
    agent-ready
    on Nov 5, 2026
  3. added a commit that references this issue on Nov 5, 2026
    47d40c9
  4. added a commit that references this issue on Nov 5, 2026
    67e9ad9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readybugpriority: lowservice: platform

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions