Skip to content

Commit 5c872a4

Browse files
committed
add aria-label to slider as well
this shows the current value on hover
1 parent 924c851 commit 5c872a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/core/src/fields/inputFields/fields/Slider/SliderComponent.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
class="mb-slider-input slider"
2323
type="range"
2424
tabindex="0"
25+
aria-label={value.toString()}
2526
min={props.minValue}
2627
max={props.maxValue}
2728
step={props.stepSize}

0 commit comments

Comments
 (0)