Skip to content

Commit

Permalink
[slider] Add aria-label to Slider
Browse files Browse the repository at this point in the history
Fixes #273

Signed-off-by: Richard Gregory <richardgrecoson@gmail.com>
  • Loading branch information
richardgreg committed Oct 20, 2021
1 parent d0d5ffa commit 2628ecd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Slider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,7 @@ class Rheostat extends React.Component {
aria-valuemin={this.getMinValue(idx)}
aria-valuenow={values[idx]}
aria-disabled={disabled}
aria-label="Slider-bar"
data-handle-key={idx}
key={idx /* eslint-disable-line react/no-array-index-key */}
orientation={orientation}
Expand Down

0 comments on commit 2628ecd

Please sign in to comment.