@adobe/design-data-spec 0.9.0 → 0.11.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 +57 -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/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 +33 -29
- package/spec/manifest.md +2 -2
- package/spec/mode-sets.md +64 -0
- package/spec/query.md +18 -18
- package/spec/registry.md +93 -0
- 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
|
@@ -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
|
}
|
package/components/avatar.json
CHANGED
package/components/badge.json
CHANGED
package/components/body.json
CHANGED
|
@@ -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
|
|
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
|
}
|
package/components/button.json
CHANGED
|
@@ -478,7 +478,7 @@
|
|
|
478
478
|
},
|
|
479
479
|
{
|
|
480
480
|
"token": "static-white-focus-indicator-color",
|
|
481
|
-
"context": "Static white
|
|
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
|
|
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
|
}
|
package/components/calendar.json
CHANGED
|
@@ -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
|
}
|
package/components/cards.json
CHANGED
|
@@ -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
|
}
|
package/components/checkbox.json
CHANGED
|
@@ -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
|
}
|
|
@@ -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
|
}
|
package/components/code.json
CHANGED
|
@@ -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
|
}
|
|
@@ -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
|
}
|