-
-
Notifications
You must be signed in to change notification settings - Fork 47
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 addLabels
having no effect for progressBar
#473
Fix addLabels
having no effect for progressBar
#473
Conversation
addLabels
havving no effect for progressBaraddLabels
having no effect for progressBar
Not sure. I would say no, as otherwise there is no way of knowing what the value of the progress bar is when the labels are hidden. |
I was thinking, that maybe one explicitly only want the visual feedback while handling the numeric values separately via a textbox? The slider also has only the visual feedback with labels of, so it might be more consistent? |
Fair. I think no labels at all are fine. |
Maybe a tooltip on hover is a good idea though. This can simply be done by setting an |
the left and right labels are now hidden if `addLabeld(false)` is used, same as on slider
287cb34
to
a7c2487
Compare
@@ -125,9 +125,12 @@ | |||
aria-valuemin={props.minValue} | |||
aria-valuemax={props.maxValue} | |||
aria-valuenow={value} | |||
aria-label={value} |
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.
I experimented a bit with with switching to aria-labeledby
in case the labels are shown, but could get it to work. also this required a unique ID on the mb-progress-bar-value
which adds unnecessary overhead
thanks |
I implemented the fix, but am unsure if all three lables should be hidden or if the center one should be left
closes #472