contour-ds 1.8.1 → 1.9.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/README.md +227 -378
- package/dist/agent-cookbook.json +960 -0
- package/dist/agent-examples.json +65 -0
- package/dist/agent-map-wiring.json +152 -0
- package/dist/build-manifest.json +320 -179
- package/dist/contour-wc-content.esm.js +479 -3665
- package/dist/contour-wc-content.esm.min.js +1 -1
- package/dist/contour-wc-core.esm.js +3724 -0
- package/dist/contour-wc-core.esm.min.js +1 -0
- package/dist/contour-wc-dashboard.esm.js +2713 -4381
- package/dist/contour-wc-dashboard.esm.min.js +1 -1
- package/dist/contour-wc-data.esm.js +2658 -4346
- package/dist/contour-wc-data.esm.min.js +1 -1
- package/dist/contour-wc-docs.esm.js +218 -3547
- package/dist/contour-wc-docs.esm.min.js +1 -1
- package/dist/contour-wc-feedback.esm.js +483 -3658
- package/dist/contour-wc-feedback.esm.min.js +1 -1
- package/dist/contour-wc-forms.esm.js +503 -3754
- package/dist/contour-wc-forms.esm.min.js +1 -1
- package/dist/contour-wc-interaction.esm.js +379 -3616
- package/dist/contour-wc-interaction.esm.min.js +1 -1
- package/dist/contour-wc-layout.esm.js +234 -3563
- package/dist/contour-wc-layout.esm.min.js +1 -1
- package/dist/contour-wc-map.esm.js +949 -3743
- package/dist/contour-wc-map.esm.min.js +1 -1
- package/dist/contour-wc-misc.esm.js +237 -3556
- package/dist/contour-wc-misc.esm.min.js +1 -1
- package/dist/contour-wc-navigation.esm.js +2235 -5237
- package/dist/contour-wc-navigation.esm.min.js +1 -1
- package/dist/contour-wc-ui.esm.js +4638 -7128
- package/dist/contour-wc-ui.esm.min.js +1 -1
- package/dist/contour-wc.esm.js +11971 -7727
- package/dist/contour-wc.esm.min.js +1 -1
- package/dist/contour-wc.js +11971 -7727
- package/dist/contour-wc.min.js +1 -1
- package/dist/contour.a11y.json +402 -0
- package/dist/contour.code-snippets +96 -74
- package/dist/contour.components.json +2591 -741
- package/dist/contour.css +2624 -1888
- package/dist/contour.d.ts +421 -228
- package/dist/contour.esm.js +433 -18
- package/dist/contour.esm.min.js +1 -1
- package/dist/contour.html-data.json +1231 -199
- package/dist/contour.js +433 -18
- package/dist/contour.min.css +1 -1
- package/dist/contour.min.js +1 -1
- package/dist/contour.react.d.ts +100 -98
- package/dist/contour.single.html +2 -2
- package/dist/contour.single.min.css +1 -1
- package/dist/contour.themes.json +56 -12
- package/dist/contour.tokens.json +482 -255
- package/dist/contour.vue.d.ts +100 -98
- package/dist/contour.web-types.json +1226 -226
- package/dist/custom-elements.json +7649 -2237
- package/dist/docs/actions.md +15 -6
- package/dist/docs/affordances.md +18 -96
- package/dist/docs/apireference.md +9 -5
- package/dist/docs/colour.md +10 -4
- package/dist/docs/componentindex.md +9 -26
- package/dist/docs/data.md +36 -60
- package/dist/docs/docs.md +10 -12
- package/dist/docs/feedback.md +30 -12
- package/dist/docs/field.md +28 -13
- package/dist/docs/forms.md +35 -19
- package/dist/docs/index.json +63 -56
- package/dist/docs/install.md +12 -7
- package/dist/docs/landing.md +7 -4
- package/dist/docs/mapengine.md +18 -13
- package/dist/docs/motion.md +12 -6
- package/dist/docs/navigation.md +31 -7
- package/dist/docs/overlays.md +32 -25
- package/dist/docs/overview.md +3 -2
- package/dist/docs/patterns.md +19 -9
- package/dist/docs/playground.md +9 -22
- package/dist/docs/principles.md +8 -6
- package/dist/docs/recipes.md +113 -14
- package/dist/docs/space.md +10 -6
- package/dist/docs/status.md +12 -25
- package/dist/docs/surfaces.md +17 -22
- package/dist/docs/theming.md +18 -32
- package/dist/docs/type.md +12 -5
- package/dist/docs/webcomponents.md +66 -38
- package/dist/hljs.css +1 -20
- package/dist/map-chrome.mapbox.css +68 -92
- package/dist/map-chrome.maplibre.css +68 -92
- package/dist/registry/items/contour-core.json +2 -2
- package/dist/registry/items/contour-data.json +2 -2
- package/dist/registry/items/contour-docs.json +2 -2
- package/dist/registry/items/contour-landing.json +2 -2
- package/dist/registry/registry.json +8 -8
- package/dist/surfaces/contour-core.min.css +1 -1
- package/dist/surfaces/contour-data.min.css +1 -1
- package/dist/surfaces/contour-docs.min.css +1 -1
- package/dist/surfaces/contour-landing.min.css +1 -1
- package/dist/svg/icons.svg +367 -0
- package/dist/wc/behaviours.mjs +190 -148
- package/dist/wc/content.mjs +273 -129
- package/dist/wc/core.mjs +598 -395
- package/dist/wc/dashboard.mjs +64 -44
- package/dist/wc/data-chart.mjs +1333 -0
- package/dist/wc/data-export.mjs +391 -0
- package/dist/wc/data-gauge.mjs +779 -0
- package/dist/wc/data-geo.mjs +696 -0
- package/dist/wc/data-glyphs.mjs +133 -0
- package/dist/wc/data-legend.mjs +431 -0
- package/dist/wc/data-readout.mjs +227 -0
- package/dist/wc/data-series.mjs +1004 -0
- package/dist/wc/data-table.mjs +751 -0
- package/dist/wc/data.mjs +15 -4322
- package/dist/wc/docs.mjs +12 -11
- package/dist/wc/feedback.mjs +277 -122
- package/dist/wc/forms-controls.mjs +635 -0
- package/dist/wc/forms-field.mjs +547 -0
- package/dist/wc/forms-groups.mjs +347 -0
- package/dist/wc/forms-input.mjs +292 -0
- package/dist/wc/forms.mjs +10 -1751
- package/dist/wc/glyph.mjs +204 -0
- package/dist/wc/index.mjs +11 -9
- package/dist/wc/interaction.mjs +173 -80
- package/dist/wc/layout.mjs +28 -27
- package/dist/wc/map.mjs +743 -207
- package/dist/wc/misc.mjs +31 -20
- package/dist/wc/navigation-menu.mjs +735 -0
- package/dist/wc/navigation-shell.mjs +495 -0
- package/dist/wc/navigation-tree.mjs +995 -0
- package/dist/wc/navigation.mjs +9 -1905
- package/dist/wc/registration.mjs +1 -8
- package/dist/wc/shadow.mjs +206 -110
- package/dist/wc/states.mjs +54 -75
- package/dist/wc/svg.mjs +118 -47
- package/dist/wc/ui-atoms.mjs +608 -0
- package/dist/wc/ui-data.mjs +1404 -0
- package/dist/wc/ui-feedback.mjs +419 -0
- package/dist/wc/ui-inputs.mjs +1570 -0
- package/dist/wc/ui-menus.mjs +307 -0
- package/dist/wc/ui-overlays.mjs +1605 -0
- package/integrations/README.md +23 -5
- package/integrations/ai/CLAUDE.md +3 -0
- package/integrations/ai/COPILOT.md +14 -0
- package/integrations/ai/GEMINI.md +14 -0
- package/integrations/ai/WINDSURF.md +14 -0
- package/integrations/ai/v0-prompt.md +13 -1
- package/integrations/native/README.md +0 -3
- package/integrations/tailwind/contour-theme.css +66 -7
- package/integrations/validate-markup.mjs +172 -0
- package/package.json +77 -42
- package/dist/wc/ui.mjs +0 -5072
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0",
|
|
3
|
+
"name": "contour-a11y",
|
|
4
|
+
"audience": "an agent generating accessible markup with Contour",
|
|
5
|
+
"statement": "Per-block accessibility and gotchas: the role a block must carry, the ARIA it cannot work without, the keys that must operate it, and the traps that make a correct-looking block wrong. Every entry is validated against contour.components.json at build time — a block the system does not ship, or a required attribute that is not real, fails the build. Blocks with no special requirement are absent rather than padded. The element/state/token slice for a block is in contour.components.json; this file carries only what it takes to make that block usable and correct.",
|
|
6
|
+
"source": "tools/lib/a11y.mjs",
|
|
7
|
+
"blocks": [
|
|
8
|
+
{
|
|
9
|
+
"name": "c-btn",
|
|
10
|
+
"gotchas": [
|
|
11
|
+
"An icon-only button (c-btn--icon) must carry an aria-label — it has no text to name it."
|
|
12
|
+
]
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"name": "c-dialog",
|
|
16
|
+
"role": "dialog",
|
|
17
|
+
"requiredAttrs": [
|
|
18
|
+
"aria-modal",
|
|
19
|
+
"aria-labelledby"
|
|
20
|
+
],
|
|
21
|
+
"keyboard": [
|
|
22
|
+
"Escape closes",
|
|
23
|
+
"focus is trapped inside while open",
|
|
24
|
+
"focus returns to the trigger on close"
|
|
25
|
+
],
|
|
26
|
+
"gotchas": [
|
|
27
|
+
"The reset sets * { margin: 0 }, which removes the platform's margin:auto that centres a <dialog> — .c-dialog puts it back; a new centring component must too."
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "c-drawer",
|
|
32
|
+
"role": "dialog",
|
|
33
|
+
"requiredAttrs": [
|
|
34
|
+
"aria-modal",
|
|
35
|
+
"aria-labelledby"
|
|
36
|
+
],
|
|
37
|
+
"keyboard": [
|
|
38
|
+
"Escape closes",
|
|
39
|
+
"focus is trapped inside while open",
|
|
40
|
+
"focus returns to the trigger on close"
|
|
41
|
+
],
|
|
42
|
+
"gotchas": []
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "c-sheet",
|
|
46
|
+
"role": "dialog",
|
|
47
|
+
"requiredAttrs": [
|
|
48
|
+
"aria-modal",
|
|
49
|
+
"aria-labelledby"
|
|
50
|
+
],
|
|
51
|
+
"keyboard": [
|
|
52
|
+
"Escape closes",
|
|
53
|
+
"focus is trapped inside while open"
|
|
54
|
+
],
|
|
55
|
+
"gotchas": []
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "c-popover",
|
|
59
|
+
"requiredAttrs": [
|
|
60
|
+
"aria-expanded"
|
|
61
|
+
],
|
|
62
|
+
"keyboard": [
|
|
63
|
+
"Escape closes",
|
|
64
|
+
"focus moves into the panel when it opens"
|
|
65
|
+
],
|
|
66
|
+
"gotchas": [
|
|
67
|
+
"An author `display` on a popover element overrides the UA's display:none, so a closed popover becomes visible — set display only when it is open (:popover-open / .is-open)."
|
|
68
|
+
]
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "c-command",
|
|
72
|
+
"role": "dialog",
|
|
73
|
+
"requiredAttrs": [
|
|
74
|
+
"aria-label"
|
|
75
|
+
],
|
|
76
|
+
"keyboard": [
|
|
77
|
+
"Arrow keys move the cursor",
|
|
78
|
+
"Enter runs the active command",
|
|
79
|
+
"Escape closes"
|
|
80
|
+
],
|
|
81
|
+
"gotchas": [
|
|
82
|
+
"Set display only while open (:popover-open / .is-open) — an unconditional display makes a closed palette visible."
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "c-menu",
|
|
87
|
+
"role": "menu",
|
|
88
|
+
"requiredAttrs": [
|
|
89
|
+
"aria-label"
|
|
90
|
+
],
|
|
91
|
+
"keyboard": [
|
|
92
|
+
"Arrow keys move between items",
|
|
93
|
+
"Home/End jump",
|
|
94
|
+
"Escape closes and returns focus"
|
|
95
|
+
],
|
|
96
|
+
"gotchas": []
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "c-context-menu",
|
|
100
|
+
"role": "menu",
|
|
101
|
+
"requiredAttrs": [
|
|
102
|
+
"aria-label"
|
|
103
|
+
],
|
|
104
|
+
"keyboard": [
|
|
105
|
+
"Arrow keys move between items",
|
|
106
|
+
"Escape closes"
|
|
107
|
+
],
|
|
108
|
+
"gotchas": []
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "c-tabs",
|
|
112
|
+
"role": "tablist",
|
|
113
|
+
"requiredAttrs": [
|
|
114
|
+
"aria-selected",
|
|
115
|
+
"aria-controls"
|
|
116
|
+
],
|
|
117
|
+
"keyboard": [
|
|
118
|
+
"Left/Right move between tabs",
|
|
119
|
+
"the active tab is the only tab stop (roving tabindex)"
|
|
120
|
+
],
|
|
121
|
+
"gotchas": [
|
|
122
|
+
"Each tab needs aria-controls pointing at its panel, and each panel needs role=tabpanel + aria-labelledby."
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "c-segmented",
|
|
127
|
+
"requiredAttrs": [
|
|
128
|
+
"aria-checked"
|
|
129
|
+
],
|
|
130
|
+
"keyboard": [
|
|
131
|
+
"Arrow keys move the selection"
|
|
132
|
+
],
|
|
133
|
+
"gotchas": []
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "c-switch",
|
|
137
|
+
"role": "switch",
|
|
138
|
+
"requiredAttrs": [
|
|
139
|
+
"aria-checked"
|
|
140
|
+
],
|
|
141
|
+
"keyboard": [
|
|
142
|
+
"Space/Enter toggle"
|
|
143
|
+
],
|
|
144
|
+
"gotchas": [
|
|
145
|
+
"State is never colour alone — the switch must expose aria-checked, not just a hue."
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "c-check",
|
|
150
|
+
"requiredAttrs": [
|
|
151
|
+
"aria-label"
|
|
152
|
+
],
|
|
153
|
+
"keyboard": [
|
|
154
|
+
"Space toggles"
|
|
155
|
+
],
|
|
156
|
+
"gotchas": [
|
|
157
|
+
"A checkbox with no visible label needs an aria-label or an associated <label>."
|
|
158
|
+
]
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "c-radio",
|
|
162
|
+
"requiredAttrs": [
|
|
163
|
+
"aria-label"
|
|
164
|
+
],
|
|
165
|
+
"keyboard": [
|
|
166
|
+
"Arrow keys move within the group"
|
|
167
|
+
],
|
|
168
|
+
"gotchas": []
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "c-combobox",
|
|
172
|
+
"role": "combobox",
|
|
173
|
+
"requiredAttrs": [
|
|
174
|
+
"aria-expanded",
|
|
175
|
+
"aria-controls",
|
|
176
|
+
"aria-activedescendant"
|
|
177
|
+
],
|
|
178
|
+
"keyboard": [
|
|
179
|
+
"Arrow keys move the highlight",
|
|
180
|
+
"Enter selects",
|
|
181
|
+
"Escape closes"
|
|
182
|
+
],
|
|
183
|
+
"gotchas": []
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "c-toast",
|
|
187
|
+
"requiredAttrs": [
|
|
188
|
+
"aria-live"
|
|
189
|
+
],
|
|
190
|
+
"gotchas": [
|
|
191
|
+
"A status message is announced from a live region that exists, empty, before anything is said (#toast-host carries the role; the toast carries none) — a region that already holds text at load announces nothing."
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "c-alert",
|
|
196
|
+
"requiredAttrs": [
|
|
197
|
+
"aria-live"
|
|
198
|
+
],
|
|
199
|
+
"gotchas": [
|
|
200
|
+
"A persistent alert uses role=alert; a transient one is a toast, not an alert."
|
|
201
|
+
]
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "c-tooltip",
|
|
205
|
+
"role": "tooltip",
|
|
206
|
+
"requiredAttrs": [
|
|
207
|
+
"aria-describedby"
|
|
208
|
+
],
|
|
209
|
+
"keyboard": [
|
|
210
|
+
"shows on focus as well as hover"
|
|
211
|
+
],
|
|
212
|
+
"gotchas": [
|
|
213
|
+
"The trigger references the tooltip via aria-describedby; a tooltip is not focusable itself."
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "c-pagination",
|
|
218
|
+
"role": "navigation",
|
|
219
|
+
"requiredAttrs": [
|
|
220
|
+
"aria-label"
|
|
221
|
+
],
|
|
222
|
+
"gotchas": []
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"name": "c-breadcrumb",
|
|
226
|
+
"role": "navigation",
|
|
227
|
+
"requiredAttrs": [
|
|
228
|
+
"aria-label"
|
|
229
|
+
],
|
|
230
|
+
"gotchas": [
|
|
231
|
+
"The current page is aria-current=page, not a link."
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "c-tree",
|
|
236
|
+
"role": "tree",
|
|
237
|
+
"requiredAttrs": [
|
|
238
|
+
"aria-expanded"
|
|
239
|
+
],
|
|
240
|
+
"keyboard": [
|
|
241
|
+
"Up/Down move",
|
|
242
|
+
"Right expands, Left collapses",
|
|
243
|
+
"Enter selects"
|
|
244
|
+
],
|
|
245
|
+
"gotchas": []
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"name": "c-table",
|
|
249
|
+
"gotchas": [
|
|
250
|
+
"A rendered table.c-table must sit inside a .c-table-wrap scroller — a bare table overflows the page instead of scrolling."
|
|
251
|
+
]
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"name": "c-progress",
|
|
255
|
+
"role": "progressbar",
|
|
256
|
+
"requiredAttrs": [
|
|
257
|
+
"aria-valuenow",
|
|
258
|
+
"aria-valuemin",
|
|
259
|
+
"aria-valuemax"
|
|
260
|
+
],
|
|
261
|
+
"gotchas": [
|
|
262
|
+
"An indeterminate bar omits aria-valuenow and is announced as busy."
|
|
263
|
+
]
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"name": "c-meter",
|
|
267
|
+
"role": "meter",
|
|
268
|
+
"requiredAttrs": [
|
|
269
|
+
"aria-valuenow",
|
|
270
|
+
"aria-valuemin",
|
|
271
|
+
"aria-valuemax"
|
|
272
|
+
],
|
|
273
|
+
"gotchas": []
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"name": "c-range",
|
|
277
|
+
"role": "slider",
|
|
278
|
+
"requiredAttrs": [
|
|
279
|
+
"aria-valuenow",
|
|
280
|
+
"aria-valuemin",
|
|
281
|
+
"aria-valuemax"
|
|
282
|
+
],
|
|
283
|
+
"keyboard": [
|
|
284
|
+
"Arrow keys change the value",
|
|
285
|
+
"Home/End jump to the ends"
|
|
286
|
+
],
|
|
287
|
+
"gotchas": []
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"name": "c-spinner",
|
|
291
|
+
"role": "status",
|
|
292
|
+
"requiredAttrs": [
|
|
293
|
+
"aria-label"
|
|
294
|
+
],
|
|
295
|
+
"gotchas": []
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"name": "c-skeleton",
|
|
299
|
+
"gotchas": [
|
|
300
|
+
"A skeleton is decorative: aria-hidden=true, with the region marked aria-busy while it loads."
|
|
301
|
+
]
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
"name": "c-avatar",
|
|
305
|
+
"role": "img",
|
|
306
|
+
"requiredAttrs": [
|
|
307
|
+
"aria-label"
|
|
308
|
+
],
|
|
309
|
+
"gotchas": []
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "c-status-light",
|
|
313
|
+
"role": "status",
|
|
314
|
+
"gotchas": [
|
|
315
|
+
"State is never colour alone — a status light pairs its hue with a word or shape."
|
|
316
|
+
]
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"name": "c-chart",
|
|
320
|
+
"role": "img",
|
|
321
|
+
"requiredAttrs": [
|
|
322
|
+
"aria-label"
|
|
323
|
+
],
|
|
324
|
+
"gotchas": [
|
|
325
|
+
"Every series carries a dash pattern as well as a hue, so no chart asks the reader to tell two colours apart."
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "c-legend",
|
|
330
|
+
"gotchas": [
|
|
331
|
+
"A legend is the accessible-name surface for a chart's series; an interactive legend exposes selection state, not colour alone."
|
|
332
|
+
]
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"name": "c-select",
|
|
336
|
+
"gotchas": [
|
|
337
|
+
"The option list of a native select is drawn by the platform and cannot be styled — design the closed control (surface, border, chevron, focus ring) and keep the native select."
|
|
338
|
+
]
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"name": "c-field",
|
|
342
|
+
"requiredAttrs": [
|
|
343
|
+
"aria-describedby"
|
|
344
|
+
],
|
|
345
|
+
"gotchas": [
|
|
346
|
+
"A hidden label must be anchored (position:absolute with an inset), not static — a static one escapes a horizontal scroller and stretches the page."
|
|
347
|
+
]
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "c-section-head",
|
|
351
|
+
"gotchas": [
|
|
352
|
+
"A component must not own its heading level — ship the heading as a class (.c-section-head__title) on whatever heading element the author's outline needs."
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"name": "c-code",
|
|
357
|
+
"gotchas": [
|
|
358
|
+
"Mono type is for data, labels and code — never body copy."
|
|
359
|
+
]
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"name": "c-docs-nav",
|
|
363
|
+
"role": "navigation",
|
|
364
|
+
"requiredAttrs": [
|
|
365
|
+
"aria-label"
|
|
366
|
+
],
|
|
367
|
+
"gotchas": [
|
|
368
|
+
"The current page is aria-current=page."
|
|
369
|
+
]
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"name": "c-toc",
|
|
373
|
+
"role": "navigation",
|
|
374
|
+
"requiredAttrs": [
|
|
375
|
+
"aria-label"
|
|
376
|
+
],
|
|
377
|
+
"gotchas": []
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "c-toolbar",
|
|
381
|
+
"role": "toolbar",
|
|
382
|
+
"requiredAttrs": [
|
|
383
|
+
"aria-label"
|
|
384
|
+
],
|
|
385
|
+
"keyboard": [
|
|
386
|
+
"Arrow keys move between controls (roving tabindex)"
|
|
387
|
+
],
|
|
388
|
+
"gotchas": []
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"name": "c-disclosure",
|
|
392
|
+
"requiredAttrs": [
|
|
393
|
+
"aria-expanded",
|
|
394
|
+
"aria-controls"
|
|
395
|
+
],
|
|
396
|
+
"keyboard": [
|
|
397
|
+
"Enter/Space toggle"
|
|
398
|
+
],
|
|
399
|
+
"gotchas": []
|
|
400
|
+
}
|
|
401
|
+
]
|
|
402
|
+
}
|