@weaaare/mcp-nvda-auditor 0.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/LICENSE +21 -0
- package/README.md +360 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/prompts/audit-prompts.d.ts +4 -0
- package/dist/prompts/audit-prompts.d.ts.map +1 -0
- package/dist/prompts/audit-prompts.js +428 -0
- package/dist/prompts/audit-prompts.js.map +1 -0
- package/dist/screen-readers/nvda/nvda.adapter.d.ts +25 -0
- package/dist/screen-readers/nvda/nvda.adapter.d.ts.map +1 -0
- package/dist/screen-readers/nvda/nvda.adapter.js +208 -0
- package/dist/screen-readers/nvda/nvda.adapter.js.map +1 -0
- package/dist/screen-readers/nvda/nvda.tools.d.ts +3 -0
- package/dist/screen-readers/nvda/nvda.tools.d.ts.map +1 -0
- package/dist/screen-readers/nvda/nvda.tools.js +442 -0
- package/dist/screen-readers/nvda/nvda.tools.js.map +1 -0
- package/dist/server.d.ts +3 -0
- package/dist/server.d.ts.map +1 -0
- package/dist/server.js +57 -0
- package/dist/server.js.map +1 -0
- package/dist/setup/setup-check.tools.d.ts +3 -0
- package/dist/setup/setup-check.tools.d.ts.map +1 -0
- package/dist/setup/setup-check.tools.js +52 -0
- package/dist/setup/setup-check.tools.js.map +1 -0
- package/package.json +57 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 weAAAre
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
# @weaaare/mcp-nvda-auditor
|
|
2
|
+
|
|
3
|
+
MCP (Model Context Protocol) server for **screen reader accessibility audits on Windows** using NVDA. Drives NVDA through [guidepup](https://github.com/guidepup/guidepup), letting an AI agent navigate web pages exactly as an NVDA user would: read element announcements, check focus order, detect keyboard traps, and log structured WCAG findings — all without a human manually operating NVDA.
|
|
4
|
+
|
|
5
|
+
Can help cover up to **12 WCAG 2.2 success criteria** (1.1.1, 1.3.1, 2.1.1, 2.1.2, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.6, 3.3.1, 3.3.2, 4.1.2).
|
|
6
|
+
|
|
7
|
+
> **Important:** This tool does **not** replace a manual audit by an accessibility specialist, nor does it substitute real testing with assistive-technology users. It is a fast feedback loop that catches common issues early — a complement, never a replacement.
|
|
8
|
+
|
|
9
|
+
## Requirements
|
|
10
|
+
|
|
11
|
+
- **Windows 10 or later** — NVDA is Windows-only
|
|
12
|
+
- **NVDA installed** — download free at [nvaccess.org](https://www.nvaccess.org/)
|
|
13
|
+
- **Node.js ≥ 24**
|
|
14
|
+
- **guidepup setup** — run `npx @guidepup/setup` once to configure the Windows environment for NVDA automation
|
|
15
|
+
|
|
16
|
+
## Install
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
npx @guidepup/setup # one-time Windows environment setup
|
|
20
|
+
npx @weaaare/mcp-nvda-auditor
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## MCP client config
|
|
24
|
+
|
|
25
|
+
**Standard config** (works in most MCP clients):
|
|
26
|
+
|
|
27
|
+
```json
|
|
28
|
+
{
|
|
29
|
+
"mcpServers": {
|
|
30
|
+
"nvda-auditor": {
|
|
31
|
+
"command": "npx",
|
|
32
|
+
"args": ["-y", "@weaaare/mcp-nvda-auditor"]
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
<details>
|
|
39
|
+
<summary>VS Code</summary>
|
|
40
|
+
|
|
41
|
+
Add to `.vscode/mcp.json`:
|
|
42
|
+
|
|
43
|
+
```json
|
|
44
|
+
{
|
|
45
|
+
"servers": {
|
|
46
|
+
"nvda-auditor": {
|
|
47
|
+
"command": "npx",
|
|
48
|
+
"args": ["-y", "@weaaare/mcp-nvda-auditor"]
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Or install via CLI:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
code --add-mcp '{"name":"nvda-auditor","command":"npx","args":["-y","@weaaare/mcp-nvda-auditor"]}'
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
</details>
|
|
61
|
+
|
|
62
|
+
<details>
|
|
63
|
+
<summary>Claude Desktop</summary>
|
|
64
|
+
|
|
65
|
+
Add to `claude_desktop_config.json`:
|
|
66
|
+
|
|
67
|
+
```json
|
|
68
|
+
{
|
|
69
|
+
"mcpServers": {
|
|
70
|
+
"nvda-auditor": {
|
|
71
|
+
"command": "npx",
|
|
72
|
+
"args": ["-y", "@weaaare/mcp-nvda-auditor"]
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
</details>
|
|
79
|
+
|
|
80
|
+
<details>
|
|
81
|
+
<summary>Claude Code</summary>
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
claude mcp add nvda-auditor npx -y @weaaare/mcp-nvda-auditor
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
</details>
|
|
88
|
+
|
|
89
|
+
<details>
|
|
90
|
+
<summary>Cursor</summary>
|
|
91
|
+
|
|
92
|
+
Go to `Cursor Settings` → `MCP` → `Add new MCP Server`. Use `command` type with `npx -y @weaaare/mcp-nvda-auditor`.
|
|
93
|
+
|
|
94
|
+
Or add to `.cursor/mcp.json` using the standard config above.
|
|
95
|
+
|
|
96
|
+
</details>
|
|
97
|
+
|
|
98
|
+
<details>
|
|
99
|
+
<summary>Windsurf</summary>
|
|
100
|
+
|
|
101
|
+
Follow Windsurf MCP [documentation](https://docs.windsurf.com/windsurf/cascade/mcp). Use the standard config above.
|
|
102
|
+
|
|
103
|
+
</details>
|
|
104
|
+
|
|
105
|
+
<details>
|
|
106
|
+
<summary>Cline</summary>
|
|
107
|
+
|
|
108
|
+
Add to your [`cline_mcp_settings.json`](https://docs.cline.bot/mcp/configuring-mcp-servers#editing-mcp-settings-files):
|
|
109
|
+
|
|
110
|
+
```json
|
|
111
|
+
{
|
|
112
|
+
"mcpServers": {
|
|
113
|
+
"nvda-auditor": {
|
|
114
|
+
"type": "stdio",
|
|
115
|
+
"command": "npx",
|
|
116
|
+
"args": ["-y", "@weaaare/mcp-nvda-auditor"],
|
|
117
|
+
"disabled": false
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
</details>
|
|
124
|
+
|
|
125
|
+
<details>
|
|
126
|
+
<summary>Kiro</summary>
|
|
127
|
+
|
|
128
|
+
Follow the MCP Servers [documentation](https://kiro.dev/docs/mcp/). Add to `.kiro/settings/mcp.json` using the standard config above.
|
|
129
|
+
|
|
130
|
+
</details>
|
|
131
|
+
|
|
132
|
+
<details>
|
|
133
|
+
<summary>Codex</summary>
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
codex mcp add nvda-auditor npx "-y" "@weaaare/mcp-nvda-auditor"
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
Or edit `~/.codex/config.toml`:
|
|
140
|
+
|
|
141
|
+
```toml
|
|
142
|
+
[mcp_servers.nvda-auditor]
|
|
143
|
+
command = "npx"
|
|
144
|
+
args = ["-y", "@weaaare/mcp-nvda-auditor"]
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
</details>
|
|
148
|
+
|
|
149
|
+
<details>
|
|
150
|
+
<summary>Goose</summary>
|
|
151
|
+
|
|
152
|
+
Go to `Advanced settings` → `Extensions` → `Add custom extension`. Use type `STDIO` and set the command to `npx -y @weaaare/mcp-nvda-auditor`.
|
|
153
|
+
|
|
154
|
+
</details>
|
|
155
|
+
|
|
156
|
+
<details>
|
|
157
|
+
<summary>Warp</summary>
|
|
158
|
+
|
|
159
|
+
Go to `Settings` → `AI` → `Manage MCP Servers` → `+ Add`. Use the standard config above.
|
|
160
|
+
|
|
161
|
+
</details>
|
|
162
|
+
|
|
163
|
+
<details>
|
|
164
|
+
<summary>Gemini CLI</summary>
|
|
165
|
+
|
|
166
|
+
Follow the MCP install [guide](https://github.com/google-gemini/gemini-cli/blob/main/docs/tools/mcp-server.md#configure-the-mcp-server-in-settingsjson). Use the standard config above.
|
|
167
|
+
|
|
168
|
+
</details>
|
|
169
|
+
|
|
170
|
+
## Tools
|
|
171
|
+
|
|
172
|
+
### NVDA Control
|
|
173
|
+
|
|
174
|
+
| Tool | Description |
|
|
175
|
+
| --- | --- |
|
|
176
|
+
| `check_setup` | Verify Windows environment and NVDA availability before starting an audit |
|
|
177
|
+
| `nvda_start` | Start NVDA — must be called before any navigation commands |
|
|
178
|
+
| `nvda_stop` | Stop NVDA and clean up the session |
|
|
179
|
+
| `nvda_detect` | Detect whether NVDA is supported on this system (Windows only) |
|
|
180
|
+
| `nvda_default` | Check whether NVDA is the default screen reader for this OS |
|
|
181
|
+
|
|
182
|
+
### Navigation
|
|
183
|
+
|
|
184
|
+
| Tool | Description |
|
|
185
|
+
| --- | --- |
|
|
186
|
+
| `nvda_next` | Move the NVDA cursor to the next item (Down Arrow equivalent) |
|
|
187
|
+
| `nvda_previous` | Move the NVDA cursor to the previous item (Up Arrow equivalent) |
|
|
188
|
+
| `nvda_act` | Perform the default action for the focused item (Enter equivalent) |
|
|
189
|
+
| `nvda_interact` | No-op on NVDA (provided for cross-screen-reader API compatibility) |
|
|
190
|
+
| `nvda_stop_interacting` | No-op on NVDA (provided for cross-screen-reader API compatibility) |
|
|
191
|
+
| `nvda_press` | Press a key — uses NVDA's single-letter browse mode shortcuts directly |
|
|
192
|
+
| `nvda_type` | Type text into the currently focused item |
|
|
193
|
+
| `nvda_perform` | Execute a named NVDA keyboard command (see full list below) |
|
|
194
|
+
| `nvda_click` | Click the mouse at the current NVDA cursor position |
|
|
195
|
+
|
|
196
|
+
### Reading and Logging
|
|
197
|
+
|
|
198
|
+
| Tool | Description |
|
|
199
|
+
| --- | --- |
|
|
200
|
+
| `nvda_item_text` | Get text of the item currently in the NVDA cursor |
|
|
201
|
+
| `nvda_last_spoken_phrase` | Get the last phrase spoken by NVDA |
|
|
202
|
+
| `nvda_spoken_phrase_log` | Get the full spoken phrase history for this session |
|
|
203
|
+
| `nvda_item_text_log` | Get the full visited item text history for this session |
|
|
204
|
+
| `nvda_clear_spoken_phrase_log` | Clear the spoken phrase log |
|
|
205
|
+
| `nvda_clear_item_text_log` | Clear the item text log |
|
|
206
|
+
|
|
207
|
+
### Audit Session
|
|
208
|
+
|
|
209
|
+
| Tool | Description |
|
|
210
|
+
| --- | --- |
|
|
211
|
+
| `start_audit` | Start a new audit session with URL, WCAG level, and screen reader |
|
|
212
|
+
| `log_finding` | Log a `violation`, `warning`, or `pass` with WCAG criteria and recommendation |
|
|
213
|
+
| `get_audit_status` | Get current audit progress, finding counts, and duration |
|
|
214
|
+
| `get_findings` | Retrieve findings from the current or last session |
|
|
215
|
+
| `end_audit` | End the audit session and generate summary statistics |
|
|
216
|
+
| `generate_report` | Generate an audit report in `markdown`, `json`, or `csv` format |
|
|
217
|
+
|
|
218
|
+
## `nvda_perform` commands
|
|
219
|
+
|
|
220
|
+
The `nvda_perform` tool executes named NVDA keyboard commands. These are the most useful for structured web auditing:
|
|
221
|
+
|
|
222
|
+
### Essential navigation
|
|
223
|
+
|
|
224
|
+
| Command | NVDA key | Description |
|
|
225
|
+
| --- | --- | --- |
|
|
226
|
+
| `moveToNextHeading` | H | Move to next heading |
|
|
227
|
+
| `moveToPreviousHeading` | Shift+H | Move to previous heading |
|
|
228
|
+
| `moveToNextHeadingLevel1`–`6` | 1–6 | Move to next heading at level 1–6 |
|
|
229
|
+
| `moveToPreviousHeadingLevel1`–`6` | Shift+1–6 | Move to previous heading at level 1–6 |
|
|
230
|
+
| `moveToNextLandmark` | D | Move to next ARIA landmark region |
|
|
231
|
+
| `moveToPreviousLandmark` | Shift+D | Move to previous ARIA landmark region |
|
|
232
|
+
| `moveToNextLink` | K | Move to next link |
|
|
233
|
+
| `moveToPreviousLink` | Shift+K | Move to previous link |
|
|
234
|
+
| `moveToNextUnvisitedLink` | U | Move to next unvisited link |
|
|
235
|
+
| `moveToNextVisitedLink` | V | Move to next visited link |
|
|
236
|
+
| `moveToNextFormField` | F | Move to next form field (any type) |
|
|
237
|
+
| `moveToPreviousFormField` | Shift+F | Move to previous form field |
|
|
238
|
+
| `moveToNextButton` | B | Move to next button |
|
|
239
|
+
| `moveToNextCheckbox` | X | Move to next checkbox |
|
|
240
|
+
| `moveToNextRadioButton` | R | Move to next radio button |
|
|
241
|
+
| `moveToNextComboBox` | C | Move to next combo box |
|
|
242
|
+
| `moveToNextEditField` | E | Move to next text edit field |
|
|
243
|
+
| `moveToNextTable` | T | Move to next table |
|
|
244
|
+
| `moveToNextGraphic` | G | Move to next graphic/image |
|
|
245
|
+
| `moveToNextList` | L | Move to next list |
|
|
246
|
+
| `moveToNextListItem` | I | Move to next list item |
|
|
247
|
+
|
|
248
|
+
### Browse mode
|
|
249
|
+
|
|
250
|
+
| Command | NVDA key | Description |
|
|
251
|
+
| --- | --- | --- |
|
|
252
|
+
| `browseModeElementsList` | NVDA+F7 | Open the Elements List dialog — shows all headings, links, or form fields |
|
|
253
|
+
| `toggleBetweenBrowseAndFocusMode` | NVDA+Space | Toggle between browse mode and focus mode |
|
|
254
|
+
| `exitFocusMode` | Escape | Return to browse mode from focus mode |
|
|
255
|
+
| `refreshBrowseDocument` | NVDA+F5 | Refresh the virtual document buffer |
|
|
256
|
+
| `toggleSingleLetterNavigation` | NVDA+Shift+Space | Enable/disable single-letter quick nav |
|
|
257
|
+
|
|
258
|
+
### Reading
|
|
259
|
+
|
|
260
|
+
| Command | NVDA key | Description |
|
|
261
|
+
| --- | --- | --- |
|
|
262
|
+
| `sayAll` | NVDA+Down Arrow | Read from current position to end of page |
|
|
263
|
+
| `readLine` | NVDA+Up Arrow | Read current line |
|
|
264
|
+
| `reportTitle` | NVDA+T | Report the title of the active window |
|
|
265
|
+
| `reportCurrentFocus` | NVDA+Tab | Report the currently focused element |
|
|
266
|
+
| `readActiveWindow` | NVDA+B | Read all content in the active window |
|
|
267
|
+
| `reportTextFormatting` | NVDA+F | Report text formatting at the caret |
|
|
268
|
+
| `reportStatusBar` | NVDA+End | Report the status bar |
|
|
269
|
+
| `stopSpeech` | Control | Stop NVDA speech immediately |
|
|
270
|
+
|
|
271
|
+
### Find
|
|
272
|
+
|
|
273
|
+
| Command | NVDA key | Description |
|
|
274
|
+
| --- | --- | --- |
|
|
275
|
+
| `find` | NVDA+Control+F | Open find text dialog |
|
|
276
|
+
| `findNext` | NVDA+F3 | Find next occurrence |
|
|
277
|
+
| `findPrevious` | NVDA+Shift+F3 | Find previous occurrence |
|
|
278
|
+
| `openLongDescription` | NVDA+D | Open long description for the current element |
|
|
279
|
+
|
|
280
|
+
## Prompts
|
|
281
|
+
|
|
282
|
+
Built-in audit prompts are available in all MCP clients that support prompts:
|
|
283
|
+
|
|
284
|
+
| Prompt | Description |
|
|
285
|
+
| --- | --- |
|
|
286
|
+
| `full_accessibility_audit` | Comprehensive audit: headings, landmarks, links, forms, images, tables, keyboard navigation |
|
|
287
|
+
| `heading_structure_audit` | Focused audit of heading hierarchy and descriptive quality |
|
|
288
|
+
| `form_accessibility_audit` | Focused audit of form labels, errors, required states, and keyboard accessibility |
|
|
289
|
+
| `navigation_audit` | Focused audit of landmarks, skip links, tab order, and focus management |
|
|
290
|
+
| `image_accessibility_audit` | Focused audit of alt text, decorative images, and complex image descriptions |
|
|
291
|
+
|
|
292
|
+
## NVDA browse mode cheat sheet
|
|
293
|
+
|
|
294
|
+
NVDA uses **browse mode** by default for web content. In browse mode, single-letter keys navigate by element type:
|
|
295
|
+
|
|
296
|
+
| Key | Navigate to |
|
|
297
|
+
| --- | --- |
|
|
298
|
+
| H / Shift+H | Next / previous heading (any level) |
|
|
299
|
+
| 1–6 / Shift+1–6 | Next / previous heading at level 1–6 |
|
|
300
|
+
| K / Shift+K | Next / previous link |
|
|
301
|
+
| F / Shift+F | Next / previous form field |
|
|
302
|
+
| B / Shift+B | Next / previous button |
|
|
303
|
+
| D / Shift+D | Next / previous ARIA landmark |
|
|
304
|
+
| T / Shift+T | Next / previous table |
|
|
305
|
+
| G / Shift+G | Next / previous graphic |
|
|
306
|
+
| L / Shift+L | Next / previous list |
|
|
307
|
+
| I / Shift+I | Next / previous list item |
|
|
308
|
+
| E / Shift+E | Next / previous edit field |
|
|
309
|
+
| X / Shift+X | Next / previous checkbox |
|
|
310
|
+
| R / Shift+R | Next / previous radio button |
|
|
311
|
+
| C / Shift+C | Next / previous combo box |
|
|
312
|
+
| NVDA+F7 | Elements List — all headings, links, or form fields |
|
|
313
|
+
| NVDA+Space | Toggle browse mode / focus mode |
|
|
314
|
+
| NVDA+Control+F | Find text in page |
|
|
315
|
+
| Tab | Move to next focusable element |
|
|
316
|
+
|
|
317
|
+
> Use `nvda_press` with these keys directly, or use `nvda_perform` with the named command equivalents.
|
|
318
|
+
|
|
319
|
+
## Typical audit workflow
|
|
320
|
+
|
|
321
|
+
```
|
|
322
|
+
check_setup
|
|
323
|
+
nvda_start
|
|
324
|
+
[navigate to URL in browser]
|
|
325
|
+
start_audit
|
|
326
|
+
nvda_perform → moveToNextHeading # navigate by heading
|
|
327
|
+
nvda_last_spoken_phrase # capture announcement
|
|
328
|
+
...
|
|
329
|
+
log_finding # log a violation or pass
|
|
330
|
+
...
|
|
331
|
+
end_audit
|
|
332
|
+
generate_report
|
|
333
|
+
nvda_stop
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
## WCAG criteria covered
|
|
337
|
+
|
|
338
|
+
| SC | Name | Tools |
|
|
339
|
+
| --- | --- | --- |
|
|
340
|
+
| 1.1.1 | Non-text Content | `nvda_item_text`, `nvda_last_spoken_phrase`, `log_finding` |
|
|
341
|
+
| 1.3.1 | Info and Relationships | `nvda_perform`, `nvda_item_text`, `log_finding` |
|
|
342
|
+
| 2.1.1 | Keyboard | `nvda_press`, `nvda_act`, `log_finding` |
|
|
343
|
+
| 2.1.2 | No Keyboard Trap | `nvda_press`, `nvda_next`, `log_finding` |
|
|
344
|
+
| 2.4.1 | Bypass Blocks | `nvda_perform`, `nvda_next`, `log_finding` |
|
|
345
|
+
| 2.4.2 | Page Titled | `nvda_item_text`, `nvda_last_spoken_phrase`, `log_finding` |
|
|
346
|
+
| 2.4.3 | Focus Order | `nvda_next`, `nvda_previous`, `log_finding` |
|
|
347
|
+
| 2.4.4 | Link Purpose (In Context) | `nvda_perform`, `nvda_item_text`, `log_finding` |
|
|
348
|
+
| 2.4.6 | Headings and Labels | `nvda_perform`, `nvda_item_text`, `log_finding` |
|
|
349
|
+
| 3.3.1 | Error Identification | `nvda_last_spoken_phrase`, `nvda_item_text`, `log_finding` |
|
|
350
|
+
| 3.3.2 | Labels or Instructions | `nvda_item_text`, `nvda_perform`, `log_finding` |
|
|
351
|
+
| 4.1.2 | Name, Role, Value | `nvda_last_spoken_phrase`, `nvda_item_text`, `log_finding` |
|
|
352
|
+
|
|
353
|
+
## Acknowledgements
|
|
354
|
+
|
|
355
|
+
- **[W3C](https://www.w3.org/WAI/)** — for the [WCAG 2.2](https://www.w3.org/TR/WCAG22/) guidelines, [WAI-ARIA](https://www.w3.org/TR/wai-aria/) specification, and the [ARIA Authoring Practices Guide](https://www.w3.org/WAI/ARIA/apg/). W3C content is used under the [W3C Software and Document License](https://www.w3.org/copyright/software-license/).
|
|
356
|
+
- **[a11ysupport.io](https://a11ysupport.io/)** — community-driven assistive-technology support data by Michael Fairchild, available under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
|
|
357
|
+
|
|
358
|
+
## License
|
|
359
|
+
|
|
360
|
+
MIT - [weAAAre](https://weAAAre.com)
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
|
|
3
|
+
import { createServer } from './server.js';
|
|
4
|
+
const main = async () => {
|
|
5
|
+
const server = createServer();
|
|
6
|
+
const transport = new StdioServerTransport();
|
|
7
|
+
await server.connect(transport);
|
|
8
|
+
console.error('mcp-nvda-auditor MCP server running on stdio');
|
|
9
|
+
};
|
|
10
|
+
main().catch((error) => {
|
|
11
|
+
console.error('Fatal error:', error);
|
|
12
|
+
process.exit(1);
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,MAAM,IAAI,GAAG,KAAK,IAAmB,EAAE;IACrC,MAAM,MAAM,GAAG,YAAY,EAAE,CAAC;IAC9B,MAAM,SAAS,GAAG,IAAI,oBAAoB,EAAE,CAAC;IAC7C,MAAM,MAAM,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC;IAChC,OAAO,CAAC,KAAK,CAAC,8CAA8C,CAAC,CAAC;AAChE,CAAC,CAAC;AAEF,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IACrB,OAAO,CAAC,KAAK,CAAC,cAAc,EAAE,KAAK,CAAC,CAAC;IACrC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { getPromptMessages, listPrompts } from '@weaaare/mcp-auditor-core';
|
|
2
|
+
export declare const listNvdaPrompts: () => ReturnType<typeof listPrompts>;
|
|
3
|
+
export declare const getNvdaPromptMessages: (name: string, args: Record<string, string | undefined>) => ReturnType<typeof getPromptMessages>;
|
|
4
|
+
//# sourceMappingURL=audit-prompts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"audit-prompts.d.ts","sourceRoot":"","sources":["../../src/prompts/audit-prompts.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAub3E,eAAO,MAAM,eAAe,QAAO,UAAU,CAAC,OAAO,WAAW,CAC/B,CAAC;AAElC,eAAO,MAAM,qBAAqB,GAChC,MAAM,MAAM,EACZ,MAAM,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,KACvC,UAAU,CAAC,OAAO,iBAAiB,CAAsD,CAAC"}
|