Skip to content

Collapsed and mobile sidebar exposes unnamed icon-only buttons #4

Description

@Vonng

Environment

  • SILO Console v2.0.0 at b952a1202869b89e5cc7b821a0b5651f74e09d08
  • Chrome desktop with the sidebar manually collapsed, and mobile layout where the sidebar auto-collapses
  • Tested against m.pigsty on 2026-08-05

Reproduction

  1. Sign in as an administrator so all navigation groups are available.
  2. Collapse the left sidebar, or use a narrow viewport.
  3. Inspect the accessibility tree and tab through the navigation controls.

Actual result

The expanded sidebar exposes useful names such as Buckets, Policies, Identity, Monitoring, Tools, and their child entries. In collapsed mode the Chrome accessibility tree contains roughly twenty visible button nodes with an empty accessible name. Only a few controls, such as Access Keys and Open help, retain a usable name.

The result is ambiguous keyboard focus and effectively undiscoverable navigation for screen-reader users. Visual tooltips are not a substitute for an accessible name.

MenuWrapper.tsx delegates the menu to MDS and enables collapsed tooltips for a few end items at lines 140-163, but the accessible label must survive for every rendered icon button.

Expected result

Hiding visible text must not remove the control's accessible name.

Acceptance criteria

  • Every collapsed/mobile navigation button has a stable aria-label (or equivalent accessible name) derived from its expanded label.
  • The collapse/expand toggle itself is named and exposes its state with aria-expanded.
  • Keyboard focus remains visible and follows a logical order.
  • Tooltips/title text may supplement, but not replace, the accessible name.
  • Add an automated accessibility assertion equivalent to axe button-name for expanded, collapsed, and mobile states.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status
Done

Relationships

None yet

Development

No branches or pull requests

Issue actions