@workday/canvas-kit-mcp 15.1.0-0448-next.0 → 15.1.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 CHANGED
@@ -45,6 +45,35 @@ Returns Canvas Kit upgrade guide documentation (v9 through v14) as resource link
45
45
 
46
46
  Returns Canvas Kit design token documentation for migrating to `@workday/canvas-tokens-web`.
47
47
 
48
+ ### `get-accessibility-guidelines`
49
+
50
+ Returns Canvas Kit accessibility guidance resource links for a component, scenario, or both. This is
51
+ documentation guidance only; it does not scan code or pages, run automated accessibility tests,
52
+ certify WCAG conformance, or guarantee compliance.
53
+
54
+ Parameters:
55
+
56
+ - `component` (optional) -- Canvas Kit component/story slug, such as `checkbox`, `table`, or
57
+ `modal`.
58
+ - `scenario` (optional) -- Accessibility scenario slug, such as `forms`, `tables`, `popups`, or
59
+ `page-structure`.
60
+
61
+ At least one of `component` or `scenario` is required.
62
+
63
+ Examples:
64
+
65
+ ```json
66
+ {"scenario": "forms"}
67
+ ```
68
+
69
+ ```json
70
+ {"component": "table"}
71
+ ```
72
+
73
+ ```json
74
+ {"component": "checkbox", "scenario": "forms"}
75
+ ```
76
+
48
77
  ### `fetch-component-documentation-example`
49
78
 
50
79
  Renders an interactive Canvas Kit component story inline for the user. Accepts a `story` parameter
@@ -70,12 +99,23 @@ Markdown upgrade guides for Canvas Kit major versions (v9-v14).
70
99
 
71
100
  Design token migration guides, color palette, roles, contrast, and scale documentation.
72
101
 
102
+ ### `docs://accessibility/*`
103
+
104
+ Accessibility guidance documentation for Canvas Kit scenarios, including overview, forms, page
105
+ structure, tables, popups, ARIA live regions, headers, side panels, Windows High Contrast themes, and
106
+ color contrast.
107
+
73
108
  ### `docs://examples/{slug}`
74
109
 
75
110
  Markdown documentation and inline code examples for each component. These are extracted from the MDX
76
111
  story files at build time, with `ExampleCodeBlock` references replaced by the actual source code of
77
112
  each example.
78
113
 
114
+ ### `docs://examples/{slug}/accessibility`
115
+
116
+ Accessibility section extracted from a component's MDX documentation when that component has a
117
+ non-empty `## Accessibility` section.
118
+
79
119
  ### `ui://story/{slug}`
80
120
 
81
121
  Interactive HTML previews of Canvas Kit components, served as MCP App resources
@@ -98,7 +138,8 @@ The build runs in stages via `npm run build`:
98
138
  writes `lib/stories-config.json`
99
139
  2. **`build:apps`** -- compiles each MDX story into a self-contained single-file HTML app using
100
140
  Vite, bundling React, Emotion, Canvas Tokens CSS, and lightweight Storybook stubs
101
- 3. **`build:copy`** -- copies static resources (upgrade guides, token docs) into `dist/lib`
141
+ 3. **`build:copy`** -- copies static resources (upgrade guides, token docs, accessibility docs) into
142
+ `dist/lib`
102
143
  4. **`build:types`** -- generates TypeScript declarations
103
144
  5. **`build:mcp`** -- bundles `lib/index.ts` and `lib/cli.ts` with esbuild
104
145