Skip to content

fix(Dialog): provide headerId to header slot#8549

Open
hedgehog9898 wants to merge 1 commit intoprimefaces:masterfrom
hedgehog9898:fix/Dialog/aria-labelledby
Open

fix(Dialog): provide headerId to header slot#8549
hedgehog9898 wants to merge 1 commit intoprimefaces:masterfrom
hedgehog9898:fix/Dialog/aria-labelledby

Conversation

@hedgehog9898
Copy link
Copy Markdown

@hedgehog9898 hedgehog9898 commented Apr 20, 2026

  • Providing headerId to header slot to make sure ariaLabelledById can be referenced in customer header slot
  • Extend condition for the ariaLabelledById. We won't generate ariaLabelledById if showHeader is false
  • Add unit tests for ariaLabelledById test cases

Defect Fixes

Closes Issue

Feature Requests

Due to company policy, we are unable to accept feature request PRs with significant changes as such cases has to be implemented by our team following our own processes.

- Providing headerId to header slot to make sure ariaLabelledById can be referenced in customer header slot
- Extend condition for the ariaLabelledById. We won't generate ariaLabelledById  if showHeader is false
- Add unit tests for ariaLabelledById test cases
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.

Dialog: aria-labelledby is wrongly assigned, when there is no header property, but custom header slot

1 participant