-
Notifications
You must be signed in to change notification settings - Fork 126
Add a new custom label for close button in dialog header #3447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
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.