Skip to content

fix(breadcrumb): hide decorative separators from assistive tech - #1319

Merged
dominicbachmann merged 1 commit into
openng-org:mainfrom
manichandra:fix/breadcrumb-separator-aria-hidden
Jul 16, 2026
Merged

fix(breadcrumb): hide decorative separators from assistive tech#1319
dominicbachmann merged 1 commit into
openng-org:mainfrom
manichandra:fix/breadcrumb-separator-aria-hidden

Conversation

@manichandra

Copy link
Copy Markdown
Contributor

What

Adds aria-hidden="true" to the breadcrumb separator list items so decorative chevron separators are not exposed to assistive technology.

Why

Breadcrumb separators are visual-only delimiters. Without hiding them, screen readers can announce separator glyphs between breadcrumb items, adding noise to the trail. This aligns decorative non-text content with WCAG 2.x SC 1.1.1.

Notes

This ports a small accessibility fix I previously opened against PrimeNG before the repository was archived: primefaces/primeng#19568.

No behavior, CSS, or public API changes are included. Existing passthrough hooks remain in place for the separator and separator icon.

I am also happy to help with accessibility triage/review as Optimus UI moves toward its first release. I have been working through accessibility fixes in component libraries, including recent USWDS contributions and open accessibility PRs/issues in related UI ecosystems, and can help keep follow-up fixes small and reviewable here.

Tests

  • corepack pnpm install --frozen-lockfile
  • corepack pnpm exec prettier --check packages/optimus-ui/src/breadcrumb/breadcrumb.ts packages/optimus-ui/src/breadcrumb/breadcrumb.spec.ts
  • corepack pnpm run build:optimus-ui
  • corepack pnpm --filter @openng/optimus-ui test:unit

The full Optimus UI unit test command completed successfully with TOTAL: 7205 SUCCESS and 90 skipped tests. The run emitted existing console/reporter warnings after completion, but exited with status 0.

@dominicbachmann
dominicbachmann merged commit 055a9a3 into openng-org:main Jul 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants