-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.html
More file actions
412 lines (327 loc) · 13 KB
/
README.html
File metadata and controls
412 lines (327 loc) · 13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="dark">
<title>Recognize Exclusion — Windows 11 Agent</title>
<style>
:root {
--fg: #e6edf3;
--fg-muted: #c9d1d9;
--canvas: #0d1117;
--canvas-subtle: #161b22;
--border: #30363d;
--accent: #79c0ff;
--accent-hover: #a5d6ff;
--btn-bg: #21262d;
--btn-hover: #30363d;
--radius: 6px;
--font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after {
transition: none !important;
animation: none !important;
}
}
html {
scrollbar-gutter: stable;
}
*, *::before, *::after { box-sizing: border-box; }
body {
margin: 0;
padding: 48px 16px 96px;
color: var(--fg);
font-family: var(--font);
font-size: 1rem;
line-height: 1.6;
background-color: var(--canvas);
}
:focus-visible {
outline: 3px solid var(--accent);
outline-offset: 2px;
border-radius: 3px;
}
main {
max-width: 1012px;
margin: 0 auto;
padding: 0 2em 2em;
background: var(--canvas);
border-radius: var(--radius);
}
h1, h2, h3 {
margin-top: 1.5em;
margin-bottom: 0.5em;
font-weight: 600;
line-height: 1.25;
color: var(--fg);
}
h1 {
font-size: 2rem;
border-bottom: 1px solid var(--border);
padding-bottom: 0.4em;
margin-top: 0;
}
h2 {
font-size: 1.5rem;
border-bottom: 1px solid var(--border);
padding-bottom: 0.3em;
}
h3 { font-size: 1.125rem; margin: 0.75em 0 0; }
p { margin: 0.75em 0; }
ul, ol { padding-left: 1.5em; margin: 0.5em 0; }
li { margin: 0.35em 0; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-hover); }
.lead {
font-size: 1.05rem;
line-height: 1.7;
}
code {
padding: 0.2em 0.4em;
font-size: 85%;
background: var(--canvas-subtle);
border-radius: var(--radius);
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
pre {
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
background: var(--canvas-subtle);
border: 1px solid var(--border);
border-radius: var(--radius);
}
pre code {
padding: 0;
background: none;
font-size: inherit;
}
/* Workflow steps */
.steps {
list-style: none;
padding-left: 0;
counter-reset: step;
}
.steps li {
counter-increment: step;
margin: 0.75em 0;
padding-left: 2.5em;
position: relative;
}
.steps li::before {
content: counter(step);
position: absolute;
left: 0;
width: 1.75em;
height: 1.75em;
background: var(--btn-bg);
border: 1px solid var(--border);
border-radius: 50%;
text-align: center;
line-height: 1.75em;
font-size: 0.85rem;
font-weight: 600;
color: var(--accent);
}
/* Format card */
.format-card {
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.25em;
background: var(--canvas-subtle);
margin: 1em 0;
}
.format-card p {
margin: 0.25em 0;
}
/* Tip boxes */
.tip {
border-left: 3px solid var(--accent);
padding: 0.75em 1em;
margin: 1em 0;
background: var(--canvas-subtle);
border-radius: 0 var(--radius) var(--radius) 0;
color: var(--fg-muted);
}
.tip strong {
color: var(--accent);
}
/* Tree structure */
.tree {
padding: 16px;
background: var(--canvas-subtle);
border: 1px solid var(--border);
border-radius: var(--radius);
font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
font-size: 85%;
line-height: 1.6;
white-space: pre;
}
/* Troubleshooting table */
table {
width: 100%;
border-collapse: collapse;
margin: 1em 0;
}
th, td {
text-align: left;
padding: 0.6em 1em;
border: 1px solid var(--border);
}
th {
background: var(--canvas-subtle);
font-weight: 600;
}
footer {
max-width: 1012px;
margin: 2em auto 0;
padding-top: 1em;
border-top: 1px solid var(--border);
color: var(--fg-muted);
font-size: 0.875rem;
text-align: center;
}
</style>
</head>
<body>
<main id="main-content">
<h1>Recognize Exclusion — Windows 11 Agent</h1>
<p class="lead">An AI-powered tool that helps you find accessibility gaps in Windows 11 features. You describe a feature, and it identifies 28+ ways that feature might exclude people with disabilities.</p>
<h2>What Is This?</h2>
<p>This is a <strong>custom agent</strong> for <a href="https://docs.github.com/copilot/concepts/agents/about-copilot-cli">GitHub Copilot CLI</a> — a terminal-based AI assistant made by GitHub. When you run this agent, it becomes a specialist in inclusive design, helping you think through how a Windows 11 feature might unintentionally exclude people who use assistive technologies, have limited motor control, are blind or deaf, or experience cognitive differences.</p>
<h3>What it does in practice</h3>
<p>You have a conversation with the agent. It works in 3 steps:</p>
<ol class="steps">
<li><strong>You describe a feature</strong> — for example, "the Windows 11 Snap Layouts feature"</li>
<li><strong>It asks clarifying questions</strong> — up to 3 questions to understand the feature better</li>
<li><strong>It produces a structured report</strong> — at least 28 specific exclusions, each explaining who is excluded, what they're trying to do, and why the feature fails them</li>
</ol>
<p>Each exclusion looks like this:</p>
<div class="format-card">
<p><strong>Pattern:</strong> Hover-triggered layout grid</p>
<p><strong>User action:</strong> Trying to choose a window layout</p>
<p><strong>Exclusion type:</strong> Operable</p>
<p><strong>Explanation:</strong> Someone using eye-gaze input cannot reliably hover over a small target long enough to trigger the layout options, because the hover zone is too small and the dwell time too short.</p>
</div>
<h2>What You Need Before Starting</h2>
<p>Before you can use this agent, you need three things:</p>
<h3>1. A GitHub account with Copilot access</h3>
<p>You need a <a href="https://github.com/features/copilot/plans">GitHub Copilot subscription</a>. If your organization provides Copilot, ask your admin to confirm that <strong>CLI access</strong> is turned on for your account.</p>
<h3>2. GitHub Copilot CLI installed on your computer</h3>
<p>This is a program you install once. Here's how:</p>
<p><strong>On Windows</strong> — Open PowerShell or Terminal and run:</p>
<pre><code>winget install GitHub.Copilot</code></pre>
<p><strong>On macOS or Linux</strong> — Open Terminal and run:</p>
<pre><code>brew install copilot-cli</code></pre>
<p><strong>If neither works</strong> — You can also install it with npm (requires Node.js):</p>
<pre><code>npm install -g @github/copilot</code></pre>
<div class="tip">
<strong>💡 Not sure if it worked?</strong> After installing, type <code>copilot --version</code> in your terminal. If you see a version number, you're good.
</div>
<h3>3. Git installed on your computer</h3>
<p>You need Git to download this agent. Most computers have it already. To check, type <code>git --version</code> in your terminal. If you see a version number, you have it. If not:</p>
<ul>
<li><strong>Windows:</strong> Download from <a href="https://git-scm.com/download/win">git-scm.com</a> or run <code>winget install Git.Git</code></li>
<li><strong>macOS:</strong> It's included with Xcode Command Line Tools. Run <code>xcode-select --install</code></li>
<li><strong>Linux:</strong> Run <code>sudo apt install git</code> (Ubuntu/Debian) or <code>sudo dnf install git</code> (Fedora)</li>
</ul>
<h2>How to Set Up the Agent (One-Time Steps)</h2>
<p>You only need to do these steps once.</p>
<h3>Step 1: Download the agent to your computer</h3>
<p>Open a terminal and run these two commands:</p>
<pre><code>git clone https://github.com/InclusiveTechLab/recognize-exclusion-windows-agent.git
cd recognize-exclusion-windows-agent</code></pre>
<p>The first command downloads the agent files. The second command moves you into the agent's folder.</p>
<div class="tip">
<strong>💡 Where does it go?</strong> It creates a folder called <code>recognize-exclusion-windows-agent</code> wherever your terminal is currently pointing (usually your home directory or Documents).
</div>
<h3>Step 2: Log in to GitHub (first time only)</h3>
<p>Launch the CLI and log in:</p>
<pre><code>copilot</code></pre>
<p>If this is your first time, it will ask you to run <code>/login</code>. Type that command and follow the on-screen instructions — it will open a browser window where you authenticate with your GitHub account.</p>
<h2>How to Use the Agent (Every Time)</h2>
<h3>Step 1: Open a terminal in the agent folder</h3>
<p>Navigate to where you downloaded the agent:</p>
<pre><code>cd recognize-exclusion-windows-agent</code></pre>
<div class="tip">
<strong>💡 Why do I need to be in this folder?</strong> The agent's instructions and knowledge base are stored here. Copilot CLI reads them automatically when you're in this folder.
</div>
<h3>Step 2: Start the CLI</h3>
<pre><code>copilot</code></pre>
<h3>Step 3: Select the agent</h3>
<p>Type this command inside the CLI:</p>
<pre><code>/agent</code></pre>
<p>Use your arrow keys to highlight <strong>recognize-exclusion</strong> and press Enter.</p>
<div class="tip">
<strong>💡 Shortcut:</strong> You can skip steps 2-3 by running <code>copilot --agent=recognize-exclusion</code> directly from your terminal.
</div>
<h3>Step 4: Select the best model (recommended)</h3>
<p>Type this command inside the CLI:</p>
<pre><code>/model</code></pre>
<p>Use your arrow keys to select <strong>claude-opus-4.6</strong> and press Enter. This model produces the best results for this agent. If it's not available, any Claude model will work.</p>
<h3>Step 5: Start your analysis</h3>
<p>Type a message describing the Windows 11 feature you want to analyze:</p>
<pre><code>I want to analyze the Windows 11 Start Menu</code></pre>
<p>The agent will guide you through the rest — asking questions, then producing the exclusion report.</p>
<h2>Tips</h2>
<ul>
<li><strong>Say "start over"</strong> at any time to analyze a different feature</li>
<li><strong>You must be in the agent's folder</strong> for it to work — if you get generic Copilot responses instead of inclusive design analysis, you're probably in the wrong directory</li>
<li><strong>Use <code>/help</code></strong> inside the CLI to see all available commands</li>
<li><strong>Copy the output</strong> — the exclusion report is designed to be pasted into documents, tickets, or design reviews</li>
</ul>
<h2>How the Agent Is Structured</h2>
<p>You don't need to understand this to use the agent, but if you're curious:</p>
<div class="tree" role="img" aria-label="Repository file structure">recognize-exclusion-windows-agent/
├── CLAUDE.md <span style="color: var(--fg-muted)">← The agent's core instructions</span>
├── README.md <span style="color: var(--fg-muted)">← This file (as plain text)</span>
├── .github/
│ ├── copilot-instructions.md <span style="color: var(--fg-muted)">← Tells the CLI which model to use</span>
│ └── agents/
│ └── recognize-exclusion.agent.md <span style="color: var(--fg-muted)">← Agent profile (shows up in /agent)</span>
└── reference/
├── windows-exclusions.md <span style="color: var(--fg-muted)">← 144 exclusion patterns by Windows feature</span>
└── icf-exclusions-windows.md <span style="color: var(--fg-muted)">← 153 exclusion patterns by disability category</span></div>
<p>The <code>reference/</code> files are the agent's knowledge base — curated exclusion patterns from the Inclusive Tech Lab that it draws on when generating your report.</p>
<h2>Troubleshooting</h2>
<table>
<thead>
<tr>
<th>Problem</th>
<th>Solution</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>copilot</code> command not found</td>
<td>Reinstall Copilot CLI (see installation steps above)</td>
</tr>
<tr>
<td>Agent gives generic responses, not exclusion analysis</td>
<td>Make sure you're in the <code>recognize-exclusion-windows-agent</code> folder</td>
</tr>
<tr>
<td><code>/agent</code> doesn't show "recognize-exclusion"</td>
<td>Make sure you're in the agent folder, not a parent directory</td>
</tr>
<tr>
<td>"Not logged in" error</td>
<td>Run <code>/login</code> inside the CLI and follow the prompts</td>
</tr>
<tr>
<td>Model not available</td>
<td>Use <code>/model</code> and pick any available Claude model</td>
</tr>
</tbody>
</table>
<h2>Background</h2>
<p>This agent is part of the <a href="https://www.microsoft.com/inclusive-tech-lab">Inclusive Tech Lab</a>'s inclusive design toolkit. It puts the "Recognize Exclusion" principle from <a href="https://inclusive.microsoft.design/">Microsoft Inclusive Design</a> into practice for Windows product teams.</p>
</main>
<footer>
<p>Inclusive Tech Lab · Microsoft Inclusive Design</p>
</footer>
</body>
</html>