Add a new custom label for close button in dialog header#3447
Conversation
🦋 Changeset detectedLatest commit: d0a2c9e The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
633e2b2 to
d0a2c9e
Compare
|
Hi @francinelucca I've added and committed the changeset. Regarding the CI errors ( Let me know if anything else is needed! Best regards, |
|
merged! thanks for the work on this @bsatarnejad 🙏 |
What are you trying to accomplish?
Make it possible for close button in dialog header to have a custom label.
Screenshots
Custom aria-label on close button:

Integration
It won't break anything.
List the issues that this change affects.
Closes #3446
Risk Assessment
What approach did you choose and why?
Add a new optional parameter for the header of dialog component named 'close_label' which can be used to pass the value of aria-label of close button in the header of the dialog.
Accessibility
This can improve accessibility since the aria-label has a custom value now.
Merge checklist
Take a look at the What we look for in reviews section of the contributing guidelines for more information on how we review PRs.