Skip to content

Commit 5c86896

Browse files
committed
feat: add release changes for AODA WCAG 2.2 accessibility agents, including agent definitions, instructions, and prompts
1 parent 4760b92 commit 5c86896

2 files changed

Lines changed: 77 additions & 19 deletions

File tree

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<!-- markdownlint-disable-file -->
2+
# Release Changes: Custom Copilot Agents for AODA WCAG 2.2 Accessibility
3+
4+
**Related Plan**: copilot-a11y-agents-plan.instructions.md
5+
**Implementation Date**: 2026-03-08
6+
7+
## Summary
8+
9+
Create two declarative GitHub Copilot agents (A11y Detector and A11y Resolver) with supporting WCAG 2.2 instructions and prompt files for AODA compliance.
10+
11+
## Changes
12+
13+
### Added
14+
15+
* `.github/agents/a11y-detector.agent.md` — A11y Detector agent definition with static analysis and runtime scanning protocol (8,484 chars)
16+
* `.github/agents/a11y-resolver.agent.md` — A11y Resolver agent definition with 18-row remediation table and verify-fix workflow (7,820 chars)
17+
* `.github/instructions/wcag22-rules.instructions.md` — WCAG 2.2 Level AA compliance rules auto-applied to TSX/JSX/TS/HTML/CSS files, organized by POUR principles
18+
* `.github/instructions/a11y-remediation.instructions.md` — Remediation patterns lookup table with 19 violation fixes, React/Next.js code examples, and anti-patterns
19+
* `.github/prompts/a11y-scan.prompt.md` — Quick scan prompt delegating to A11y Detector agent with URL and scope inputs
20+
* `.github/prompts/a11y-fix.prompt.md` — Quick fix prompt delegating to A11y Resolver agent with file and violations inputs
21+
22+
### Modified
23+
24+
### Removed
25+
26+
## Additional or Deviating Changes
27+
28+
* No deviations from plan. All phases executed as specified.
29+
30+
## Release Summary
31+
32+
**Total files affected:** 6 files created, 0 modified, 0 removed
33+
34+
**Files created:**
35+
36+
* `.github/agents/a11y-detector.agent.md` — A11y Detector agent definition (8,484 chars) with 5-step protocol for static analysis and runtime scanning
37+
* `.github/agents/a11y-resolver.agent.md` — A11y Resolver agent definition (7,820 chars) with 6-step protocol for remediation and verification
38+
* `.github/instructions/wcag22-rules.instructions.md` — WCAG 2.2 Level AA rules organized by POUR principles, auto-applied to TSX/JSX/TS/HTML/CSS
39+
* `.github/instructions/a11y-remediation.instructions.md` — 19-row remediation lookup table with React/Next.js code examples and anti-patterns
40+
* `.github/prompts/a11y-scan.prompt.md` — Quick scan prompt delegating to A11y Detector with URL and scope inputs
41+
* `.github/prompts/a11y-fix.prompt.md` — Quick fix prompt delegating to A11y Resolver with file and violations inputs
42+
43+
**ADO Work Items:**
44+
45+
* Epic AB#2012: AODA WCAG 2.2 Copilot Integration
46+
* Feature AB#2013: Custom Copilot Agents for Accessibility (child of AB#2012)
47+
* User Story AB#2014: A11y Detector agent (child of AB#2013)
48+
* User Story AB#2015: A11y Resolver agent (child of AB#2013)
49+
* User Story AB#2016: WCAG 2.2 compliance instructions (child of AB#2013)
50+
* User Story AB#2017: Quick-action prompt files (child of AB#2013)
51+
52+
**Git:**
53+
54+
* Branch: `feature/2014-copilot-a11y-agents` from `main`
55+
* Commit: `feat(agents): add AODA WCAG 2.2 accessibility detector and resolver agents AB#2014`
56+
* PR: #9 targeting `main` with `Fixes AB#2014 AB#2015 AB#2016 AB#2017`
57+
58+
**Validation:** ESLint 0 errors, 7/7 tests passing, all frontmatter validated

.copilot-tracking/plans/2026-03-08/copilot-a11y-agents-plan.instructions.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -56,64 +56,64 @@ Create two declarative GitHub Copilot agents — A11y Detector and A11y Resolver
5656

5757
## Implementation Checklist
5858

59-
### [ ] Implementation Phase 1: Create Agent Definition Files
59+
### [x] Implementation Phase 1: Create Agent Definition Files
6060

6161
<!-- parallelizable: true -->
6262

63-
* [ ] Step 1.1: Create `.github/agents/` directory and `a11y-detector.agent.md`
63+
* [x] Step 1.1: Create `.github/agents/` directory and `a11y-detector.agent.md`
6464
* Details: [copilot-a11y-agents-details.md](.copilot-tracking/details/2026-03-08/copilot-a11y-agents-details.md) (Lines 12-75)
65-
* [ ] Step 1.2: Create `.github/agents/a11y-resolver.agent.md`
65+
* [x] Step 1.2: Create `.github/agents/a11y-resolver.agent.md`
6666
* Details: [copilot-a11y-agents-details.md](.copilot-tracking/details/2026-03-08/copilot-a11y-agents-details.md) (Lines 77-141)
6767

68-
### [ ] Implementation Phase 2: Create Supporting Instructions Files
68+
### [x] Implementation Phase 2: Create Supporting Instructions Files
6969

7070
<!-- parallelizable: true -->
7171

72-
* [ ] Step 2.1: Create `.github/instructions/wcag22-rules.instructions.md`
72+
* [x] Step 2.1: Create `.github/instructions/wcag22-rules.instructions.md`
7373
* Details: [copilot-a11y-agents-details.md](.copilot-tracking/details/2026-03-08/copilot-a11y-agents-details.md) (Lines 145-188)
74-
* [ ] Step 2.2: Create `.github/instructions/a11y-remediation.instructions.md`
74+
* [x] Step 2.2: Create `.github/instructions/a11y-remediation.instructions.md`
7575
* Details: [copilot-a11y-agents-details.md](.copilot-tracking/details/2026-03-08/copilot-a11y-agents-details.md) (Lines 190-250)
7676

77-
### [ ] Implementation Phase 3: Create Prompt Files
77+
### [x] Implementation Phase 3: Create Prompt Files
7878

7979
<!-- parallelizable: true -->
8080

81-
* [ ] Step 3.1: Create `.github/prompts/a11y-scan.prompt.md`
81+
* [x] Step 3.1: Create `.github/prompts/a11y-scan.prompt.md`
8282
* Details: [copilot-a11y-agents-details.md](.copilot-tracking/details/2026-03-08/copilot-a11y-agents-details.md) (Lines 252-285)
83-
* [ ] Step 3.2: Create `.github/prompts/a11y-fix.prompt.md`
83+
* [x] Step 3.2: Create `.github/prompts/a11y-fix.prompt.md`
8484
* Details: [copilot-a11y-agents-details.md](.copilot-tracking/details/2026-03-08/copilot-a11y-agents-details.md) (Lines 287-322)
8585

86-
### [ ] Implementation Phase 4: ADO Work Items and Branching
86+
### [x] Implementation Phase 4: ADO Work Items and Branching
8787

8888
<!-- parallelizable: false -->
8989

90-
* [ ] Step 4.1: Create ADO Epic, Feature, and User Stories for the agent work
90+
* [x] Step 4.1: Create ADO Epic, Feature, and User Stories for the agent work
9191
* Details: [copilot-a11y-agents-details.md](.copilot-tracking/details/2026-03-08/copilot-a11y-agents-details.md) (Lines 326-353)
92-
* [ ] Step 4.2: Create feature branch and commit with AB# linking
92+
* [x] Step 4.2: Create feature branch and commit with AB# linking
9393
* Details: [copilot-a11y-agents-details.md](.copilot-tracking/details/2026-03-08/copilot-a11y-agents-details.md) (Lines 355-377)
9494

95-
### [ ] Implementation Phase 5: Validation
95+
### [x] Implementation Phase 5: Validation
9696

9797
<!-- parallelizable: false -->
9898

99-
* [ ] Step 5.1: Validate agent file structure and frontmatter
99+
* [x] Step 5.1: Validate agent file structure and frontmatter
100100
* Verify YAML frontmatter parses correctly in both agent files
101101
* Confirm `description` under 120 characters
102102
* Confirm agent body under 30,000 characters (GitHub.com limit)
103103
* Verify no `maturity` field in agent frontmatter (per prompt-builder rules)
104-
* [ ] Step 5.2: Validate instructions file structure
104+
* [x] Step 5.2: Validate instructions file structure
105105
* Verify `applyTo` glob patterns match intended file types
106106
* Confirm instructions files have YAML frontmatter with `description` and `applyTo`
107-
* [ ] Step 5.3: Validate prompt file structure
107+
* [x] Step 5.3: Validate prompt file structure
108108
* Verify prompt files have `description`, `agent`, and `argument-hint` fields
109-
* [ ] Step 5.4: Run project linting and tests
109+
* [x] Step 5.4: Run project linting and tests
110110
* Execute `npm run lint` for ESLint validation
111111
* Execute `npm run test` for unit test verification
112112
* Verify no regressions from new files
113-
* [ ] Step 5.5: Fix minor validation issues
113+
* [x] Step 5.5: Fix minor validation issues
114114
* Iterate on lint errors and formatting issues
115115
* Apply fixes directly when corrections are straightforward
116-
* [ ] Step 5.6: Report blocking issues
116+
* [x] Step 5.6: Report blocking issues
117117
* Document issues requiring additional research
118118
* Provide user with next steps rather than large-scale inline fixes
119119

0 commit comments

Comments
 (0)