Skip to content

fix(panel): expose toggle aria attributes - #1409

Open
xonaib wants to merge 1 commit into
openng-org:mainfrom
xonaib:fix-panel-toggle-aria
Open

fix(panel): expose toggle aria attributes#1409
xonaib wants to merge 1 commit into
openng-org:mainfrom
xonaib:fix-panel-toggle-aria

Conversation

@xonaib

@xonaib xonaib commented Jul 27, 2026

Copy link
Copy Markdown

Summary

  • Adds Button inputs for aria-controls and aria-expanded so they are rendered on the native button element.
  • Wires Panel's toggle button to those inputs while keeping the existing host attributes in place.
  • Updates Panel accessibility tests to assert against the native button instead of the p-button host.

Testing

  • pnpm --filter @openng/optimus-ui exec ng test optimus-ui --include=src/panel/panel.spec.ts --watch=false --browsers=ChromeHeadless --progress=false
  • pnpm --filter @openng/optimus-ui build

Fixes #626

@xonaib
xonaib marked this pull request as ready for review July 28, 2026 05:06
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.

Panel: toggle button missing aria attributes

1 participant