File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -85,16 +85,18 @@ const ProductFilters = ({
85
85
86
86
< div className = "mb-8" >
87
87
< h3 className = "font-semibold mb-4" > PRIS</ h3 >
88
- < input
89
- type = "range"
90
- min = "0"
91
- max = "1000"
92
- value = { priceRange [ 1 ] }
93
- onChange = { ( e ) =>
94
- setPriceRange ( [ priceRange [ 0 ] , parseInt ( e . target . value ) ] )
95
- }
96
- className = "w-full"
97
- />
88
+ < label htmlFor = "price-range" className = "sr-only" > Pris</ label >
89
+ < input
90
+ id = "price-range"
91
+ type = "range"
92
+ min = "0"
93
+ max = "1000"
94
+ value = { priceRange [ 1 ] }
95
+ onChange = { ( e ) =>
96
+ setPriceRange ( [ priceRange [ 0 ] , parseInt ( e . target . value ) ] )
97
+ }
98
+ className = "w-full"
99
+ />
98
100
< div className = "flex justify-between mt-2" >
99
101
< span > kr { priceRange [ 0 ] } </ span >
100
102
< span > kr { priceRange [ 1 ] } </ span >
You can’t perform that action at this time.
0 commit comments