-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Feature: add ability to provide input label
#2078
Feature: add ability to provide input label
#2078
Conversation
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.
AMAZING AMAZING AMAZING contribution, thank you @krosenk729!
Please make some changes according to the review.
thanks for the fast review @limonte - everything should be updated |
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.
Thanks a lot @krosenk729
This feature will definitely improve the plugin's a11y!
Will be released in 1 hour or so.
# [10.4.0](v10.3.7...v10.4.0) (2020-10-11) ### Features * add `inputLabel` parameter ([#2078](#2078)) ([a437376](a437376))
🎉 This PR is included in version 10.4.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* adding ability to add 'label' element to inputs * updating label to 'input-label'
# [10.4.0](sweetalert2/sweetalert2@v10.3.7...v10.4.0) (2020-10-11) ### Features * add `inputLabel` parameter ([sweetalert2#2078](sweetalert2#2078)) ([0c8c938](sweetalert2@0c8c938))
allows someone to provide
inputLabel
which will create a element linked to the input (this is a significant improvement to accessibility)