@@ -11,20 +11,33 @@ exports[`Accepts any valid \`div\` attributes 1`] = `
11
11
style = " background-color: rgb(255, 0, 0);"
12
12
>
13
13
<div
14
- aria-label = " Color"
15
- aria-valuetext = " Saturation 0%, Brightness 0%"
16
- class = " react-colorful__interactive"
17
- role = " slider"
18
- tabindex = " 0"
14
+ aria-label = " Saturation and Brightness"
15
+ aria-rowcount = " 100"
16
+ role = " grid"
19
17
>
20
18
<div
21
- class = " react-colorful__pointer react-colorful__saturation-pointer"
22
- style = " top: 100%; left: 0%;"
19
+ aria-label = " Brightness 0%"
20
+ aria-rowindex = " 0"
21
+ role = " row"
23
22
>
24
23
<div
25
- class = " react-colorful__pointer-fill"
26
- style = " background-color: rgb(0, 0, 0);"
27
- />
24
+ aria-colcount = " 100"
25
+ aria-colindex = " 0"
26
+ aria-label = " Saturation 0%"
27
+ class = " react-colorful__interactive"
28
+ role = " gridcell"
29
+ tabindex = " 0"
30
+ >
31
+ <div
32
+ class = " react-colorful__pointer react-colorful__saturation-pointer"
33
+ style = " top: 100%; left: 0%;"
34
+ >
35
+ <div
36
+ class = " react-colorful__pointer-fill"
37
+ style = " background-color: rgb(0, 0, 0);"
38
+ />
39
+ </div >
40
+ </div >
28
41
</div >
29
42
</div >
30
43
</div >
@@ -72,20 +85,33 @@ exports[`Renders proper alpha color picker markup 1`] = `
72
85
style = " background-color: rgb(255, 0, 0);"
73
86
>
74
87
<div
75
- aria-label = " Color"
76
- aria-valuetext = " Saturation 100%, Brightness 100%"
77
- class = " react-colorful__interactive"
78
- role = " slider"
79
- tabindex = " 0"
88
+ aria-label = " Saturation and Brightness"
89
+ aria-rowcount = " 100"
90
+ role = " grid"
80
91
>
81
92
<div
82
- class = " react-colorful__pointer react-colorful__saturation-pointer"
83
- style = " top: 0%; left: 100%;"
93
+ aria-label = " Brightness 100%"
94
+ aria-rowindex = " 100"
95
+ role = " row"
84
96
>
85
97
<div
86
- class = " react-colorful__pointer-fill"
87
- style = " background-color: rgb(255, 0, 0);"
88
- />
98
+ aria-colcount = " 100"
99
+ aria-colindex = " 100"
100
+ aria-label = " Saturation 100%"
101
+ class = " react-colorful__interactive"
102
+ role = " gridcell"
103
+ tabindex = " 0"
104
+ >
105
+ <div
106
+ class = " react-colorful__pointer react-colorful__saturation-pointer"
107
+ style = " top: 0%; left: 100%;"
108
+ >
109
+ <div
110
+ class = " react-colorful__pointer-fill"
111
+ style = " background-color: rgb(255, 0, 0);"
112
+ />
113
+ </div >
114
+ </div >
89
115
</div >
90
116
</div >
91
117
</div >
@@ -151,20 +177,33 @@ exports[`Renders proper color picker markup 1`] = `
151
177
style = " background-color: rgb(255, 0, 0);"
152
178
>
153
179
<div
154
- aria-label = " Color"
155
- aria-valuetext = " Saturation 100%, Brightness 100%"
156
- class = " react-colorful__interactive"
157
- role = " slider"
158
- tabindex = " 0"
180
+ aria-label = " Saturation and Brightness"
181
+ aria-rowcount = " 100"
182
+ role = " grid"
159
183
>
160
184
<div
161
- class = " react-colorful__pointer react-colorful__saturation-pointer"
162
- style = " top: 0%; left: 100%;"
185
+ aria-label = " Brightness 100%"
186
+ aria-rowindex = " 100"
187
+ role = " row"
163
188
>
164
189
<div
165
- class = " react-colorful__pointer-fill"
166
- style = " background-color: rgb(255, 0, 0);"
167
- />
190
+ aria-colcount = " 100"
191
+ aria-colindex = " 100"
192
+ aria-label = " Saturation 100%"
193
+ class = " react-colorful__interactive"
194
+ role = " gridcell"
195
+ tabindex = " 0"
196
+ >
197
+ <div
198
+ class = " react-colorful__pointer react-colorful__saturation-pointer"
199
+ style = " top: 0%; left: 100%;"
200
+ >
201
+ <div
202
+ class = " react-colorful__pointer-fill"
203
+ style = " background-color: rgb(255, 0, 0);"
204
+ />
205
+ </div >
206
+ </div >
168
207
</div >
169
208
</div >
170
209
</div >
@@ -203,20 +242,33 @@ exports[`Works with no props 1`] = `
203
242
style = " background-color: rgb(255, 0, 0);"
204
243
>
205
244
<div
206
- aria-label = " Color"
207
- aria-valuetext = " Saturation 0%, Brightness 0%"
208
- class = " react-colorful__interactive"
209
- role = " slider"
210
- tabindex = " 0"
245
+ aria-label = " Saturation and Brightness"
246
+ aria-rowcount = " 100"
247
+ role = " grid"
211
248
>
212
249
<div
213
- class = " react-colorful__pointer react-colorful__saturation-pointer"
214
- style = " top: 100%; left: 0%;"
250
+ aria-label = " Brightness 0%"
251
+ aria-rowindex = " 0"
252
+ role = " row"
215
253
>
216
254
<div
217
- class = " react-colorful__pointer-fill"
218
- style = " background-color: rgb(0, 0, 0);"
219
- />
255
+ aria-colcount = " 100"
256
+ aria-colindex = " 0"
257
+ aria-label = " Saturation 0%"
258
+ class = " react-colorful__interactive"
259
+ role = " gridcell"
260
+ tabindex = " 0"
261
+ >
262
+ <div
263
+ class = " react-colorful__pointer react-colorful__saturation-pointer"
264
+ style = " top: 100%; left: 0%;"
265
+ >
266
+ <div
267
+ class = " react-colorful__pointer-fill"
268
+ style = " background-color: rgb(0, 0, 0);"
269
+ />
270
+ </div >
271
+ </div >
220
272
</div >
221
273
</div >
222
274
</div >
0 commit comments