Project label — accessibility

Keyboard

  • A plain span, not focusable — it is a label, not a control. Changing the project is a row action (Projekt) with its own keyboard path.

ARIA

  • No role. The leading <Icon> is aria-hidden; the accessible name is the project name.
  • Colour and icon are never announced: the project name alone must identify the project. An unconfirmed AI suggestion adds ? to the text and a title that says it is a suggestion.

Focus

  • Nothing to focus. If a pill is ever made clickable, it becomes a real button inside the pill and takes the foundation focus ring.

Contrast

  • Label text is --fg on the canvas, the same as Pill (17.59:1 light, 14.53:1 dark).
  • The tinted icon uses the saturated --ic-* set (or the project’s own colour). It is decoration on top of the name, never the only carrier of meaning. An own #rrggbb colour is not checked against the canvas — acceptable only because the icon is not information.

Known limits

  • Two projects with the same icon and colour differ only by their names; keep names distinct.
  • A very light own colour can nearly vanish on the light canvas; the name still reads at full contrast.

Source: docs/status/project-label.a11y.md · GitLab