File tree 2 files changed +107
-42
lines changed
renderers/table/__snapshots__
2 files changed +107
-42
lines changed Original file line number Diff line number Diff line change @@ -133,20 +133,29 @@ Array [
133
133
</caption >
134
134
<thead >
135
135
<tr >
136
- <th >
136
+ <th
137
+ scope = " col"
138
+ >
137
139
Name
138
140
</th >
139
- <th >
141
+ <th
142
+ scope = " col"
143
+ >
140
144
Qtd
141
145
</th >
142
- <th >
146
+ <th
147
+ scope = " col"
148
+ >
143
149
Price
144
150
</th >
145
151
</tr >
146
152
</thead >
153
+
147
154
<tbody >
148
155
<tr >
149
- <th >
156
+ <th
157
+ scope = " row"
158
+ >
150
159
Kine
151
160
</th >
152
161
<td >
@@ -157,7 +166,9 @@ Array [
157
166
</td >
158
167
</tr >
159
168
<tr >
160
- <th >
169
+ <th
170
+ scope = " row"
171
+ >
161
172
Pigs
162
173
</th >
163
174
<td >
@@ -168,7 +179,9 @@ Array [
168
179
</td >
169
180
</tr >
170
181
<tr >
171
- <th >
182
+ <th
183
+ scope = " row"
184
+ >
172
185
Chickens
173
186
</th >
174
187
<td >
@@ -181,15 +194,17 @@ Array [
181
194
</tbody >
182
195
<tfoot >
183
196
<tr >
184
- <th >
197
+ <th
198
+ scope = " row"
199
+ >
185
200
Total
186
201
</th >
187
- <th >
202
+ <td >
188
203
16 pcs
189
- </th >
190
- <th >
204
+ </td >
205
+ <td >
191
206
$450
192
- </th >
207
+ </td >
193
208
</tr >
194
209
</tfoot >
195
210
</table >,
@@ -275,20 +290,29 @@ Array [
275
290
</caption >
276
291
<thead >
277
292
<tr >
278
- <th >
293
+ <th
294
+ scope = " col"
295
+ >
279
296
Name
280
297
</th >
281
- <th >
298
+ <th
299
+ scope = " col"
300
+ >
282
301
Qtd
283
302
</th >
284
- <th >
303
+ <th
304
+ scope = " col"
305
+ >
285
306
Price
286
307
</th >
287
308
</tr >
288
309
</thead >
310
+
289
311
<tbody >
290
312
<tr >
291
- <th >
313
+ <th
314
+ scope = " row"
315
+ >
292
316
Kine
293
317
</th >
294
318
<td >
@@ -299,7 +323,9 @@ Array [
299
323
</td >
300
324
</tr >
301
325
<tr >
302
- <th >
326
+ <th
327
+ scope = " row"
328
+ >
303
329
Pigs
304
330
</th >
305
331
<td >
@@ -310,7 +336,9 @@ Array [
310
336
</td >
311
337
</tr >
312
338
<tr >
313
- <th >
339
+ <th
340
+ scope = " row"
341
+ >
314
342
Chickens
315
343
</th >
316
344
<td >
@@ -323,15 +351,17 @@ Array [
323
351
</tbody >
324
352
<tfoot >
325
353
<tr >
326
- <th >
354
+ <th
355
+ scope = " row"
356
+ >
327
357
Total
328
358
</th >
329
- <th >
359
+ <td >
330
360
16 pcs
331
- </th >
332
- <th >
361
+ </td >
362
+ <td >
333
363
$450
334
- </th >
364
+ </td >
335
365
</tr >
336
366
</tfoot >
337
367
</table >,
Original file line number Diff line number Diff line change 2
2
3
3
exports [` <Table /> when receives a simple table renders a <table > tag without <thead >, <tfoot > or <caption > 1`] = `
4
4
<table >
5
+
5
6
<tbody >
6
7
<tr >
7
- <th >
8
+ <th
9
+ scope = " row"
10
+ >
8
11
Kine
9
12
</th >
10
13
<td >
@@ -15,7 +18,9 @@ exports[`<Table /> when receives a simple table renders a <table> tag without <t
15
18
</td >
16
19
</tr >
17
20
<tr >
18
- <th >
21
+ <th
22
+ scope = " row"
23
+ >
19
24
Pigs
20
25
</th >
21
26
<td >
@@ -26,7 +31,9 @@ exports[`<Table /> when receives a simple table renders a <table> tag without <t
26
31
</td >
27
32
</tr >
28
33
<tr >
29
- <th >
34
+ <th
35
+ scope = " row"
36
+ >
30
37
Chickens
31
38
</th >
32
39
<td >
@@ -47,20 +54,29 @@ exports[`<Table /> when receives a table block renders a <table> tag 1`] = `
47
54
</caption >
48
55
<thead >
49
56
<tr >
50
- <th >
57
+ <th
58
+ scope = " col"
59
+ >
51
60
Name
52
61
</th >
53
- <th >
62
+ <th
63
+ scope = " col"
64
+ >
54
65
Qtd
55
66
</th >
56
- <th >
67
+ <th
68
+ scope = " col"
69
+ >
57
70
Price
58
71
</th >
59
72
</tr >
60
73
</thead >
74
+
61
75
<tbody >
62
76
<tr >
63
- <th >
77
+ <th
78
+ scope = " row"
79
+ >
64
80
Kine
65
81
</th >
66
82
<td >
@@ -71,7 +87,9 @@ exports[`<Table /> when receives a table block renders a <table> tag 1`] = `
71
87
</td >
72
88
</tr >
73
89
<tr >
74
- <th >
90
+ <th
91
+ scope = " row"
92
+ >
75
93
Pigs
76
94
</th >
77
95
<td >
@@ -82,7 +100,9 @@ exports[`<Table /> when receives a table block renders a <table> tag 1`] = `
82
100
</td >
83
101
</tr >
84
102
<tr >
85
- <th >
103
+ <th
104
+ scope = " row"
105
+ >
86
106
Chickens
87
107
</th >
88
108
<td >
@@ -95,15 +115,17 @@ exports[`<Table /> when receives a table block renders a <table> tag 1`] = `
95
115
</tbody >
96
116
<tfoot >
97
117
<tr >
98
- <th >
118
+ <th
119
+ scope = " row"
120
+ >
99
121
Total
100
122
</th >
101
- <th >
123
+ <td >
102
124
16 pcs
103
- </th >
104
- <th >
125
+ </td >
126
+ <td >
105
127
$450
106
- </th >
128
+ </td >
107
129
</tr >
108
130
</tfoot >
109
131
</table >
@@ -116,20 +138,29 @@ exports[`<Table /> when receives a table block without footer renders a <table>
116
138
</caption >
117
139
<thead >
118
140
<tr >
119
- <th >
141
+ <th
142
+ scope = " col"
143
+ >
120
144
Name
121
145
</th >
122
- <th >
146
+ <th
147
+ scope = " col"
148
+ >
123
149
Qtd
124
150
</th >
125
- <th >
151
+ <th
152
+ scope = " col"
153
+ >
126
154
Price
127
155
</th >
128
156
</tr >
129
157
</thead >
158
+
130
159
<tbody >
131
160
<tr >
132
- <th >
161
+ <th
162
+ scope = " row"
163
+ >
133
164
Kine
134
165
</th >
135
166
<td >
@@ -140,7 +171,9 @@ exports[`<Table /> when receives a table block without footer renders a <table>
140
171
</td >
141
172
</tr >
142
173
<tr >
143
- <th >
174
+ <th
175
+ scope = " row"
176
+ >
144
177
Pigs
145
178
</th >
146
179
<td >
@@ -151,7 +184,9 @@ exports[`<Table /> when receives a table block without footer renders a <table>
151
184
</td >
152
185
</tr >
153
186
<tr >
154
- <th >
187
+ <th
188
+ scope = " row"
189
+ >
155
190
Chickens
156
191
</th >
157
192
<td >
You can’t perform that action at this time.
0 commit comments