@@ -9,55 +9,55 @@ exports[`TabList structure : default options 1`] = `
9
9
<li
10
10
aria-controls = " rc-dyn-tabs-p-1"
11
11
aria-expanded = { true }
12
- aria-labelledby = " rc-dyn-tabs-l-1 "
12
+ aria-label = " tab1 "
13
13
aria-selected = { true }
14
14
className = " rc-dyn-tabs-tab rc-dyn-tabs-selected"
15
+ id = " rc-dyn-tabs-l-1"
15
16
onClick = { [Function ]}
16
17
role = " tab"
17
18
tab-id = " 1"
18
19
tabIndex = { 0 }
20
+ title = " tab1"
19
21
>
20
22
<button
21
23
className = " rc-dyn-tabs-title"
22
- id = " rc-dyn-tabs-l-1"
23
24
role = " presentation"
24
25
tab-id = " 1"
25
26
tabIndex = { - 1 }
26
- title = " "
27
27
>
28
28
tab1
29
29
</button >
30
30
<span
31
31
className = " rc-dyn-tabs-close"
32
- role = " presentation "
32
+ role = " button "
33
33
>
34
34
×
35
35
</span >
36
36
</li >
37
37
<li
38
38
aria-controls = " rc-dyn-tabs-p-2"
39
39
aria-expanded = { false }
40
- aria-labelledby = " rc-dyn-tabs-l-2 "
40
+ aria-label = " tab2 "
41
41
aria-selected = { false }
42
42
className = " rc-dyn-tabs-tab"
43
+ id = " rc-dyn-tabs-l-2"
43
44
onClick = { [Function ]}
44
45
role = " tab"
45
46
tab-id = " 2"
46
47
tabIndex = { - 1 }
48
+ title = " tab2"
47
49
>
48
50
<button
49
51
className = " rc-dyn-tabs-title"
50
- id = " rc-dyn-tabs-l-2"
51
52
role = " presentation"
52
53
tab-id = " 2"
53
54
tabIndex = { - 1 }
54
- title = " "
55
55
>
56
56
tab2
57
57
</button >
58
58
<span
59
59
className = " rc-dyn-tabs-close"
60
- role = " presentation "
60
+ role = " button "
61
61
>
62
62
×
63
63
</span >
@@ -75,55 +75,55 @@ exports[`TabList structure : isVertical option 1`] = `
75
75
<li
76
76
aria-controls = " rc-dyn-tabs-p-1"
77
77
aria-expanded = { true }
78
- aria-labelledby = " rc-dyn-tabs-l-1 "
78
+ aria-label = " tab1 "
79
79
aria-selected = { true }
80
80
className = " rc-dyn-tabs-tab rc-dyn-tabs-selected"
81
+ id = " rc-dyn-tabs-l-1"
81
82
onClick = { [Function ]}
82
83
role = " tab"
83
84
tab-id = " 1"
84
85
tabIndex = { 0 }
86
+ title = " tab1"
85
87
>
86
88
<button
87
89
className = " rc-dyn-tabs-title"
88
- id = " rc-dyn-tabs-l-1"
89
90
role = " presentation"
90
91
tab-id = " 1"
91
92
tabIndex = { - 1 }
92
- title = " "
93
93
>
94
94
tab1
95
95
</button >
96
96
<span
97
97
className = " rc-dyn-tabs-close"
98
- role = " presentation "
98
+ role = " button "
99
99
>
100
100
×
101
101
</span >
102
102
</li >
103
103
<li
104
104
aria-controls = " rc-dyn-tabs-p-2"
105
105
aria-expanded = { false }
106
- aria-labelledby = " rc-dyn-tabs-l-2 "
106
+ aria-label = " tab2 "
107
107
aria-selected = { false }
108
108
className = " rc-dyn-tabs-tab"
109
+ id = " rc-dyn-tabs-l-2"
109
110
onClick = { [Function ]}
110
111
role = " tab"
111
112
tab-id = " 2"
112
113
tabIndex = { - 1 }
114
+ title = " tab2"
113
115
>
114
116
<button
115
117
className = " rc-dyn-tabs-title"
116
- id = " rc-dyn-tabs-l-2"
117
118
role = " presentation"
118
119
tab-id = " 2"
119
120
tabIndex = { - 1 }
120
- title = " "
121
121
>
122
122
tab2
123
123
</button >
124
124
<span
125
125
className = " rc-dyn-tabs-close"
126
- role = " presentation "
126
+ role = " button "
127
127
>
128
128
×
129
129
</span >
@@ -142,12 +142,13 @@ exports[`TabList structure : none accessibility option 1`] = `
142
142
onClick = { [Function ]}
143
143
tab-id = " 1"
144
144
tabIndex = { 0 }
145
+ title = " tab1"
145
146
>
146
147
<button
147
148
className = " rc-dyn-tabs-title"
149
+ role = " presentation"
148
150
tab-id = " 1"
149
151
tabIndex = { - 1 }
150
- title = " "
151
152
>
152
153
tab1
153
154
</button >
@@ -162,12 +163,13 @@ exports[`TabList structure : none accessibility option 1`] = `
162
163
onClick = { [Function ]}
163
164
tab-id = " 2"
164
165
tabIndex = { - 1 }
166
+ title = " tab2"
165
167
>
166
168
<button
167
169
className = " rc-dyn-tabs-title"
170
+ role = " presentation"
168
171
tab-id = " 2"
169
172
tabIndex = { - 1 }
170
- title = " "
171
173
>
172
174
tab2
173
175
</button >
@@ -190,55 +192,55 @@ exports[`TabList structure : rtl option 1`] = `
190
192
<li
191
193
aria-controls = " rc-dyn-tabs-p-1"
192
194
aria-expanded = { true }
193
- aria-labelledby = " rc-dyn-tabs-l-1 "
195
+ aria-label = " tab1 "
194
196
aria-selected = { true }
195
197
className = " rc-dyn-tabs-tab rc-dyn-tabs-selected"
198
+ id = " rc-dyn-tabs-l-1"
196
199
onClick = { [Function ]}
197
200
role = " tab"
198
201
tab-id = " 1"
199
202
tabIndex = { 0 }
203
+ title = " tab1"
200
204
>
201
205
<button
202
206
className = " rc-dyn-tabs-title"
203
- id = " rc-dyn-tabs-l-1"
204
207
role = " presentation"
205
208
tab-id = " 1"
206
209
tabIndex = { - 1 }
207
- title = " "
208
210
>
209
211
tab1
210
212
</button >
211
213
<span
212
214
className = " rc-dyn-tabs-close"
213
- role = " presentation "
215
+ role = " button "
214
216
>
215
217
×
216
218
</span >
217
219
</li >
218
220
<li
219
221
aria-controls = " rc-dyn-tabs-p-2"
220
222
aria-expanded = { false }
221
- aria-labelledby = " rc-dyn-tabs-l-2 "
223
+ aria-label = " tab2 "
222
224
aria-selected = { false }
223
225
className = " rc-dyn-tabs-tab"
226
+ id = " rc-dyn-tabs-l-2"
224
227
onClick = { [Function ]}
225
228
role = " tab"
226
229
tab-id = " 2"
227
230
tabIndex = { - 1 }
231
+ title = " tab2"
228
232
>
229
233
<button
230
234
className = " rc-dyn-tabs-title"
231
- id = " rc-dyn-tabs-l-2"
232
235
role = " presentation"
233
236
tab-id = " 2"
234
237
tabIndex = { - 1 }
235
- title = " "
236
238
>
237
239
tab2
238
240
</button >
239
241
<span
240
242
className = " rc-dyn-tabs-close"
241
- role = " presentation "
243
+ role = " button "
242
244
>
243
245
×
244
246
</span >
0 commit comments