@adobe/design-data-spec 0.8.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 (180) 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/accessibility.md +219 -0
  165. package/spec/agent-surface.md +4 -4
  166. package/spec/cascade.md +7 -7
  167. package/spec/component-format.md +32 -0
  168. package/spec/document-blocks.md +1 -1
  169. package/spec/index.md +28 -20
  170. package/spec/manifest.md +2 -2
  171. package/spec/mode-sets.md +64 -0
  172. package/spec/query.md +18 -18
  173. package/spec/taxonomy.md +5 -5
  174. package/spec/token-format.md +12 -12
  175. package/spec/dimensions.md +0 -64
  176. package/src/canonical.js +0 -61
  177. package/src/validate.js +0 -190
  178. /package/conformance/resolution/alias-resolved-after-cascade/{dimensions → mode-sets}/color-scheme.json +0 -0
  179. /package/conformance/resolution/base-fallback/{dimensions → mode-sets}/color-scheme.json +0 -0
  180. /package/conformance/resolution/specificity-wins/{dimensions → mode-sets}/color-scheme.json +0 -0
@@ -513,5 +513,22 @@
513
513
  "token": "field-top-to-disclosure-icon-300-spacious",
514
514
  "context": "Spacing (top/bottom to disclosure icon)"
515
515
  }
516
- ]
516
+ ],
517
+ "accessibility": {
518
+ "intents": ["expand"],
519
+ "focusable": true,
520
+ "keyboardIntents": ["activate", "expand", "collapse"],
521
+ "wcag": [
522
+ {
523
+ "criterion": "2.1.1",
524
+ "level": "A",
525
+ "title": "Keyboard"
526
+ },
527
+ {
528
+ "criterion": "4.1.2",
529
+ "level": "A",
530
+ "title": "Name, Role, Value"
531
+ }
532
+ ]
533
+ }
517
534
  }
@@ -199,5 +199,16 @@
199
199
  "token": "neutral-visual-color",
200
200
  "context": "Step visual"
201
201
  }
202
- ]
202
+ ],
203
+ "accessibility": {
204
+ "intents": ["trigger"],
205
+ "focusable": false,
206
+ "wcag": [
207
+ {
208
+ "criterion": "4.1.2",
209
+ "level": "A",
210
+ "title": "Name, Role, Value"
211
+ }
212
+ ]
213
+ }
203
214
  }
@@ -477,5 +477,23 @@
477
477
  "token": "static-black-focus-indicator-color",
478
478
  "context": "Focus ring (black)"
479
479
  }
480
- ]
480
+ ],
481
+ "accessibility": {
482
+ "role": "button",
483
+ "intents": ["trigger"],
484
+ "focusable": true,
485
+ "keyboardIntents": ["activate"],
486
+ "wcag": [
487
+ {
488
+ "criterion": "2.1.1",
489
+ "level": "A",
490
+ "title": "Keyboard"
491
+ },
492
+ {
493
+ "criterion": "4.1.2",
494
+ "level": "A",
495
+ "title": "Name, Role, Value"
496
+ }
497
+ ]
498
+ }
481
499
  }
@@ -78,5 +78,16 @@
78
78
  "token": "spacing-50",
79
79
  "context": "Spacing (horizontal, compact)"
80
80
  }
81
- ]
81
+ ],
82
+ "accessibility": {
83
+ "intents": ["trigger"],
84
+ "focusable": false,
85
+ "wcag": [
86
+ {
87
+ "criterion": "2.1.1",
88
+ "level": "A",
89
+ "title": "Keyboard"
90
+ }
91
+ ]
92
+ }
82
93
  }
@@ -107,5 +107,15 @@
107
107
  "token": "cjk-line-height-100",
108
108
  "context": "Text"
109
109
  }
110
- ]
110
+ ],
111
+ "accessibility": {
112
+ "focusable": false,
113
+ "wcag": [
114
+ {
115
+ "criterion": "4.1.3",
116
+ "level": "AA",
117
+ "title": "Status Messages"
118
+ }
119
+ ]
120
+ }
111
121
  }
@@ -148,5 +148,23 @@
148
148
  "token": "negative-visual-color",
149
149
  "context": "Icon (error variant)"
150
150
  }
151
- ]
151
+ ],
152
+ "accessibility": {
153
+ "role": "dialog",
154
+ "intents": ["dismiss"],
155
+ "focusable": false,
156
+ "keyboardIntents": ["dismiss"],
157
+ "wcag": [
158
+ {
159
+ "criterion": "2.4.3",
160
+ "level": "A",
161
+ "title": "Focus Order"
162
+ },
163
+ {
164
+ "criterion": "4.1.2",
165
+ "level": "A",
166
+ "title": "Name, Role, Value"
167
+ }
168
+ ]
169
+ }
152
170
  }
@@ -136,5 +136,8 @@
136
136
  "token": "cjk-line-height-100",
137
137
  "context": "Layout"
138
138
  }
139
- ]
139
+ ],
140
+ "accessibility": {
141
+ "focusable": false
142
+ }
140
143
  }
@@ -180,5 +180,8 @@
180
180
  "token": "line-height-100",
181
181
  "context": "Text (List view item)"
182
182
  }
183
- ]
183
+ ],
184
+ "accessibility": {
185
+ "focusable": false
186
+ }
184
187
  }
@@ -498,5 +498,8 @@
498
498
  {
499
499
  "token": "cjk-line-height-100"
500
500
  }
501
- ]
501
+ ],
502
+ "accessibility": {
503
+ "focusable": false
504
+ }
502
505
  }
@@ -25,5 +25,8 @@
25
25
  },
26
26
  "lifecycle": {
27
27
  "introduced": "1.0.0-draft"
28
+ },
29
+ "accessibility": {
30
+ "focusable": false
28
31
  }
29
32
  }
@@ -37,5 +37,22 @@
37
37
  },
38
38
  "lifecycle": {
39
39
  "introduced": "1.0.0-draft"
40
+ },
41
+ "accessibility": {
42
+ "intents": ["navigate"],
43
+ "focusable": true,
44
+ "keyboardIntents": ["navigate-items", "activate"],
45
+ "wcag": [
46
+ {
47
+ "criterion": "2.1.1",
48
+ "level": "A",
49
+ "title": "Keyboard"
50
+ },
51
+ {
52
+ "criterion": "4.1.2",
53
+ "level": "A",
54
+ "title": "Name, Role, Value"
55
+ }
56
+ ]
40
57
  }
41
58
  }
@@ -4,7 +4,7 @@
4
4
  "specVersion": "1.0.0-draft",
5
5
  "name": "breadcrumbs",
6
6
  "displayName": "Breadcrumbs",
7
- "description": "Breadcrumbs show hierarchy and navigational context for a user’s location within an app.",
7
+ "description": "Breadcrumbs show hierarchy and navigational context for a user\u2019s location within an app.",
8
8
  "meta": {
9
9
  "category": "navigation",
10
10
  "documentationUrl": "https://spectrum.adobe.com/page/breadcrumbs/"
@@ -259,5 +259,22 @@
259
259
  "token": "heading-size-l",
260
260
  "context": "Text (breadcrumb item and title, multiline)"
261
261
  }
262
- ]
262
+ ],
263
+ "accessibility": {
264
+ "intents": ["navigate"],
265
+ "focusable": true,
266
+ "keyboardIntents": ["navigate-items", "activate"],
267
+ "wcag": [
268
+ {
269
+ "criterion": "2.1.1",
270
+ "level": "A",
271
+ "title": "Keyboard"
272
+ },
273
+ {
274
+ "criterion": "4.1.2",
275
+ "level": "A",
276
+ "title": "Name, Role, Value"
277
+ }
278
+ ]
279
+ }
263
280
  }
@@ -43,5 +43,16 @@
43
43
  "token": "spacing-200",
44
44
  "context": "Spacing (horizontal)"
45
45
  }
46
- ]
46
+ ],
47
+ "accessibility": {
48
+ "intents": ["trigger"],
49
+ "focusable": false,
50
+ "wcag": [
51
+ {
52
+ "criterion": "4.1.2",
53
+ "level": "A",
54
+ "title": "Name, Role, Value"
55
+ }
56
+ ]
57
+ }
47
58
  }
@@ -478,7 +478,7 @@
478
478
  },
479
479
  {
480
480
  "token": "static-white-focus-indicator-color",
481
- "context": "Static white Focus indicator"
481
+ "context": "Static white \u2013 Focus indicator"
482
482
  },
483
483
  {
484
484
  "token": "transparent-black-900",
@@ -522,7 +522,25 @@
522
522
  },
523
523
  {
524
524
  "token": "static-black-focus-indicator-color",
525
- "context": "Static black Focus indicator"
525
+ "context": "Static black \u2013 Focus indicator"
526
526
  }
527
- ]
527
+ ],
528
+ "accessibility": {
529
+ "role": "button",
530
+ "intents": ["trigger"],
531
+ "focusable": true,
532
+ "keyboardIntents": ["activate"],
533
+ "wcag": [
534
+ {
535
+ "criterion": "2.1.1",
536
+ "level": "A",
537
+ "title": "Keyboard"
538
+ },
539
+ {
540
+ "criterion": "4.1.2",
541
+ "level": "A",
542
+ "title": "Name, Role, Value"
543
+ }
544
+ ]
545
+ }
528
546
  }
@@ -100,5 +100,27 @@
100
100
  },
101
101
  "lifecycle": {
102
102
  "introduced": "1.0.0-draft"
103
+ },
104
+ "accessibility": {
105
+ "intents": ["input", "choose"],
106
+ "focusable": true,
107
+ "keyboardIntents": ["navigate-items", "activate"],
108
+ "wcag": [
109
+ {
110
+ "criterion": "1.3.1",
111
+ "level": "A",
112
+ "title": "Info and Relationships"
113
+ },
114
+ {
115
+ "criterion": "2.1.1",
116
+ "level": "A",
117
+ "title": "Keyboard"
118
+ },
119
+ {
120
+ "criterion": "4.1.2",
121
+ "level": "A",
122
+ "title": "Name, Role, Value"
123
+ }
124
+ ]
103
125
  }
104
126
  }
@@ -508,5 +508,22 @@
508
508
  "token": "horizontal-card-edge-to-content-spacious",
509
509
  "context": "Spacing (top/side/bottom edge to content)"
510
510
  }
511
- ]
511
+ ],
512
+ "accessibility": {
513
+ "intents": ["select"],
514
+ "focusable": true,
515
+ "keyboardIntents": ["activate"],
516
+ "wcag": [
517
+ {
518
+ "criterion": "2.1.1",
519
+ "level": "A",
520
+ "title": "Keyboard"
521
+ },
522
+ {
523
+ "criterion": "4.1.2",
524
+ "level": "A",
525
+ "title": "Name, Role, Value"
526
+ }
527
+ ]
528
+ }
512
529
  }
@@ -50,5 +50,21 @@
50
50
  "lifecycle": {
51
51
  "introduced": "1.0.0-draft"
52
52
  },
53
- "tokenBindings": []
53
+ "tokenBindings": [],
54
+ "accessibility": {
55
+ "intents": ["choose"],
56
+ "focusable": false,
57
+ "wcag": [
58
+ {
59
+ "criterion": "1.3.1",
60
+ "level": "A",
61
+ "title": "Info and Relationships"
62
+ },
63
+ {
64
+ "criterion": "4.1.2",
65
+ "level": "A",
66
+ "title": "Name, Role, Value"
67
+ }
68
+ ]
69
+ }
54
70
  }
@@ -299,5 +299,28 @@
299
299
  "token": "cjk-line-height-100",
300
300
  "context": "Label"
301
301
  }
302
- ]
302
+ ],
303
+ "accessibility": {
304
+ "role": "checkbox",
305
+ "intents": ["choose"],
306
+ "focusable": true,
307
+ "keyboardIntents": ["activate"],
308
+ "wcag": [
309
+ {
310
+ "criterion": "1.3.1",
311
+ "level": "A",
312
+ "title": "Info and Relationships"
313
+ },
314
+ {
315
+ "criterion": "2.1.1",
316
+ "level": "A",
317
+ "title": "Keyboard"
318
+ },
319
+ {
320
+ "criterion": "4.1.2",
321
+ "level": "A",
322
+ "title": "Name, Role, Value"
323
+ }
324
+ ]
325
+ }
303
326
  }
@@ -166,5 +166,23 @@
166
166
  "token": "transparent-black-100",
167
167
  "context": "Background (static black)"
168
168
  }
169
- ]
169
+ ],
170
+ "accessibility": {
171
+ "role": "button",
172
+ "intents": ["dismiss"],
173
+ "focusable": true,
174
+ "keyboardIntents": ["activate"],
175
+ "wcag": [
176
+ {
177
+ "criterion": "2.1.1",
178
+ "level": "A",
179
+ "title": "Keyboard"
180
+ },
181
+ {
182
+ "criterion": "4.1.2",
183
+ "level": "A",
184
+ "title": "Name, Role, Value"
185
+ }
186
+ ]
187
+ }
170
188
  }
@@ -72,5 +72,8 @@
72
72
  "token": "white",
73
73
  "context": "Indicator (Static white)"
74
74
  }
75
- ]
75
+ ],
76
+ "accessibility": {
77
+ "focusable": false
78
+ }
76
79
  }
@@ -153,5 +153,17 @@
153
153
  "token": "coach-mark-pagination-color",
154
154
  "context": "Color"
155
155
  }
156
- ]
156
+ ],
157
+ "accessibility": {
158
+ "intents": ["dismiss"],
159
+ "focusable": true,
160
+ "keyboardIntents": ["dismiss"],
161
+ "wcag": [
162
+ {
163
+ "criterion": "4.1.2",
164
+ "level": "A",
165
+ "title": "Name, Role, Value"
166
+ }
167
+ ]
168
+ }
157
169
  }
@@ -21,5 +21,8 @@
21
21
  },
22
22
  "lifecycle": {
23
23
  "introduced": "1.0.0-draft"
24
+ },
25
+ "accessibility": {
26
+ "focusable": false
24
27
  }
25
28
  }
@@ -111,5 +111,28 @@
111
111
  "token": "disabled-background-color",
112
112
  "context": "Disabled"
113
113
  }
114
- ]
114
+ ],
115
+ "accessibility": {
116
+ "role": "slider",
117
+ "intents": ["choose"],
118
+ "focusable": true,
119
+ "keyboardIntents": ["increment", "decrement"],
120
+ "wcag": [
121
+ {
122
+ "criterion": "1.3.1",
123
+ "level": "A",
124
+ "title": "Info and Relationships"
125
+ },
126
+ {
127
+ "criterion": "2.1.1",
128
+ "level": "A",
129
+ "title": "Keyboard"
130
+ },
131
+ {
132
+ "criterion": "4.1.2",
133
+ "level": "A",
134
+ "title": "Name, Role, Value"
135
+ }
136
+ ]
137
+ }
115
138
  }
@@ -81,5 +81,17 @@
81
81
  "token": "disabled-background-color",
82
82
  "context": "Border (disabled)"
83
83
  }
84
- ]
84
+ ],
85
+ "accessibility": {
86
+ "intents": ["choose"],
87
+ "focusable": true,
88
+ "keyboardIntents": ["increment", "decrement"],
89
+ "wcag": [
90
+ {
91
+ "criterion": "2.1.1",
92
+ "level": "A",
93
+ "title": "Keyboard"
94
+ }
95
+ ]
96
+ }
85
97
  }
@@ -70,5 +70,8 @@
70
70
  "token": "color-loupe-drop-shadow-color",
71
71
  "context": "S1 Shadows"
72
72
  }
73
- ]
73
+ ],
74
+ "accessibility": {
75
+ "focusable": false
76
+ }
74
77
  }
@@ -117,5 +117,28 @@
117
117
  "token": "disabled-background-color",
118
118
  "context": "Disabled"
119
119
  }
120
- ]
120
+ ],
121
+ "accessibility": {
122
+ "role": "slider",
123
+ "intents": ["choose"],
124
+ "focusable": true,
125
+ "keyboardIntents": ["increment", "decrement"],
126
+ "wcag": [
127
+ {
128
+ "criterion": "1.3.1",
129
+ "level": "A",
130
+ "title": "Info and Relationships"
131
+ },
132
+ {
133
+ "criterion": "2.1.1",
134
+ "level": "A",
135
+ "title": "Keyboard"
136
+ },
137
+ {
138
+ "criterion": "4.1.2",
139
+ "level": "A",
140
+ "title": "Name, Role, Value"
141
+ }
142
+ ]
143
+ }
121
144
  }
@@ -90,5 +90,28 @@
90
90
  "token": "disabled-background-color",
91
91
  "context": "Disabled"
92
92
  }
93
- ]
93
+ ],
94
+ "accessibility": {
95
+ "role": "slider",
96
+ "intents": ["choose"],
97
+ "focusable": true,
98
+ "keyboardIntents": ["increment", "decrement"],
99
+ "wcag": [
100
+ {
101
+ "criterion": "1.3.1",
102
+ "level": "A",
103
+ "title": "Info and Relationships"
104
+ },
105
+ {
106
+ "criterion": "2.1.1",
107
+ "level": "A",
108
+ "title": "Keyboard"
109
+ },
110
+ {
111
+ "criterion": "4.1.2",
112
+ "level": "A",
113
+ "title": "Name, Role, Value"
114
+ }
115
+ ]
116
+ }
94
117
  }
@@ -476,5 +476,28 @@
476
476
  "token": "gray-600",
477
477
  "context": "Label (populated true/false)"
478
478
  }
479
- ]
479
+ ],
480
+ "accessibility": {
481
+ "role": "combobox",
482
+ "intents": ["input", "select", "expand"],
483
+ "focusable": true,
484
+ "keyboardIntents": ["expand", "collapse", "navigate-options"],
485
+ "wcag": [
486
+ {
487
+ "criterion": "1.3.1",
488
+ "level": "A",
489
+ "title": "Info and Relationships"
490
+ },
491
+ {
492
+ "criterion": "2.1.1",
493
+ "level": "A",
494
+ "title": "Keyboard"
495
+ },
496
+ {
497
+ "criterion": "4.1.2",
498
+ "level": "A",
499
+ "title": "Name, Role, Value"
500
+ }
501
+ ]
502
+ }
480
503
  }
@@ -158,5 +158,22 @@
158
158
  "token": "body-color",
159
159
  "context": "Color"
160
160
  }
161
- ]
161
+ ],
162
+ "accessibility": {
163
+ "intents": ["trigger"],
164
+ "focusable": true,
165
+ "keyboardIntents": ["activate"],
166
+ "wcag": [
167
+ {
168
+ "criterion": "2.1.1",
169
+ "level": "A",
170
+ "title": "Keyboard"
171
+ },
172
+ {
173
+ "criterion": "4.1.2",
174
+ "level": "A",
175
+ "title": "Name, Role, Value"
176
+ }
177
+ ]
178
+ }
162
179
  }
@@ -435,5 +435,27 @@
435
435
  "token": "spacing-500",
436
436
  "context": "Popover minimum width"
437
437
  }
438
- ]
438
+ ],
439
+ "accessibility": {
440
+ "intents": ["input", "choose"],
441
+ "focusable": true,
442
+ "keyboardIntents": ["navigate-items", "activate"],
443
+ "wcag": [
444
+ {
445
+ "criterion": "1.3.1",
446
+ "level": "A",
447
+ "title": "Info and Relationships"
448
+ },
449
+ {
450
+ "criterion": "2.1.1",
451
+ "level": "A",
452
+ "title": "Keyboard"
453
+ },
454
+ {
455
+ "criterion": "4.1.2",
456
+ "level": "A",
457
+ "title": "Name, Role, Value"
458
+ }
459
+ ]
460
+ }
439
461
  }
@@ -26,5 +26,8 @@
26
26
  },
27
27
  "lifecycle": {
28
28
  "introduced": "1.0.0-draft"
29
+ },
30
+ "accessibility": {
31
+ "focusable": false
29
32
  }
30
33
  }