@adobe/design-data-spec 0.9.0 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/components/accordion.json +18 -1
  2. package/components/action-bar.json +12 -1
  3. package/components/action-button.json +19 -1
  4. package/components/action-group.json +12 -1
  5. package/components/alert-banner.json +11 -1
  6. package/components/alert-dialog.json +19 -1
  7. package/components/avatar-group.json +4 -1
  8. package/components/avatar.json +4 -1
  9. package/components/badge.json +4 -1
  10. package/components/body.json +3 -0
  11. package/components/bottom-navigation-android.json +17 -0
  12. package/components/breadcrumbs.json +19 -2
  13. package/components/button-group.json +12 -1
  14. package/components/button.json +21 -3
  15. package/components/calendar.json +22 -0
  16. package/components/cards.json +18 -1
  17. package/components/checkbox-group.json +17 -1
  18. package/components/checkbox.json +24 -1
  19. package/components/close-button.json +19 -1
  20. package/components/coach-indicator.json +4 -1
  21. package/components/coach-mark.json +13 -1
  22. package/components/code.json +3 -0
  23. package/components/color-area.json +24 -1
  24. package/components/color-handle.json +13 -1
  25. package/components/color-loupe.json +4 -1
  26. package/components/color-slider.json +24 -1
  27. package/components/color-wheel.json +24 -1
  28. package/components/combo-box.json +24 -1
  29. package/components/contextual-help.json +18 -1
  30. package/components/date-picker.json +23 -1
  31. package/components/detail.json +3 -0
  32. package/components/divider.json +4 -1
  33. package/components/drop-zone.json +18 -1
  34. package/components/field-label.json +4 -1
  35. package/components/heading.json +3 -0
  36. package/components/help-text.json +5 -2
  37. package/components/illustrated-message.json +4 -1
  38. package/components/in-field-progress-button.json +18 -0
  39. package/components/in-field-progress-circle.json +4 -1
  40. package/components/in-line-alert.json +11 -1
  41. package/components/link.json +19 -1
  42. package/components/list-view.json +18 -1
  43. package/components/menu.json +19 -1
  44. package/components/meter.json +4 -1
  45. package/components/number-field.json +24 -1
  46. package/components/opacity-checkerboard.json +4 -1
  47. package/components/picker.json +24 -1
  48. package/components/popover.json +12 -1
  49. package/components/progress-bar.json +4 -1
  50. package/components/progress-circle.json +4 -1
  51. package/components/radio-button.json +24 -1
  52. package/components/radio-group.json +17 -1
  53. package/components/rating.json +24 -1
  54. package/components/scroll-zoom-bar.json +12 -0
  55. package/components/search-field.json +28 -1
  56. package/components/segmented-control.json +18 -1
  57. package/components/select-box.json +18 -1
  58. package/components/side-navigation.json +18 -1
  59. package/components/slider.json +24 -1
  60. package/components/standard-dialog.json +19 -1
  61. package/components/standard-panel.json +3 -0
  62. package/components/status-light.json +4 -1
  63. package/components/steplist.json +18 -1
  64. package/components/swatch-group.json +12 -1
  65. package/components/swatch.json +18 -1
  66. package/components/switch.json +19 -1
  67. package/components/tab-bar-ios.json +17 -0
  68. package/components/table.json +23 -1
  69. package/components/tabs.json +18 -1
  70. package/components/tag-field.json +18 -1
  71. package/components/tag-group.json +18 -1
  72. package/components/tag.json +18 -1
  73. package/components/takeover-dialog.json +19 -1
  74. package/components/text-area.json +28 -1
  75. package/components/text-field.json +28 -1
  76. package/components/thumbnail.json +4 -1
  77. package/components/title.json +40 -10
  78. package/components/toast.json +13 -1
  79. package/components/tooltip.json +17 -1
  80. package/components/tray.json +11 -0
  81. package/components/tree-view.json +19 -1
  82. package/conformance/README.md +7 -7
  83. package/conformance/invalid/SPEC-001/dataset.json +10 -0
  84. package/conformance/invalid/SPEC-001/expected-errors.json +1 -1
  85. package/conformance/invalid/SPEC-002/dataset.json +16 -0
  86. package/conformance/invalid/SPEC-002/expected-errors.json +1 -1
  87. package/conformance/invalid/SPEC-003/dataset.json +15 -0
  88. package/conformance/invalid/SPEC-003/expected-errors.json +1 -1
  89. package/conformance/invalid/SPEC-004/dataset.json +15 -0
  90. package/conformance/invalid/SPEC-004/expected-errors.json +1 -1
  91. package/conformance/invalid/SPEC-005/dataset.json +11 -0
  92. package/conformance/invalid/SPEC-005/expected-errors.json +1 -1
  93. package/conformance/invalid/SPEC-006/dataset.json +15 -0
  94. package/conformance/invalid/SPEC-006/expected-errors.json +1 -1
  95. package/conformance/invalid/SPEC-007/dataset.json +9 -0
  96. package/conformance/invalid/SPEC-007/expected-errors.json +10 -0
  97. package/conformance/invalid/SPEC-008/dataset.json +25 -0
  98. package/conformance/invalid/SPEC-008/expected-errors.json +2 -1
  99. package/conformance/invalid/SPEC-009/dataset.json +12 -0
  100. package/conformance/invalid/SPEC-009/expected-errors.json +10 -0
  101. package/conformance/invalid/SPEC-010/dataset.json +12 -0
  102. package/conformance/invalid/SPEC-011/dataset.json +25 -0
  103. package/conformance/invalid/SPEC-012/dataset.json +16 -0
  104. package/conformance/invalid/SPEC-013/dataset.json +11 -0
  105. package/conformance/invalid/SPEC-014/dataset.json +12 -0
  106. package/conformance/invalid/SPEC-014/expected-errors.json +1 -1
  107. package/conformance/invalid/SPEC-015/dataset.json +22 -0
  108. package/conformance/invalid/SPEC-015/expected-errors.json +10 -0
  109. package/conformance/invalid/SPEC-015/tokens.tokens.json +19 -0
  110. package/conformance/invalid/SPEC-016/dataset.json +11 -0
  111. package/conformance/invalid/SPEC-016/expected-errors.json +2 -2
  112. package/conformance/invalid/SPEC-017/dataset.json +10 -0
  113. package/conformance/invalid/SPEC-024/dataset.json +4 -3
  114. package/conformance/invalid/SPEC-024/expected-errors.json +2 -2
  115. package/conformance/invalid/SPEC-025/dataset.json +12 -0
  116. package/conformance/invalid/SPEC-025/expected-errors.json +10 -0
  117. package/conformance/invalid/SPEC-026/dataset.json +18 -0
  118. package/conformance/invalid/SPEC-026/expected-errors.json +10 -0
  119. package/conformance/invalid/SPEC-028/dataset.json +21 -0
  120. package/conformance/invalid/SPEC-028/expected-errors.json +10 -0
  121. package/conformance/invalid/SPEC-029/dataset.json +20 -0
  122. package/conformance/invalid/SPEC-029/expected-errors.json +10 -0
  123. package/conformance/invalid/SPEC-030/dataset.json +15 -0
  124. package/conformance/invalid/SPEC-030/expected-errors.json +10 -0
  125. package/conformance/invalid/SPEC-031/dataset.json +17 -0
  126. package/conformance/invalid/SPEC-031/expected-errors.json +10 -0
  127. package/conformance/invalid/SPEC-032/dataset.json +27 -0
  128. package/conformance/invalid/SPEC-032/expected-errors.json +15 -0
  129. package/conformance/resolution/base-fallback/expected.json +1 -1
  130. package/conformance/resolution/product-layer-wins/expected.json +5 -0
  131. package/conformance/resolution/product-layer-wins/input/tokens.tokens.json +7 -0
  132. package/conformance/resolution/product-layer-wins/product-context.json +11 -0
  133. package/conformance/resolution/product-layer-wins/query.json +4 -0
  134. package/conformance/resolution/specificity-wins/expected.json +1 -1
  135. package/conformance/valid/SPEC-014/dataset.json +12 -0
  136. package/conformance/valid/SPEC-016/dataset.json +16 -0
  137. package/conformance/valid/SPEC-025/dataset.json +24 -0
  138. package/conformance/valid/SPEC-026/dataset.json +15 -0
  139. package/conformance/valid/SPEC-028/dataset.json +21 -0
  140. package/conformance/valid/SPEC-029/dataset.json +24 -0
  141. package/conformance/valid/SPEC-030/dataset.json +17 -0
  142. package/conformance/valid/SPEC-031/dataset.json +24 -0
  143. package/conformance/valid/SPEC-032/dataset.json +16 -0
  144. package/conformance/valid/component-refs/README.md +5 -0
  145. package/conformance/valid/component-with-accessibility.json +32 -0
  146. package/fields/color-scheme.json +2 -2
  147. package/fields/contrast.json +2 -2
  148. package/fields/density.json +1 -1
  149. package/fields/scale.json +2 -2
  150. package/fields/size.json +1 -1
  151. package/package.json +4 -13
  152. package/rules/rules.yaml +40 -4
  153. package/schemas/accessibility.schema.json +60 -0
  154. package/schemas/component.schema.json +19 -0
  155. package/schemas/field.schema.json +2 -2
  156. package/schemas/manifest.schema.json +1 -1
  157. package/schemas/{dimension.schema.json → mode-set.schema.json} +3 -3
  158. package/schemas/token.schema.json +5 -5
  159. package/schemas/value-types/README.md +20 -0
  160. package/schemas/value-types/drop-shadow.schema.json +5 -5
  161. package/schemas/value-types/typography-scale.schema.json +2 -2
  162. package/schemas/value-types/typography.schema.json +5 -5
  163. package/spec/accessibility-adapters.md +219 -0
  164. package/spec/agent-surface.md +4 -4
  165. package/spec/cascade.md +7 -7
  166. package/spec/component-format.md +32 -0
  167. package/spec/document-blocks.md +1 -1
  168. package/spec/index.md +22 -20
  169. package/spec/manifest.md +2 -2
  170. package/spec/mode-sets.md +64 -0
  171. package/spec/query.md +18 -18
  172. package/spec/taxonomy.md +5 -5
  173. package/spec/token-format.md +12 -12
  174. package/spec/dimensions.md +0 -64
  175. package/src/canonical.js +0 -61
  176. package/src/validate.js +0 -190
  177. /package/conformance/resolution/alias-resolved-after-cascade/{dimensions → mode-sets}/color-scheme.json +0 -0
  178. /package/conformance/resolution/base-fallback/{dimensions → mode-sets}/color-scheme.json +0 -0
  179. /package/conformance/resolution/specificity-wins/{dimensions → mode-sets}/color-scheme.json +0 -0
@@ -69,5 +69,8 @@
69
69
  "token": "transparent-black-800",
70
70
  "context": "Fill (black)"
71
71
  }
72
- ]
72
+ ],
73
+ "accessibility": {
74
+ "focusable": false
75
+ }
73
76
  }
@@ -207,5 +207,22 @@
207
207
  "token": "white",
208
208
  "context": "Border, background, and text area color (filled, hover)"
209
209
  }
210
- ]
210
+ ],
211
+ "accessibility": {
212
+ "intents": ["input"],
213
+ "focusable": true,
214
+ "keyboardIntents": ["activate"],
215
+ "wcag": [
216
+ {
217
+ "criterion": "2.1.1",
218
+ "level": "A",
219
+ "title": "Keyboard"
220
+ },
221
+ {
222
+ "criterion": "4.1.2",
223
+ "level": "A",
224
+ "title": "Name, Role, Value"
225
+ }
226
+ ]
227
+ }
211
228
  }
@@ -185,5 +185,8 @@
185
185
  "token": "cjk-line-height-100",
186
186
  "context": "Label"
187
187
  }
188
- ]
188
+ ],
189
+ "accessibility": {
190
+ "focusable": false
191
+ }
189
192
  }
@@ -29,5 +29,8 @@
29
29
  },
30
30
  "lifecycle": {
31
31
  "introduced": "1.0.0-draft"
32
+ },
33
+ "accessibility": {
34
+ "focusable": false
32
35
  }
33
36
  }
@@ -4,7 +4,7 @@
4
4
  "specVersion": "1.0.0-draft",
5
5
  "name": "help-text",
6
6
  "displayName": "Help text",
7
- "description": "Help text provides either an informative description or an error message that gives more context about what a user needs to input. It’s commonly used in forms.",
7
+ "description": "Help text provides either an informative description or an error message that gives more context about what a user needs to input. It\u2019s commonly used in forms.",
8
8
  "meta": {
9
9
  "category": "inputs",
10
10
  "documentationUrl": "https://spectrum.adobe.com/page/help-text/"
@@ -182,5 +182,8 @@
182
182
  "token": "cjk-line-height-100",
183
183
  "context": "Text"
184
184
  }
185
- ]
185
+ ],
186
+ "accessibility": {
187
+ "focusable": false
188
+ }
186
189
  }
@@ -151,5 +151,8 @@
151
151
  "token": "body-color",
152
152
  "context": "Description color"
153
153
  }
154
- ]
154
+ ],
155
+ "accessibility": {
156
+ "focusable": false
157
+ }
155
158
  }
@@ -40,5 +40,23 @@
40
40
  ],
41
41
  "lifecycle": {
42
42
  "introduced": "1.0.0-draft"
43
+ },
44
+ "accessibility": {
45
+ "role": "button",
46
+ "intents": ["trigger"],
47
+ "focusable": true,
48
+ "keyboardIntents": ["activate"],
49
+ "wcag": [
50
+ {
51
+ "criterion": "2.1.1",
52
+ "level": "A",
53
+ "title": "Keyboard"
54
+ },
55
+ {
56
+ "criterion": "4.1.2",
57
+ "level": "A",
58
+ "title": "Name, Role, Value"
59
+ }
60
+ ]
43
61
  }
44
62
  }
@@ -76,5 +76,8 @@
76
76
  "token": "progress-circle-thickness-large",
77
77
  "context": "S1 Thickness"
78
78
  }
79
- ]
79
+ ],
80
+ "accessibility": {
81
+ "focusable": false
82
+ }
80
83
  }
@@ -197,5 +197,15 @@
197
197
  "token": "body-line-height",
198
198
  "context": "Title and Description"
199
199
  }
200
- ]
200
+ ],
201
+ "accessibility": {
202
+ "focusable": false,
203
+ "wcag": [
204
+ {
205
+ "criterion": "4.1.3",
206
+ "level": "AA",
207
+ "title": "Status Messages"
208
+ }
209
+ ]
210
+ }
201
211
  }
@@ -131,5 +131,23 @@
131
131
  "token": "focus-indicator-gap",
132
132
  "context": "Focus ring"
133
133
  }
134
- ]
134
+ ],
135
+ "accessibility": {
136
+ "role": "link",
137
+ "intents": ["navigate"],
138
+ "focusable": true,
139
+ "keyboardIntents": ["activate"],
140
+ "wcag": [
141
+ {
142
+ "criterion": "2.1.1",
143
+ "level": "A",
144
+ "title": "Keyboard"
145
+ },
146
+ {
147
+ "criterion": "4.1.2",
148
+ "level": "A",
149
+ "title": "Name, Role, Value"
150
+ }
151
+ ]
152
+ }
135
153
  }
@@ -351,5 +351,22 @@
351
351
  "token": "bold-font-weight",
352
352
  "context": "Text (List view title)"
353
353
  }
354
- ]
354
+ ],
355
+ "accessibility": {
356
+ "intents": ["select", "navigate"],
357
+ "focusable": true,
358
+ "keyboardIntents": ["navigate-items", "activate", "select-all"],
359
+ "wcag": [
360
+ {
361
+ "criterion": "2.1.1",
362
+ "level": "A",
363
+ "title": "Keyboard"
364
+ },
365
+ {
366
+ "criterion": "4.1.2",
367
+ "level": "A",
368
+ "title": "Name, Role, Value"
369
+ }
370
+ ]
371
+ }
355
372
  }
@@ -538,5 +538,23 @@
538
538
  "token": "font-size-50",
539
539
  "context": "Descriptions (section header and item)"
540
540
  }
541
- ]
541
+ ],
542
+ "accessibility": {
543
+ "role": "menu",
544
+ "intents": ["select"],
545
+ "focusable": false,
546
+ "keyboardIntents": ["navigate-options", "activate", "dismiss"],
547
+ "wcag": [
548
+ {
549
+ "criterion": "2.1.1",
550
+ "level": "A",
551
+ "title": "Keyboard"
552
+ },
553
+ {
554
+ "criterion": "4.1.2",
555
+ "level": "A",
556
+ "title": "Name, Role, Value"
557
+ }
558
+ ]
559
+ }
542
560
  }
@@ -158,5 +158,8 @@
158
158
  "token": "static-white-track-indicator-color",
159
159
  "context": "Track and indicator (white)"
160
160
  }
161
- ]
161
+ ],
162
+ "accessibility": {
163
+ "focusable": false
164
+ }
162
165
  }
@@ -464,5 +464,28 @@
464
464
  "token": "positive-visual-color",
465
465
  "context": "Positive icon"
466
466
  }
467
- ]
467
+ ],
468
+ "accessibility": {
469
+ "role": "spinbutton",
470
+ "intents": ["choose", "input"],
471
+ "focusable": true,
472
+ "keyboardIntents": ["increment", "decrement"],
473
+ "wcag": [
474
+ {
475
+ "criterion": "1.3.1",
476
+ "level": "A",
477
+ "title": "Info and Relationships"
478
+ },
479
+ {
480
+ "criterion": "2.1.1",
481
+ "level": "A",
482
+ "title": "Keyboard"
483
+ },
484
+ {
485
+ "criterion": "4.1.2",
486
+ "level": "A",
487
+ "title": "Name, Role, Value"
488
+ }
489
+ ]
490
+ }
468
491
  }
@@ -39,5 +39,8 @@
39
39
  "token": "opacity-checkerboard-square-dark",
40
40
  "context": "Square"
41
41
  }
42
- ]
42
+ ],
43
+ "accessibility": {
44
+ "focusable": false
45
+ }
43
46
  }
@@ -518,5 +518,28 @@
518
518
  "token": "component-xl-medium",
519
519
  "context": "Prefix"
520
520
  }
521
- ]
521
+ ],
522
+ "accessibility": {
523
+ "role": "combobox",
524
+ "intents": ["select", "expand"],
525
+ "focusable": true,
526
+ "keyboardIntents": ["expand", "collapse", "navigate-options"],
527
+ "wcag": [
528
+ {
529
+ "criterion": "1.3.1",
530
+ "level": "A",
531
+ "title": "Info and Relationships"
532
+ },
533
+ {
534
+ "criterion": "2.1.1",
535
+ "level": "A",
536
+ "title": "Keyboard"
537
+ },
538
+ {
539
+ "criterion": "4.1.2",
540
+ "level": "A",
541
+ "title": "Name, Role, Value"
542
+ }
543
+ ]
544
+ }
522
545
  }
@@ -115,5 +115,16 @@
115
115
  "token": "drop-shadow-elevated-blur",
116
116
  "context": "Drop shadow"
117
117
  }
118
- ]
118
+ ],
119
+ "accessibility": {
120
+ "intents": ["dismiss"],
121
+ "focusable": false,
122
+ "wcag": [
123
+ {
124
+ "criterion": "4.1.2",
125
+ "level": "A",
126
+ "title": "Name, Role, Value"
127
+ }
128
+ ]
129
+ }
119
130
  }
@@ -178,5 +178,8 @@
178
178
  "token": "static-white-track-indicator-color",
179
179
  "context": "Track and indicator (white)"
180
180
  }
181
- ]
181
+ ],
182
+ "accessibility": {
183
+ "focusable": false
184
+ }
182
185
  }
@@ -95,5 +95,8 @@
95
95
  "token": "static-black-track-indicator-color",
96
96
  "context": "Track and fill (black)"
97
97
  }
98
- ]
98
+ ],
99
+ "accessibility": {
100
+ "focusable": false
101
+ }
99
102
  }
@@ -281,5 +281,28 @@
281
281
  "token": "cjk-line-height-100",
282
282
  "context": "Label"
283
283
  }
284
- ]
284
+ ],
285
+ "accessibility": {
286
+ "role": "radio",
287
+ "intents": ["choose"],
288
+ "focusable": true,
289
+ "keyboardIntents": ["activate"],
290
+ "wcag": [
291
+ {
292
+ "criterion": "1.3.1",
293
+ "level": "A",
294
+ "title": "Info and Relationships"
295
+ },
296
+ {
297
+ "criterion": "2.1.1",
298
+ "level": "A",
299
+ "title": "Keyboard"
300
+ },
301
+ {
302
+ "criterion": "4.1.2",
303
+ "level": "A",
304
+ "title": "Name, Role, Value"
305
+ }
306
+ ]
307
+ }
285
308
  }
@@ -59,5 +59,21 @@
59
59
  "lifecycle": {
60
60
  "introduced": "1.0.0-draft"
61
61
  },
62
- "tokenBindings": []
62
+ "tokenBindings": [],
63
+ "accessibility": {
64
+ "intents": ["choose"],
65
+ "focusable": false,
66
+ "wcag": [
67
+ {
68
+ "criterion": "1.3.1",
69
+ "level": "A",
70
+ "title": "Info and Relationships"
71
+ },
72
+ {
73
+ "criterion": "4.1.2",
74
+ "level": "A",
75
+ "title": "Name, Role, Value"
76
+ }
77
+ ]
78
+ }
63
79
  }
@@ -141,5 +141,28 @@
141
141
  "token": "disabled-content-color",
142
142
  "context": "Disabled"
143
143
  }
144
- ]
144
+ ],
145
+ "accessibility": {
146
+ "role": "slider",
147
+ "intents": ["choose"],
148
+ "focusable": true,
149
+ "keyboardIntents": ["increment", "decrement"],
150
+ "wcag": [
151
+ {
152
+ "criterion": "1.3.1",
153
+ "level": "A",
154
+ "title": "Info and Relationships"
155
+ },
156
+ {
157
+ "criterion": "2.1.1",
158
+ "level": "A",
159
+ "title": "Keyboard"
160
+ },
161
+ {
162
+ "criterion": "4.1.2",
163
+ "level": "A",
164
+ "title": "Name, Role, Value"
165
+ }
166
+ ]
167
+ }
145
168
  }
@@ -49,5 +49,17 @@
49
49
  ],
50
50
  "lifecycle": {
51
51
  "introduced": "1.0.0-draft"
52
+ },
53
+ "accessibility": {
54
+ "intents": ["choose"],
55
+ "focusable": true,
56
+ "keyboardIntents": ["increment", "decrement"],
57
+ "wcag": [
58
+ {
59
+ "criterion": "2.1.1",
60
+ "level": "A",
61
+ "title": "Keyboard"
62
+ }
63
+ ]
52
64
  }
53
65
  }
@@ -302,5 +302,32 @@
302
302
  "token": "focus-indicator-color",
303
303
  "context": "Focus ring"
304
304
  }
305
- ]
305
+ ],
306
+ "accessibility": {
307
+ "role": "textbox",
308
+ "intents": ["input"],
309
+ "focusable": true,
310
+ "wcag": [
311
+ {
312
+ "criterion": "1.3.1",
313
+ "level": "A",
314
+ "title": "Info and Relationships"
315
+ },
316
+ {
317
+ "criterion": "1.3.5",
318
+ "level": "AA",
319
+ "title": "Identify Input Purpose"
320
+ },
321
+ {
322
+ "criterion": "2.1.1",
323
+ "level": "A",
324
+ "title": "Keyboard"
325
+ },
326
+ {
327
+ "criterion": "4.1.2",
328
+ "level": "A",
329
+ "title": "Name, Role, Value"
330
+ }
331
+ ]
332
+ }
306
333
  }
@@ -206,5 +206,22 @@
206
206
  "token": "line-height-100",
207
207
  "context": "Label"
208
208
  }
209
- ]
209
+ ],
210
+ "accessibility": {
211
+ "intents": ["choose"],
212
+ "focusable": true,
213
+ "keyboardIntents": ["navigate-items", "activate"],
214
+ "wcag": [
215
+ {
216
+ "criterion": "2.1.1",
217
+ "level": "A",
218
+ "title": "Keyboard"
219
+ },
220
+ {
221
+ "criterion": "4.1.2",
222
+ "level": "A",
223
+ "title": "Name, Role, Value"
224
+ }
225
+ ]
226
+ }
210
227
  }
@@ -244,5 +244,22 @@
244
244
  "token": "drop-shadow-elevated-color",
245
245
  "context": "Focus"
246
246
  }
247
- ]
247
+ ],
248
+ "accessibility": {
249
+ "intents": ["select"],
250
+ "focusable": true,
251
+ "keyboardIntents": ["activate"],
252
+ "wcag": [
253
+ {
254
+ "criterion": "2.1.1",
255
+ "level": "A",
256
+ "title": "Keyboard"
257
+ },
258
+ {
259
+ "criterion": "4.1.2",
260
+ "level": "A",
261
+ "title": "Name, Role, Value"
262
+ }
263
+ ]
264
+ }
248
265
  }
@@ -289,5 +289,22 @@
289
289
  "token": "font-size-75",
290
290
  "context": "Text (Side navigation title)"
291
291
  }
292
- ]
292
+ ],
293
+ "accessibility": {
294
+ "intents": ["navigate"],
295
+ "focusable": true,
296
+ "keyboardIntents": ["navigate-items", "activate"],
297
+ "wcag": [
298
+ {
299
+ "criterion": "2.1.1",
300
+ "level": "A",
301
+ "title": "Keyboard"
302
+ },
303
+ {
304
+ "criterion": "4.1.2",
305
+ "level": "A",
306
+ "title": "Name, Role, Value"
307
+ }
308
+ ]
309
+ }
293
310
  }
@@ -366,5 +366,28 @@
366
366
  "token": "cjk-line-height-100",
367
367
  "context": "Label"
368
368
  }
369
- ]
369
+ ],
370
+ "accessibility": {
371
+ "role": "slider",
372
+ "intents": ["choose"],
373
+ "focusable": true,
374
+ "keyboardIntents": ["increment", "decrement"],
375
+ "wcag": [
376
+ {
377
+ "criterion": "1.3.1",
378
+ "level": "A",
379
+ "title": "Info and Relationships"
380
+ },
381
+ {
382
+ "criterion": "2.1.1",
383
+ "level": "A",
384
+ "title": "Keyboard"
385
+ },
386
+ {
387
+ "criterion": "4.1.2",
388
+ "level": "A",
389
+ "title": "Name, Role, Value"
390
+ }
391
+ ]
392
+ }
370
393
  }
@@ -147,5 +147,23 @@
147
147
  "token": "body-color",
148
148
  "context": "Description"
149
149
  }
150
- ]
150
+ ],
151
+ "accessibility": {
152
+ "role": "dialog",
153
+ "intents": ["dismiss"],
154
+ "focusable": false,
155
+ "keyboardIntents": ["dismiss"],
156
+ "wcag": [
157
+ {
158
+ "criterion": "2.4.3",
159
+ "level": "A",
160
+ "title": "Focus Order"
161
+ },
162
+ {
163
+ "criterion": "4.1.2",
164
+ "level": "A",
165
+ "title": "Name, Role, Value"
166
+ }
167
+ ]
168
+ }
151
169
  }
@@ -49,5 +49,8 @@
49
49
  },
50
50
  "lifecycle": {
51
51
  "introduced": "1.0.0-draft"
52
+ },
53
+ "accessibility": {
54
+ "focusable": false
52
55
  }
53
56
  }
@@ -268,5 +268,8 @@
268
268
  "token": "neutral-content-color-default",
269
269
  "context": "Label"
270
270
  }
271
- ]
271
+ ],
272
+ "accessibility": {
273
+ "focusable": false
274
+ }
272
275
  }
@@ -266,5 +266,22 @@
266
266
  "token": "cjk-line-height-100",
267
267
  "context": "Label"
268
268
  }
269
- ]
269
+ ],
270
+ "accessibility": {
271
+ "intents": ["navigate"],
272
+ "focusable": true,
273
+ "keyboardIntents": ["navigate-items", "activate"],
274
+ "wcag": [
275
+ {
276
+ "criterion": "2.1.1",
277
+ "level": "A",
278
+ "title": "Keyboard"
279
+ },
280
+ {
281
+ "criterion": "4.1.2",
282
+ "level": "A",
283
+ "title": "Name, Role, Value"
284
+ }
285
+ ]
286
+ }
270
287
  }
@@ -58,5 +58,16 @@
58
58
  "token": "swatch-group-border-opacity",
59
59
  "context": "Border"
60
60
  }
61
- ]
61
+ ],
62
+ "accessibility": {
63
+ "intents": ["choose"],
64
+ "focusable": false,
65
+ "wcag": [
66
+ {
67
+ "criterion": "4.1.2",
68
+ "level": "A",
69
+ "title": "Name, Role, Value"
70
+ }
71
+ ]
72
+ }
62
73
  }