Skip to content

a11y(platform): the task reviewer trigger shows the reviewer but its accessible name stays "Reviewer" (Label in Name) #4827

Closed

Description

@yannickmonney

Problem

#4681 (0cae27f45) turned the task page's reviewer trigger from an icon button into a button that shows the reviewer: an avatar plus the reviewer's label. That is the person or agent, or the inherited project reviewer. Both trigger variants still override the accessible name with the bare field name:

services/platform/app/features/tasks/components/reviewer-picker.tsx (main aec031867) Visible content Accessible name
:159-186, the trigger rendered before the list opens {avatar}{name}, where name is describeReviewer(…).label (:126-143) aria-label={t('fields.reviewer')} (:163), "Reviewer"
:362-384, the SearchableSelect trigger {avatar}{name} aria-label={t('fields.reviewer')} (:366), "Reviewer"
  • WCAG 2.5.3 Label in Name (Level A) fails. The visible text, for example a member's name, is not part of the accessible name. A speech-input user who says "click Anna Muster" activates nothing.
  • Screen readers no longer hear who reviews. The button announces "Reviewer, button", without the reviewer that fix(platform): show selected reviewer and preview agent reports #4681 made visible.

Before #4681 the trigger was size="icon" with no visible text, so aria-label="Reviewer" was correct.

Expected

  • Keep the field name and add the visible label to the accessible name, for example "Reviewer: Anna Muster". Or label the button with aria-labelledby pointing at the field label and the name span. The same applies to both variants.
  • Regression: a test that the trigger's accessible name contains the visible reviewer label, for an explicit member, an agent and the inherited project reviewer. On aec031867 it is "Reviewer" in all three cases.

Severity and owner

Activity

  1. added
    agent-ready
    on Oct 29, 2026
  2. added 2 commits that reference this issue on Oct 31, 2026
    d623bf8
    778cc40
  3. added a commit that references this issue on Oct 31, 2026
    8bfffdd
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-readybug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions