Skip to content

Commit

Permalink
fix(slider): add labelledby to slider div (#11798)
Browse files Browse the repository at this point in the history
* fix(slider): add labelledby to slider div

* chore(slider): update aria-labelledby
  • Loading branch information
aledavila authored Jul 14, 2022
1 parent 42e2a71 commit 07a402c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/components/Slider/Slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,7 @@ export default class Slider extends PureComponent {
aria-valuemin={min}
aria-valuenow={value}
style={thumbStyle}
aria-labelledby={labelId}
/>
<div
className={`${prefix}--slider__track`}
Expand Down

0 comments on commit 07a402c

Please sign in to comment.