@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.
- package/components/accordion.json +18 -1
- package/components/action-bar.json +12 -1
- package/components/action-button.json +19 -1
- package/components/action-group.json +12 -1
- package/components/alert-banner.json +11 -1
- package/components/alert-dialog.json +19 -1
- package/components/avatar-group.json +4 -1
- package/components/avatar.json +4 -1
- package/components/badge.json +4 -1
- package/components/body.json +3 -0
- package/components/bottom-navigation-android.json +17 -0
- package/components/breadcrumbs.json +19 -2
- package/components/button-group.json +12 -1
- package/components/button.json +21 -3
- package/components/calendar.json +22 -0
- package/components/cards.json +18 -1
- package/components/checkbox-group.json +17 -1
- package/components/checkbox.json +24 -1
- package/components/close-button.json +19 -1
- package/components/coach-indicator.json +4 -1
- package/components/coach-mark.json +13 -1
- package/components/code.json +3 -0
- package/components/color-area.json +24 -1
- package/components/color-handle.json +13 -1
- package/components/color-loupe.json +4 -1
- package/components/color-slider.json +24 -1
- package/components/color-wheel.json +24 -1
- package/components/combo-box.json +24 -1
- package/components/contextual-help.json +18 -1
- package/components/date-picker.json +23 -1
- package/components/detail.json +3 -0
- package/components/divider.json +4 -1
- package/components/drop-zone.json +18 -1
- package/components/field-label.json +4 -1
- package/components/heading.json +3 -0
- package/components/help-text.json +5 -2
- package/components/illustrated-message.json +4 -1
- package/components/in-field-progress-button.json +18 -0
- package/components/in-field-progress-circle.json +4 -1
- package/components/in-line-alert.json +11 -1
- package/components/link.json +19 -1
- package/components/list-view.json +18 -1
- package/components/menu.json +19 -1
- package/components/meter.json +4 -1
- package/components/number-field.json +24 -1
- package/components/opacity-checkerboard.json +4 -1
- package/components/picker.json +24 -1
- package/components/popover.json +12 -1
- package/components/progress-bar.json +4 -1
- package/components/progress-circle.json +4 -1
- package/components/radio-button.json +24 -1
- package/components/radio-group.json +17 -1
- package/components/rating.json +24 -1
- package/components/scroll-zoom-bar.json +12 -0
- package/components/search-field.json +28 -1
- package/components/segmented-control.json +18 -1
- package/components/select-box.json +18 -1
- package/components/side-navigation.json +18 -1
- package/components/slider.json +24 -1
- package/components/standard-dialog.json +19 -1
- package/components/standard-panel.json +3 -0
- package/components/status-light.json +4 -1
- package/components/steplist.json +18 -1
- package/components/swatch-group.json +12 -1
- package/components/swatch.json +18 -1
- package/components/switch.json +19 -1
- package/components/tab-bar-ios.json +17 -0
- package/components/table.json +23 -1
- package/components/tabs.json +18 -1
- package/components/tag-field.json +18 -1
- package/components/tag-group.json +18 -1
- package/components/tag.json +18 -1
- package/components/takeover-dialog.json +19 -1
- package/components/text-area.json +28 -1
- package/components/text-field.json +28 -1
- package/components/thumbnail.json +4 -1
- package/components/title.json +40 -10
- package/components/toast.json +13 -1
- package/components/tooltip.json +17 -1
- package/components/tray.json +11 -0
- package/components/tree-view.json +19 -1
- package/conformance/README.md +7 -7
- package/conformance/invalid/SPEC-001/dataset.json +10 -0
- package/conformance/invalid/SPEC-001/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-002/dataset.json +16 -0
- package/conformance/invalid/SPEC-002/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-003/dataset.json +15 -0
- package/conformance/invalid/SPEC-003/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-004/dataset.json +15 -0
- package/conformance/invalid/SPEC-004/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-005/dataset.json +11 -0
- package/conformance/invalid/SPEC-005/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-006/dataset.json +15 -0
- package/conformance/invalid/SPEC-006/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-007/dataset.json +9 -0
- package/conformance/invalid/SPEC-007/expected-errors.json +10 -0
- package/conformance/invalid/SPEC-008/dataset.json +25 -0
- package/conformance/invalid/SPEC-008/expected-errors.json +2 -1
- package/conformance/invalid/SPEC-009/dataset.json +12 -0
- package/conformance/invalid/SPEC-009/expected-errors.json +10 -0
- package/conformance/invalid/SPEC-010/dataset.json +12 -0
- package/conformance/invalid/SPEC-011/dataset.json +25 -0
- package/conformance/invalid/SPEC-012/dataset.json +16 -0
- package/conformance/invalid/SPEC-013/dataset.json +11 -0
- package/conformance/invalid/SPEC-014/dataset.json +12 -0
- package/conformance/invalid/SPEC-014/expected-errors.json +1 -1
- package/conformance/invalid/SPEC-015/dataset.json +22 -0
- package/conformance/invalid/SPEC-015/expected-errors.json +10 -0
- package/conformance/invalid/SPEC-015/tokens.tokens.json +19 -0
- package/conformance/invalid/SPEC-016/dataset.json +11 -0
- package/conformance/invalid/SPEC-016/expected-errors.json +2 -2
- package/conformance/invalid/SPEC-017/dataset.json +10 -0
- package/conformance/invalid/SPEC-024/dataset.json +4 -3
- package/conformance/invalid/SPEC-024/expected-errors.json +2 -2
- package/conformance/invalid/SPEC-025/dataset.json +12 -0
- package/conformance/invalid/SPEC-025/expected-errors.json +10 -0
- package/conformance/invalid/SPEC-026/dataset.json +18 -0
- package/conformance/invalid/SPEC-026/expected-errors.json +10 -0
- package/conformance/invalid/SPEC-028/dataset.json +21 -0
- package/conformance/invalid/SPEC-028/expected-errors.json +10 -0
- package/conformance/invalid/SPEC-029/dataset.json +20 -0
- package/conformance/invalid/SPEC-029/expected-errors.json +10 -0
- package/conformance/invalid/SPEC-030/dataset.json +15 -0
- package/conformance/invalid/SPEC-030/expected-errors.json +10 -0
- package/conformance/invalid/SPEC-031/dataset.json +17 -0
- package/conformance/invalid/SPEC-031/expected-errors.json +10 -0
- package/conformance/invalid/SPEC-032/dataset.json +27 -0
- package/conformance/invalid/SPEC-032/expected-errors.json +15 -0
- package/conformance/resolution/base-fallback/expected.json +1 -1
- package/conformance/resolution/product-layer-wins/expected.json +5 -0
- package/conformance/resolution/product-layer-wins/input/tokens.tokens.json +7 -0
- package/conformance/resolution/product-layer-wins/product-context.json +11 -0
- package/conformance/resolution/product-layer-wins/query.json +4 -0
- package/conformance/resolution/specificity-wins/expected.json +1 -1
- package/conformance/valid/SPEC-014/dataset.json +12 -0
- package/conformance/valid/SPEC-016/dataset.json +16 -0
- package/conformance/valid/SPEC-025/dataset.json +24 -0
- package/conformance/valid/SPEC-026/dataset.json +15 -0
- package/conformance/valid/SPEC-028/dataset.json +21 -0
- package/conformance/valid/SPEC-029/dataset.json +24 -0
- package/conformance/valid/SPEC-030/dataset.json +17 -0
- package/conformance/valid/SPEC-031/dataset.json +24 -0
- package/conformance/valid/SPEC-032/dataset.json +16 -0
- package/conformance/valid/component-refs/README.md +5 -0
- package/conformance/valid/component-with-accessibility.json +32 -0
- package/fields/color-scheme.json +2 -2
- package/fields/contrast.json +2 -2
- package/fields/density.json +1 -1
- package/fields/scale.json +2 -2
- package/fields/size.json +1 -1
- package/package.json +4 -13
- package/rules/rules.yaml +40 -4
- package/schemas/accessibility.schema.json +60 -0
- package/schemas/component.schema.json +19 -0
- package/schemas/field.schema.json +2 -2
- package/schemas/manifest.schema.json +1 -1
- package/schemas/{dimension.schema.json → mode-set.schema.json} +3 -3
- package/schemas/token.schema.json +5 -5
- package/schemas/value-types/README.md +20 -0
- package/schemas/value-types/drop-shadow.schema.json +5 -5
- package/schemas/value-types/typography-scale.schema.json +2 -2
- package/schemas/value-types/typography.schema.json +5 -5
- package/spec/accessibility-adapters.md +219 -0
- package/spec/accessibility.md +219 -0
- package/spec/agent-surface.md +4 -4
- package/spec/cascade.md +7 -7
- package/spec/component-format.md +32 -0
- package/spec/document-blocks.md +1 -1
- package/spec/index.md +28 -20
- package/spec/manifest.md +2 -2
- package/spec/mode-sets.md +64 -0
- package/spec/query.md +18 -18
- package/spec/taxonomy.md +5 -5
- package/spec/token-format.md +12 -12
- package/spec/dimensions.md +0 -64
- package/src/canonical.js +0 -61
- package/src/validate.js +0 -190
- /package/conformance/resolution/alias-resolved-after-cascade/{dimensions → mode-sets}/color-scheme.json +0 -0
- /package/conformance/resolution/base-fallback/{dimensions → mode-sets}/color-scheme.json +0 -0
- /package/conformance/resolution/specificity-wins/{dimensions → mode-sets}/color-scheme.json +0 -0
package/components/divider.json
CHANGED
|
@@ -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
|
}
|
package/components/heading.json
CHANGED
|
@@ -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
|
|
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
|
}
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
package/components/link.json
CHANGED
|
@@ -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
|
}
|
package/components/menu.json
CHANGED
|
@@ -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
|
}
|
package/components/meter.json
CHANGED
|
@@ -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
|
}
|
package/components/picker.json
CHANGED
|
@@ -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
|
}
|
package/components/popover.json
CHANGED
|
@@ -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
|
}
|
|
@@ -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
|
}
|
package/components/rating.json
CHANGED
|
@@ -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
|
}
|
package/components/slider.json
CHANGED
|
@@ -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
|
}
|
package/components/steplist.json
CHANGED
|
@@ -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
|
}
|