Skip to content

Commit

Permalink
Update: remove implied aria properties from <input type="range"> (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirsty-hames authored Oct 27, 2023
1 parent 7d9f02f commit dbe0b3f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions templates/confidenceSlider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,15 +180,11 @@ export default function ConfidenceSlider (props) {

<input className='slider__item-input js-slider-item-input'
type='range'
role='slider'
aria-label={ariaScaleName}
value={selectedValue}
min={_scaleStart}
max={_scaleEnd}
step={_scaleStep}
aria-valuenow={selectedValue}
aria-valuemin={_scaleStart}
aria-valuemax={_scaleEnd}
data-direction={_marginDir === 'right' ?? 'rtl'}
disabled={!_isEnabled}
onChange={e => onNumberSelected(e.target.value)}
Expand Down

0 comments on commit dbe0b3f

Please sign in to comment.