File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,18 @@ const TimeControl: React.FC<ITimeControl> = ({ minValue }) => {
14
14
aria-label = "time-selection"
15
15
>
16
16
< header className = "border-b-klerosUIComponentsStroke flex h-16 items-center justify-center border-b" >
17
- < h2 className = "text-klerosUIComponentsPrimaryText text-base font-semibold" >
17
+ < h2
18
+ className = "text-klerosUIComponentsPrimaryText text-base font-semibold"
19
+ id = "time-selection-label"
20
+ >
18
21
Time
19
22
</ h2 >
20
23
</ header >
21
- < div role = "group" className = "flex grow flex-col" >
24
+ < div
25
+ role = "group"
26
+ className = "flex grow flex-col"
27
+ aria-labelledby = "time-selection-label"
28
+ >
22
29
< div
23
30
className = { clsx (
24
31
"h-16 w-full grow" ,
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ const HorizontalSteps: React.FC<StepsProps> = ({
15
15
className ,
16
16
) }
17
17
{ ...props }
18
- aria-orientation = "horizontal"
19
18
aria-label = "Horizontal progress steps"
20
19
>
21
20
{ items . map ( ( item , i ) => (
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ const Steps: React.FC<StepsProps> = ({
12
12
return (
13
13
< ol
14
14
className = { cn ( "flex h-full flex-col" , className ) }
15
- aria-orientation = "vertical"
16
15
aria-label = "Vertical progress steps"
17
16
>
18
17
< div className = "flex h-auto grow flex-col" >
You can’t perform that action at this time.
0 commit comments