-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix(slider): ensure slider and input are both labelled by the label #10400
fix(slider): ensure slider and input are both labelled by the label #10400
Conversation
✔️ Deploy Preview for carbon-react-next ready! 🔨 Explore the source changes: 14c9d4a 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-react-next/deploys/61e1a9c95bd6c900078d5044 😎 Browse the preview: https://deploy-preview-10400--carbon-react-next.netlify.app |
@mbgower I think this hits more of the mark you were aiming for in your original issue? |
✔️ Deploy Preview for carbon-elements ready! 🔨 Explore the source changes: 14c9d4a 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-elements/deploys/61e1a9c95bd6c900078d5042 😎 Browse the preview: https://deploy-preview-10400--carbon-elements.netlify.app |
✔️ Deploy Preview for carbon-components-react ready! 🔨 Explore the source changes: 14c9d4a 🔍 Inspect the deploy log: https://app.netlify.com/sites/carbon-components-react/deploys/61e1a9c9e42094000865a357 😎 Browse the preview: https://deploy-preview-10400--carbon-components-react.netlify.app |
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.
Looks good to me!
…10400) * chore(mixin): import carbon-component into package * chore(deps): bump package version to beta.2
Refs #10252 #10172
label
is associated with the slider viahtmlFor
aria-labelledby
aria-labelledby
thelabel
when a more explicitariaLabelInput
is not passedariaLabelInput
is passed, theinput
does not receivearia-labelledby
and instead receivesaria-label={ariaLabelInput}
Changelog
Changed
Testing / Reviewing
ariaLabelInput
doesn't receive a default.