agentic-qe 1.2.0 → 1.3.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.
Files changed (338) hide show
  1. package/.claude/settings.json +44 -6
  2. package/.claude/skills/accessibility-testing/SKILL.md +777 -0
  3. package/.claude/skills/chaos-engineering-resilience/SKILL.md +109 -0
  4. package/.claude/skills/compatibility-testing/SKILL.md +101 -0
  5. package/.claude/skills/compliance-testing/SKILL.md +162 -0
  6. package/.claude/skills/contract-testing/SKILL.md +193 -0
  7. package/.claude/skills/database-testing/SKILL.md +243 -0
  8. package/.claude/skills/localization-testing/SKILL.md +115 -0
  9. package/.claude/skills/mobile-testing/SKILL.md +548 -0
  10. package/.claude/skills/mutation-testing/SKILL.md +129 -0
  11. package/.claude/skills/regression-testing/SKILL.md +1045 -0
  12. package/.claude/skills/shift-left-testing/SKILL.md +535 -0
  13. package/.claude/skills/shift-right-testing/SKILL.md +591 -0
  14. package/.claude/skills/test-data-management/SKILL.md +1067 -0
  15. package/.claude/skills/test-design-techniques/SKILL.md +160 -0
  16. package/.claude/skills/test-environment-management/SKILL.md +204 -0
  17. package/.claude/skills/test-reporting-analytics/SKILL.md +143 -0
  18. package/.claude/skills/visual-testing-advanced/SKILL.md +148 -0
  19. package/CHANGELOG.md +88 -6
  20. package/README.md +15 -8
  21. package/dist/agents/BaseAgent.d.ts.map +1 -1
  22. package/dist/agents/BaseAgent.js +5 -4
  23. package/dist/agents/BaseAgent.js.map +1 -1
  24. package/dist/agents/CoverageAnalyzerAgent.d.ts.map +1 -1
  25. package/dist/agents/CoverageAnalyzerAgent.js +9 -8
  26. package/dist/agents/CoverageAnalyzerAgent.js.map +1 -1
  27. package/dist/agents/FlakyTestHunterAgent.d.ts.map +1 -1
  28. package/dist/agents/FlakyTestHunterAgent.js +3 -2
  29. package/dist/agents/FlakyTestHunterAgent.js.map +1 -1
  30. package/dist/agents/FleetCommanderAgent.d.ts.map +1 -1
  31. package/dist/agents/FleetCommanderAgent.js +2 -1
  32. package/dist/agents/FleetCommanderAgent.js.map +1 -1
  33. package/dist/agents/PerformanceTesterAgent.d.ts.map +1 -1
  34. package/dist/agents/PerformanceTesterAgent.js +7 -6
  35. package/dist/agents/PerformanceTesterAgent.js.map +1 -1
  36. package/dist/agents/ProductionIntelligenceAgent.d.ts.map +1 -1
  37. package/dist/agents/ProductionIntelligenceAgent.js +7 -6
  38. package/dist/agents/ProductionIntelligenceAgent.js.map +1 -1
  39. package/dist/agents/QualityAnalyzerAgent.d.ts.map +1 -1
  40. package/dist/agents/QualityAnalyzerAgent.js +37 -36
  41. package/dist/agents/QualityAnalyzerAgent.js.map +1 -1
  42. package/dist/agents/QualityGateAgent.d.ts.map +1 -1
  43. package/dist/agents/QualityGateAgent.js +2 -1
  44. package/dist/agents/QualityGateAgent.js.map +1 -1
  45. package/dist/agents/RegressionRiskAnalyzerAgent.d.ts.map +1 -1
  46. package/dist/agents/RegressionRiskAnalyzerAgent.js +15 -14
  47. package/dist/agents/RegressionRiskAnalyzerAgent.js.map +1 -1
  48. package/dist/agents/SecurityScannerAgent.d.ts.map +1 -1
  49. package/dist/agents/SecurityScannerAgent.js +2 -1
  50. package/dist/agents/SecurityScannerAgent.js.map +1 -1
  51. package/dist/agents/TestDataArchitectAgent.d.ts.map +1 -1
  52. package/dist/agents/TestDataArchitectAgent.js +12 -11
  53. package/dist/agents/TestDataArchitectAgent.js.map +1 -1
  54. package/dist/agents/TestExecutorAgent.d.ts.map +1 -1
  55. package/dist/agents/TestExecutorAgent.js +17 -16
  56. package/dist/agents/TestExecutorAgent.js.map +1 -1
  57. package/dist/agents/TestGeneratorAgent.d.ts.map +1 -1
  58. package/dist/agents/TestGeneratorAgent.js +10 -9
  59. package/dist/agents/TestGeneratorAgent.js.map +1 -1
  60. package/dist/agents/index.d.ts.map +1 -1
  61. package/dist/agents/index.js +2 -1
  62. package/dist/agents/index.js.map +1 -1
  63. package/dist/cli/commands/agent/benchmark.d.ts.map +1 -1
  64. package/dist/cli/commands/agent/benchmark.js +2 -1
  65. package/dist/cli/commands/agent/benchmark.js.map +1 -1
  66. package/dist/cli/commands/agent/spawn.d.ts.map +1 -1
  67. package/dist/cli/commands/agent/spawn.js +2 -1
  68. package/dist/cli/commands/agent/spawn.js.map +1 -1
  69. package/dist/cli/commands/analyze.d.ts.map +1 -1
  70. package/dist/cli/commands/analyze.js +2 -1
  71. package/dist/cli/commands/analyze.js.map +1 -1
  72. package/dist/cli/commands/config/list.d.ts.map +1 -1
  73. package/dist/cli/commands/config/list.js +2 -1
  74. package/dist/cli/commands/config/list.js.map +1 -1
  75. package/dist/cli/commands/config/set.d.ts +7 -0
  76. package/dist/cli/commands/config/set.d.ts.map +1 -1
  77. package/dist/cli/commands/config/set.js +35 -4
  78. package/dist/cli/commands/config/set.js.map +1 -1
  79. package/dist/cli/commands/fleet/logs.d.ts.map +1 -1
  80. package/dist/cli/commands/fleet/logs.js +2 -1
  81. package/dist/cli/commands/fleet/logs.js.map +1 -1
  82. package/dist/cli/commands/fleet/metrics.d.ts.map +1 -1
  83. package/dist/cli/commands/fleet/metrics.js +2 -1
  84. package/dist/cli/commands/fleet/metrics.js.map +1 -1
  85. package/dist/cli/commands/fleet/monitor.d.ts.map +1 -1
  86. package/dist/cli/commands/fleet/monitor.js +7 -5
  87. package/dist/cli/commands/fleet/monitor.js.map +1 -1
  88. package/dist/cli/commands/fleet.d.ts.map +1 -1
  89. package/dist/cli/commands/fleet.js +2 -1
  90. package/dist/cli/commands/fleet.js.map +1 -1
  91. package/dist/cli/commands/generate.d.ts.map +1 -1
  92. package/dist/cli/commands/generate.js +2 -1
  93. package/dist/cli/commands/generate.js.map +1 -1
  94. package/dist/cli/commands/improve/index.d.ts.map +1 -1
  95. package/dist/cli/commands/improve/index.js +12 -11
  96. package/dist/cli/commands/improve/index.js.map +1 -1
  97. package/dist/cli/commands/init.d.ts +1 -1
  98. package/dist/cli/commands/init.d.ts.map +1 -1
  99. package/dist/cli/commands/init.js +40 -16
  100. package/dist/cli/commands/init.js.map +1 -1
  101. package/dist/cli/commands/learn/index.d.ts.map +1 -1
  102. package/dist/cli/commands/learn/index.js +13 -12
  103. package/dist/cli/commands/learn/index.js.map +1 -1
  104. package/dist/cli/commands/monitor/alerts.d.ts.map +1 -1
  105. package/dist/cli/commands/monitor/alerts.js +2 -1
  106. package/dist/cli/commands/monitor/alerts.js.map +1 -1
  107. package/dist/cli/commands/patterns/index.d.ts.map +1 -1
  108. package/dist/cli/commands/patterns/index.js +20 -19
  109. package/dist/cli/commands/patterns/index.js.map +1 -1
  110. package/dist/cli/commands/quality/decision.d.ts.map +1 -1
  111. package/dist/cli/commands/quality/decision.js +9 -7
  112. package/dist/cli/commands/quality/decision.js.map +1 -1
  113. package/dist/cli/commands/quality/gate.d.ts.map +1 -1
  114. package/dist/cli/commands/quality/gate.js +10 -8
  115. package/dist/cli/commands/quality/gate.js.map +1 -1
  116. package/dist/cli/commands/quality/policy.d.ts.map +1 -1
  117. package/dist/cli/commands/quality/policy.js +10 -8
  118. package/dist/cli/commands/quality/policy.js.map +1 -1
  119. package/dist/cli/commands/quality/risk.d.ts.map +1 -1
  120. package/dist/cli/commands/quality/risk.js +5 -3
  121. package/dist/cli/commands/quality/risk.js.map +1 -1
  122. package/dist/cli/commands/quality/validate.d.ts.map +1 -1
  123. package/dist/cli/commands/quality/validate.js +10 -8
  124. package/dist/cli/commands/quality/validate.js.map +1 -1
  125. package/dist/cli/commands/quantization.d.ts +6 -0
  126. package/dist/cli/commands/quantization.d.ts.map +1 -0
  127. package/dist/cli/commands/quantization.js +188 -0
  128. package/dist/cli/commands/quantization.js.map +1 -0
  129. package/dist/cli/commands/routing/index.d.ts +0 -6
  130. package/dist/cli/commands/routing/index.d.ts.map +1 -1
  131. package/dist/cli/commands/routing/index.js +17 -16
  132. package/dist/cli/commands/routing/index.js.map +1 -1
  133. package/dist/cli/commands/run.d.ts.map +1 -1
  134. package/dist/cli/commands/run.js +2 -1
  135. package/dist/cli/commands/run.js.map +1 -1
  136. package/dist/cli/commands/skills/index.d.ts.map +1 -1
  137. package/dist/cli/commands/skills/index.js +10 -9
  138. package/dist/cli/commands/skills/index.js.map +1 -1
  139. package/dist/cli/commands/test/debug.d.ts.map +1 -1
  140. package/dist/cli/commands/test/debug.js +2 -1
  141. package/dist/cli/commands/test/debug.js.map +1 -1
  142. package/dist/cli/commands/test/mutate.d.ts.map +1 -1
  143. package/dist/cli/commands/test/mutate.js +2 -1
  144. package/dist/cli/commands/test/mutate.js.map +1 -1
  145. package/dist/cli/commands/test/parallel.d.ts.map +1 -1
  146. package/dist/cli/commands/test/parallel.js +6 -4
  147. package/dist/cli/commands/test/parallel.js.map +1 -1
  148. package/dist/cli/commands/test/profile.d.ts.map +1 -1
  149. package/dist/cli/commands/test/profile.js +3 -2
  150. package/dist/cli/commands/test/profile.js.map +1 -1
  151. package/dist/cli/commands/test/queue.d.ts.map +1 -1
  152. package/dist/cli/commands/test/queue.js +2 -1
  153. package/dist/cli/commands/test/queue.js.map +1 -1
  154. package/dist/cli/commands/test/retry.d.ts.map +1 -1
  155. package/dist/cli/commands/test/retry.js +6 -4
  156. package/dist/cli/commands/test/retry.js.map +1 -1
  157. package/dist/cli/commands/test/trace.d.ts.map +1 -1
  158. package/dist/cli/commands/test/trace.js +2 -1
  159. package/dist/cli/commands/test/trace.js.map +1 -1
  160. package/dist/cli/commands/test/watch.d.ts.map +1 -1
  161. package/dist/cli/commands/test/watch.js +3 -2
  162. package/dist/cli/commands/test/watch.js.map +1 -1
  163. package/dist/cli/commands/workflow/cancel.d.ts.map +1 -1
  164. package/dist/cli/commands/workflow/cancel.js +2 -1
  165. package/dist/cli/commands/workflow/cancel.js.map +1 -1
  166. package/dist/cli/index-working.js +9 -8
  167. package/dist/cli/index-working.js.map +1 -1
  168. package/dist/cli/index.js +5 -0
  169. package/dist/cli/index.js.map +1 -1
  170. package/dist/core/coordination/OODACoordination.d.ts.map +1 -1
  171. package/dist/core/coordination/OODACoordination.js +2 -1
  172. package/dist/core/coordination/OODACoordination.js.map +1 -1
  173. package/dist/core/memory/AgentDBManager.d.ts.map +1 -1
  174. package/dist/core/memory/AgentDBManager.js +2 -19
  175. package/dist/core/memory/AgentDBManager.js.map +1 -1
  176. package/dist/core/memory/RealAgentDBAdapter.d.ts.map +1 -1
  177. package/dist/core/memory/RealAgentDBAdapter.js +4 -3
  178. package/dist/core/memory/RealAgentDBAdapter.js.map +1 -1
  179. package/dist/core/memory/ReasoningBankAdapter.d.ts.map +1 -1
  180. package/dist/core/memory/ReasoningBankAdapter.js +2 -5
  181. package/dist/core/memory/ReasoningBankAdapter.js.map +1 -1
  182. package/dist/core/memory/SwarmMemoryManager.d.ts.map +1 -1
  183. package/dist/core/memory/SwarmMemoryManager.js +4 -3
  184. package/dist/core/memory/SwarmMemoryManager.js.map +1 -1
  185. package/dist/core/neural/NeuralTrainer.d.ts.map +1 -1
  186. package/dist/core/neural/NeuralTrainer.js +3 -2
  187. package/dist/core/neural/NeuralTrainer.js.map +1 -1
  188. package/dist/core/quantization/QuantizationManager.d.ts +83 -0
  189. package/dist/core/quantization/QuantizationManager.d.ts.map +1 -0
  190. package/dist/core/quantization/QuantizationManager.js +264 -0
  191. package/dist/core/quantization/QuantizationManager.js.map +1 -0
  192. package/dist/core/quantization/index.d.ts +5 -0
  193. package/dist/core/quantization/index.d.ts.map +1 -0
  194. package/dist/core/quantization/index.js +9 -0
  195. package/dist/core/quantization/index.js.map +1 -0
  196. package/dist/mcp/handlers/advanced/mutation-test-execute.d.ts +3 -3
  197. package/dist/mcp/handlers/advanced/mutation-test-execute.d.ts.map +1 -1
  198. package/dist/mcp/handlers/advanced/mutation-test-execute.js +5 -4
  199. package/dist/mcp/handlers/advanced/mutation-test-execute.js.map +1 -1
  200. package/dist/mcp/handlers/agent-spawn.d.ts.map +1 -1
  201. package/dist/mcp/handlers/agent-spawn.js +2 -1
  202. package/dist/mcp/handlers/agent-spawn.js.map +1 -1
  203. package/dist/mcp/handlers/analysis/coverageAnalyzeSublinear.d.ts.map +1 -1
  204. package/dist/mcp/handlers/analysis/coverageAnalyzeSublinear.js +9 -8
  205. package/dist/mcp/handlers/analysis/coverageAnalyzeSublinear.js.map +1 -1
  206. package/dist/mcp/handlers/analysis/coverageGapsDetect.d.ts.map +1 -1
  207. package/dist/mcp/handlers/analysis/coverageGapsDetect.js +6 -5
  208. package/dist/mcp/handlers/analysis/coverageGapsDetect.js.map +1 -1
  209. package/dist/mcp/handlers/analysis/performance-monitor-realtime-handler.d.ts.map +1 -1
  210. package/dist/mcp/handlers/analysis/performance-monitor-realtime-handler.js +5 -4
  211. package/dist/mcp/handlers/analysis/performance-monitor-realtime-handler.js.map +1 -1
  212. package/dist/mcp/handlers/analysis/performanceBenchmarkRun.d.ts.map +1 -1
  213. package/dist/mcp/handlers/analysis/performanceBenchmarkRun.js +8 -7
  214. package/dist/mcp/handlers/analysis/performanceBenchmarkRun.js.map +1 -1
  215. package/dist/mcp/handlers/analysis/performanceMonitorRealtime.d.ts.map +1 -1
  216. package/dist/mcp/handlers/analysis/performanceMonitorRealtime.js +7 -6
  217. package/dist/mcp/handlers/analysis/performanceMonitorRealtime.js.map +1 -1
  218. package/dist/mcp/handlers/analysis/securityScanComprehensive.d.ts.map +1 -1
  219. package/dist/mcp/handlers/analysis/securityScanComprehensive.js +18 -21
  220. package/dist/mcp/handlers/analysis/securityScanComprehensive.js.map +1 -1
  221. package/dist/mcp/handlers/base-handler.d.ts.map +1 -1
  222. package/dist/mcp/handlers/base-handler.js +2 -9
  223. package/dist/mcp/handlers/base-handler.js.map +1 -1
  224. package/dist/mcp/handlers/chaos/chaos-inject-failure.d.ts.map +1 -1
  225. package/dist/mcp/handlers/chaos/chaos-inject-failure.js +4 -3
  226. package/dist/mcp/handlers/chaos/chaos-inject-failure.js.map +1 -1
  227. package/dist/mcp/handlers/chaos/chaos-inject-latency.d.ts.map +1 -1
  228. package/dist/mcp/handlers/chaos/chaos-inject-latency.js +6 -5
  229. package/dist/mcp/handlers/chaos/chaos-inject-latency.js.map +1 -1
  230. package/dist/mcp/handlers/coordination/event-emit.d.ts.map +1 -1
  231. package/dist/mcp/handlers/coordination/event-emit.js +2 -1
  232. package/dist/mcp/handlers/coordination/event-emit.js.map +1 -1
  233. package/dist/mcp/handlers/coordination/event-subscribe.d.ts.map +1 -1
  234. package/dist/mcp/handlers/coordination/event-subscribe.js +2 -1
  235. package/dist/mcp/handlers/coordination/event-subscribe.js.map +1 -1
  236. package/dist/mcp/handlers/coordination/workflow-checkpoint.d.ts.map +1 -1
  237. package/dist/mcp/handlers/coordination/workflow-checkpoint.js +2 -1
  238. package/dist/mcp/handlers/coordination/workflow-checkpoint.js.map +1 -1
  239. package/dist/mcp/handlers/coordination/workflow-create.d.ts.map +1 -1
  240. package/dist/mcp/handlers/coordination/workflow-create.js +2 -1
  241. package/dist/mcp/handlers/coordination/workflow-create.js.map +1 -1
  242. package/dist/mcp/handlers/coordination/workflow-execute.d.ts.map +1 -1
  243. package/dist/mcp/handlers/coordination/workflow-execute.js +2 -1
  244. package/dist/mcp/handlers/coordination/workflow-execute.js.map +1 -1
  245. package/dist/mcp/handlers/coordination/workflow-resume.d.ts.map +1 -1
  246. package/dist/mcp/handlers/coordination/workflow-resume.js +2 -1
  247. package/dist/mcp/handlers/coordination/workflow-resume.js.map +1 -1
  248. package/dist/mcp/handlers/fleet-init.d.ts.map +1 -1
  249. package/dist/mcp/handlers/fleet-init.js +2 -1
  250. package/dist/mcp/handlers/fleet-init.js.map +1 -1
  251. package/dist/mcp/handlers/fleet-status.d.ts.map +1 -1
  252. package/dist/mcp/handlers/fleet-status.js +31 -30
  253. package/dist/mcp/handlers/fleet-status.js.map +1 -1
  254. package/dist/mcp/handlers/integration/dependency-check.d.ts.map +1 -1
  255. package/dist/mcp/handlers/integration/dependency-check.js +3 -2
  256. package/dist/mcp/handlers/integration/dependency-check.js.map +1 -1
  257. package/dist/mcp/handlers/integration/integration-test-orchestrate.d.ts.map +1 -1
  258. package/dist/mcp/handlers/integration/integration-test-orchestrate.js +2 -1
  259. package/dist/mcp/handlers/integration/integration-test-orchestrate.js.map +1 -1
  260. package/dist/mcp/handlers/optimize-tests.d.ts.map +1 -1
  261. package/dist/mcp/handlers/optimize-tests.js +33 -32
  262. package/dist/mcp/handlers/optimize-tests.js.map +1 -1
  263. package/dist/mcp/handlers/predict-defects.d.ts.map +1 -1
  264. package/dist/mcp/handlers/predict-defects.js +46 -45
  265. package/dist/mcp/handlers/predict-defects.js.map +1 -1
  266. package/dist/mcp/handlers/prediction/deployment-readiness-check.d.ts.map +1 -1
  267. package/dist/mcp/handlers/prediction/deployment-readiness-check.js +24 -23
  268. package/dist/mcp/handlers/prediction/deployment-readiness-check.js.map +1 -1
  269. package/dist/mcp/handlers/prediction/predict-defects-ai.d.ts.map +1 -1
  270. package/dist/mcp/handlers/prediction/predict-defects-ai.js +10 -9
  271. package/dist/mcp/handlers/prediction/predict-defects-ai.js.map +1 -1
  272. package/dist/mcp/handlers/prediction/regression-risk-analyze.d.ts.map +1 -1
  273. package/dist/mcp/handlers/prediction/regression-risk-analyze.js +10 -9
  274. package/dist/mcp/handlers/prediction/regression-risk-analyze.js.map +1 -1
  275. package/dist/mcp/handlers/prediction/visual-test-regression.d.ts.map +1 -1
  276. package/dist/mcp/handlers/prediction/visual-test-regression.js +7 -6
  277. package/dist/mcp/handlers/prediction/visual-test-regression.js.map +1 -1
  278. package/dist/mcp/handlers/quality-analyze.d.ts.map +1 -1
  279. package/dist/mcp/handlers/quality-analyze.js +53 -52
  280. package/dist/mcp/handlers/quality-analyze.js.map +1 -1
  281. package/dist/mcp/handlers/task-orchestrate.d.ts.map +1 -1
  282. package/dist/mcp/handlers/task-orchestrate.js +19 -18
  283. package/dist/mcp/handlers/task-orchestrate.js.map +1 -1
  284. package/dist/mcp/handlers/test/test-execute-parallel.d.ts.map +1 -1
  285. package/dist/mcp/handlers/test/test-execute-parallel.js +7 -6
  286. package/dist/mcp/handlers/test/test-execute-parallel.js.map +1 -1
  287. package/dist/mcp/handlers/test/test-generate-enhanced.d.ts.map +1 -1
  288. package/dist/mcp/handlers/test/test-generate-enhanced.js +2 -1
  289. package/dist/mcp/handlers/test/test-generate-enhanced.js.map +1 -1
  290. package/dist/mcp/handlers/test/test-optimize-sublinear.d.ts.map +1 -1
  291. package/dist/mcp/handlers/test/test-optimize-sublinear.js +3 -2
  292. package/dist/mcp/handlers/test/test-optimize-sublinear.js.map +1 -1
  293. package/dist/mcp/handlers/test-execute.d.ts.map +1 -1
  294. package/dist/mcp/handlers/test-execute.js +11 -10
  295. package/dist/mcp/handlers/test-execute.js.map +1 -1
  296. package/dist/mcp/handlers/test-generate.d.ts.map +1 -1
  297. package/dist/mcp/handlers/test-generate.js +4 -3
  298. package/dist/mcp/handlers/test-generate.js.map +1 -1
  299. package/dist/mcp/services/AgentRegistry.d.ts.map +1 -1
  300. package/dist/mcp/services/AgentRegistry.js +2 -1
  301. package/dist/mcp/services/AgentRegistry.js.map +1 -1
  302. package/dist/mcp/streaming/CoverageAnalyzeStreamHandler.d.ts.map +1 -1
  303. package/dist/mcp/streaming/CoverageAnalyzeStreamHandler.js +10 -9
  304. package/dist/mcp/streaming/CoverageAnalyzeStreamHandler.js.map +1 -1
  305. package/dist/mcp/streaming/StreamingMCPTool.d.ts.map +1 -1
  306. package/dist/mcp/streaming/StreamingMCPTool.js +2 -1
  307. package/dist/mcp/streaming/StreamingMCPTool.js.map +1 -1
  308. package/dist/mcp/streaming/TestExecuteStreamHandler.d.ts.map +1 -1
  309. package/dist/mcp/streaming/TestExecuteStreamHandler.js +6 -5
  310. package/dist/mcp/streaming/TestExecuteStreamHandler.js.map +1 -1
  311. package/dist/reasoning/TestTemplateCreator.d.ts +10 -2
  312. package/dist/reasoning/TestTemplateCreator.d.ts.map +1 -1
  313. package/dist/reasoning/TestTemplateCreator.js +81 -21
  314. package/dist/reasoning/TestTemplateCreator.js.map +1 -1
  315. package/dist/types/pattern.types.d.ts +39 -3
  316. package/dist/types/pattern.types.d.ts.map +1 -1
  317. package/dist/utils/Config.js +2 -2
  318. package/dist/utils/Config.js.map +1 -1
  319. package/dist/utils/ProcessExit.d.ts +23 -0
  320. package/dist/utils/ProcessExit.d.ts.map +1 -0
  321. package/dist/utils/ProcessExit.js +40 -0
  322. package/dist/utils/ProcessExit.js.map +1 -0
  323. package/dist/utils/SecureRandom.d.ts +171 -0
  324. package/dist/utils/SecureRandom.d.ts.map +1 -0
  325. package/dist/utils/SecureRandom.js +229 -0
  326. package/dist/utils/SecureRandom.js.map +1 -0
  327. package/dist/utils/SecureUrlValidator.d.ts +167 -0
  328. package/dist/utils/SecureUrlValidator.d.ts.map +1 -0
  329. package/dist/utils/SecureUrlValidator.js +306 -0
  330. package/dist/utils/SecureUrlValidator.js.map +1 -0
  331. package/dist/utils/SecureValidation.d.ts +131 -0
  332. package/dist/utils/SecureValidation.d.ts.map +1 -0
  333. package/dist/utils/SecureValidation.js +265 -0
  334. package/dist/utils/SecureValidation.js.map +1 -0
  335. package/dist/utils/validation.d.ts.map +1 -1
  336. package/dist/utils/validation.js +5 -4
  337. package/dist/utils/validation.js.map +1 -1
  338. package/package.json +3 -3
@@ -0,0 +1,777 @@
1
+ ---
2
+ name: accessibility-testing
3
+ description: WCAG 2.2 compliance testing, screen reader validation, and inclusive design verification. Use when ensuring legal compliance (ADA, Section 508), testing for disabilities, or building accessible applications for 1 billion disabled users globally.
4
+ version: 1.0.0
5
+ category: specialized-testing
6
+ tags:
7
+ - accessibility
8
+ - a11y
9
+ - wcag
10
+ - screen-readers
11
+ - aria
12
+ - inclusive-design
13
+ - ada-compliance
14
+ difficulty: intermediate
15
+ estimated_time: 75-90 minutes
16
+ author: agentic-qe
17
+ ---
18
+
19
+ # Accessibility Testing
20
+
21
+ ## Core Principle
22
+
23
+ **1 billion people have disabilities. Building inaccessible software excludes 15% of humanity.**
24
+
25
+ Accessibility testing ensures software works for everyone, including people with visual, motor, cognitive, and hearing disabilities. It's not just ethical - it's legally required and expands your market by $13 trillion.
26
+
27
+ ## What is Accessibility Testing?
28
+
29
+ **Accessibility (a11y):** Ensuring people with disabilities can perceive, understand, navigate, and interact with software using assistive technologies.
30
+
31
+ **Why Critical:**
32
+ - **Legal:** ADA, Section 508, EU Directive 2016/2102 require accessibility
33
+ - **Market:** $13T purchasing power of disabled community
34
+ - **Litigation:** 250%+ increase in a11y lawsuits (2019-2024)
35
+ - **Ethics:** Equal access is a fundamental right
36
+ - **UX:** Accessible design benefits all users (curb-cut effect)
37
+
38
+ **Goal:** WCAG 2.2 Level AA compliance + excellent user experience with assistive tech.
39
+
40
+ ## WCAG 2.2 Compliance Levels
41
+
42
+ ### Conformance Levels
43
+
44
+ **Level A (Minimum)**
45
+ - Basic accessibility
46
+ - Addresses most critical barriers
47
+ - **Requirement:** Legal minimum in many jurisdictions
48
+
49
+ **Level AA (Standard)**
50
+ - Addresses majority of barriers
51
+ - **Requirement:** US federal government (Section 508)
52
+ - **Recommendation:** Industry standard for most websites
53
+
54
+ **Level AAA (Enhanced)**
55
+ - Highest level of accessibility
56
+ - Not required for full sites (some criteria impossible for all content)
57
+ - **Use when:** Specialized accessibility-focused sites
58
+
59
+ **Most Organizations Target:** WCAG 2.2 Level AA
60
+
61
+ ---
62
+
63
+ ## POUR Principles
64
+
65
+ ### 1. Perceivable
66
+ **Users must be able to perceive information**
67
+
68
+ **Requirements:**
69
+ - Text alternatives for non-text content
70
+ - Captions for videos
71
+ - Audio descriptions for video
72
+ - Adaptable content (different presentations)
73
+ - Distinguishable content (color contrast, text resize)
74
+
75
+ **Example:**
76
+ ```html
77
+ <!-- ❌ BAD: Image without alt text -->
78
+ <img src="product.jpg">
79
+
80
+ <!-- ✅ GOOD: Descriptive alt text -->
81
+ <img src="product.jpg" alt="Blue wireless headphones with noise cancellation">
82
+
83
+ <!-- ❌ BAD: Color-only error indication -->
84
+ <span style="color: red">Error</span>
85
+
86
+ <!-- ✅ GOOD: Color + icon + text -->
87
+ <span class="error" role="alert">
88
+ <span aria-hidden="true">⚠️</span>
89
+ Error: Invalid email format
90
+ </span>
91
+ ```
92
+
93
+ ---
94
+
95
+ ### 2. Operable
96
+ **Users must be able to operate the interface**
97
+
98
+ **Requirements:**
99
+ - Keyboard accessible (no mouse required)
100
+ - Enough time to read/use content
101
+ - No content causing seizures (no flashing > 3x/sec)
102
+ - Navigable (skip links, headings, focus order)
103
+ - Input modalities (touch, voice, etc.)
104
+
105
+ **Example:**
106
+ ```html
107
+ <!-- ❌ BAD: Mouse-only interaction -->
108
+ <div onclick="submitForm()">Submit</div>
109
+
110
+ <!-- ✅ GOOD: Keyboard accessible button -->
111
+ <button type="submit" onclick="submitForm()">Submit</button>
112
+
113
+ <!-- ✅ GOOD: Skip navigation link -->
114
+ <a href="#main-content" class="skip-link">
115
+ Skip to main content
116
+ </a>
117
+
118
+ <nav>...</nav>
119
+
120
+ <main id="main-content">...</main>
121
+ ```
122
+
123
+ ---
124
+
125
+ ### 3. Understandable
126
+ **Information and operation must be understandable**
127
+
128
+ **Requirements:**
129
+ - Readable text (language identified, unusual words explained)
130
+ - Predictable operation (consistent navigation)
131
+ - Input assistance (error identification, labels, suggestions)
132
+ - Compatible with assistive technologies
133
+
134
+ **Example:**
135
+ ```html
136
+ <!-- ❌ BAD: Unclear error -->
137
+ <span>Error</span>
138
+
139
+ <!-- ✅ GOOD: Clear, actionable error -->
140
+ <div role="alert" aria-live="assertive">
141
+ <strong>Error:</strong> Password must be at least 8 characters,
142
+ including one uppercase letter and one number.
143
+ </div>
144
+
145
+ <!-- ✅ GOOD: Form labels -->
146
+ <label for="email">
147
+ Email Address (required)
148
+ </label>
149
+ <input
150
+ type="email"
151
+ id="email"
152
+ name="email"
153
+ required
154
+ aria-required="true"
155
+ aria-describedby="email-help"
156
+ >
157
+ <span id="email-help">We'll never share your email.</span>
158
+ ```
159
+
160
+ ---
161
+
162
+ ### 4. Robust
163
+ **Content must work with current and future tools**
164
+
165
+ **Requirements:**
166
+ - Valid HTML/CSS
167
+ - Name, role, value available to assistive tech
168
+ - Status messages announced
169
+ - Compatible with user agents and assistive tech
170
+
171
+ **Example:**
172
+ ```html
173
+ <!-- ✅ GOOD: Custom component with ARIA -->
174
+ <div
175
+ role="button"
176
+ tabindex="0"
177
+ aria-pressed="false"
178
+ onkeydown="handleKeyPress(event)"
179
+ onclick="toggleButton()"
180
+ >
181
+ Toggle Feature
182
+ </div>
183
+
184
+ <!-- ✅ GOOD: Status message -->
185
+ <div role="status" aria-live="polite" aria-atomic="true">
186
+ 3 items added to cart
187
+ </div>
188
+ ```
189
+
190
+ ---
191
+
192
+ ## Manual Testing Techniques
193
+
194
+ ### 1. Keyboard-Only Navigation
195
+
196
+ **Test keyboard accessibility:**
197
+ ```
198
+ Tab → Move to next focusable element
199
+ Shift+Tab → Move to previous focusable element
200
+ Enter → Activate links/buttons
201
+ Space → Activate buttons, toggle checkboxes
202
+ Arrow keys→ Navigate within components (menus, sliders)
203
+ Esc → Close dialogs/menus
204
+ ```
205
+
206
+ **Checklist:**
207
+ - [ ] All interactive elements reachable via keyboard
208
+ - [ ] Visible focus indicator (outline/highlight)
209
+ - [ ] Logical tab order (follows visual layout)
210
+ - [ ] No keyboard traps (can navigate away)
211
+ - [ ] Skip navigation link present
212
+ - [ ] Keyboard shortcuts documented
213
+
214
+ **Common Issues:**
215
+ ```html
216
+ <!-- ❌ BAD: Custom div without keyboard support -->
217
+ <div onclick="openModal()">Open</div>
218
+
219
+ <!-- ✅ GOOD: Button with keyboard support -->
220
+ <button onclick="openModal()">Open</button>
221
+
222
+ <!-- ✅ GOOD: Custom element with keyboard -->
223
+ <div
224
+ role="button"
225
+ tabindex="0"
226
+ onclick="openModal()"
227
+ onkeydown="if(event.key==='Enter') openModal()"
228
+ >
229
+ Open
230
+ </div>
231
+ ```
232
+
233
+ ---
234
+
235
+ ### 2. Screen Reader Testing
236
+
237
+ **Major Screen Readers:**
238
+ - **JAWS** (Windows) - Most popular, commercial
239
+ - **NVDA** (Windows) - Free, open-source
240
+ - **VoiceOver** (macOS/iOS) - Built-in to Apple devices
241
+ - **TalkBack** (Android) - Built-in to Android
242
+ - **Narrator** (Windows) - Built-in to Windows
243
+
244
+ **VoiceOver Basics (macOS):**
245
+ ```
246
+ Cmd+F5 → Toggle VoiceOver
247
+ VO+Right/Left → Navigate elements (VO = Ctrl+Option)
248
+ VO+Shift+Down → Interact with element
249
+ VO+Space → Activate element
250
+ VO+A → Read from top
251
+ VO+U → Rotor (headings, links, landmarks)
252
+ ```
253
+
254
+ **Screen Reader Checklist:**
255
+ - [ ] All images have alt text (or alt="" for decorative)
256
+ - [ ] Headings announce correctly (h1, h2, etc.)
257
+ - [ ] Form labels associated with inputs
258
+ - [ ] Links have descriptive text (not "click here")
259
+ - [ ] Dynamic content announced (aria-live)
260
+ - [ ] Custom components have proper roles
261
+ - [ ] Page language identified
262
+ - [ ] Reading order logical
263
+
264
+ **Example Testing Script:**
265
+ ```
266
+ 1. Enable screen reader
267
+ 2. Navigate to page
268
+ 3. Verify page title announced
269
+ 4. Navigate by headings (h1 → h2 → h3)
270
+ 5. Navigate by landmarks (nav, main, footer)
271
+ 6. Tab through form, verify labels read
272
+ 7. Submit form with errors, verify error messages read
273
+ 8. Navigate list of items, verify count announced
274
+ 9. Open modal, verify focus trapped
275
+ 10. Close modal, verify focus returned
276
+ ```
277
+
278
+ ---
279
+
280
+ ### 3. Color Contrast Testing
281
+
282
+ **WCAG Requirements:**
283
+ - **Normal text:** 4.5:1 contrast ratio (AA), 7:1 (AAA)
284
+ - **Large text (18pt+):** 3:1 contrast ratio (AA), 4.5:1 (AAA)
285
+ - **UI components:** 3:1 contrast ratio
286
+
287
+ **Tools:**
288
+ - Chrome DevTools (built-in contrast checker)
289
+ - WebAIM Contrast Checker
290
+ - Colour Contrast Analyser (CCA)
291
+
292
+ **Manual Test:**
293
+ ```html
294
+ <!-- ❌ BAD: Insufficient contrast (2.5:1) -->
295
+ <p style="color: #777; background: #fff;">Low contrast text</p>
296
+
297
+ <!-- ✅ GOOD: Sufficient contrast (4.6:1) -->
298
+ <p style="color: #595959; background: #fff;">Readable text</p>
299
+
300
+ <!-- ✅ GOOD: High contrast (12.6:1) -->
301
+ <p style="color: #000; background: #fff;">High contrast text</p>
302
+ ```
303
+
304
+ **Testing Checklist:**
305
+ - [ ] All text meets 4.5:1 ratio
306
+ - [ ] Large text meets 3:1 ratio
307
+ - [ ] Links distinguishable without color alone
308
+ - [ ] UI components meet 3:1 ratio
309
+ - [ ] Focus indicators meet 3:1 ratio
310
+
311
+ ---
312
+
313
+ ### 4. Text Resize & Zoom
314
+
315
+ **Requirements:**
316
+ - Text resizeable up to 200% without loss of content/functionality
317
+ - No horizontal scrolling at 400% zoom (except data tables)
318
+
319
+ **Manual Test:**
320
+ ```
321
+ 1. Open page in browser
322
+ 2. Zoom to 200% (Cmd/Ctrl + "+")
323
+ - Verify all text readable
324
+ - Verify no content hidden
325
+ - Verify functionality intact
326
+ 3. Zoom to 400%
327
+ - Verify no horizontal scrolling
328
+ - Verify content reflows appropriately
329
+ ```
330
+
331
+ **CSS Best Practices:**
332
+ ```css
333
+ /* ✅ GOOD: Relative units */
334
+ body {
335
+ font-size: 1rem; /* 16px default */
336
+ }
337
+ h1 {
338
+ font-size: 2rem; /* 32px default */
339
+ }
340
+
341
+ /* ❌ BAD: Fixed pixel sizes */
342
+ body {
343
+ font-size: 12px; /* Doesn't scale with user preferences */
344
+ }
345
+ ```
346
+
347
+ ---
348
+
349
+ ## Automated Testing
350
+
351
+ ### 1. axe-core Integration
352
+
353
+ **Install:**
354
+ ```bash
355
+ npm install --save-dev @axe-core/playwright
356
+ ```
357
+
358
+ **Playwright Example:**
359
+ ```javascript
360
+ import { test, expect } from '@playwright/test';
361
+ import AxeBuilder from '@axe-core/playwright';
362
+
363
+ test('homepage should not have accessibility violations', async ({ page }) => {
364
+ await page.goto('https://example.com');
365
+
366
+ const accessibilityScanResults = await new AxeBuilder({ page })
367
+ .withTags(['wcag2a', 'wcag2aa', 'wcag21aa', 'wcag22aa'])
368
+ .analyze();
369
+
370
+ expect(accessibilityScanResults.violations).toEqual([]);
371
+ });
372
+
373
+ test('form should have proper labels', async ({ page }) => {
374
+ await page.goto('https://example.com/signup');
375
+
376
+ const results = await new AxeBuilder({ page })
377
+ .include('#signup-form')
378
+ .analyze();
379
+
380
+ // Allow specific known issues
381
+ const allowedViolations = results.violations.filter(v =>
382
+ v.id !== 'color-contrast' // Being fixed in next sprint
383
+ );
384
+
385
+ expect(allowedViolations).toEqual([]);
386
+ });
387
+ ```
388
+
389
+ **CI/CD Integration:**
390
+ ```yaml
391
+ # .github/workflows/a11y.yml
392
+ name: Accessibility Tests
393
+
394
+ on: [pull_request]
395
+
396
+ jobs:
397
+ a11y:
398
+ runs-on: ubuntu-latest
399
+ steps:
400
+ - uses: actions/checkout@v3
401
+ - uses: actions/setup-node@v3
402
+ - run: npm ci
403
+ - run: npm run test:a11y
404
+
405
+ - name: Upload a11y results
406
+ if: failure()
407
+ uses: actions/upload-artifact@v3
408
+ with:
409
+ name: axe-results
410
+ path: a11y-results/
411
+ ```
412
+
413
+ ---
414
+
415
+ ### 2. Pa11y Testing
416
+
417
+ **Install:**
418
+ ```bash
419
+ npm install --save-dev pa11y
420
+ ```
421
+
422
+ **Configuration:**
423
+ ```javascript
424
+ // .pa11yrc
425
+ {
426
+ "standard": "WCAG2AA",
427
+ "timeout": 30000,
428
+ "wait": 1000,
429
+ "chromeLaunchConfig": {
430
+ "args": ["--no-sandbox"]
431
+ },
432
+ "runners": [
433
+ "axe",
434
+ "htmlcs"
435
+ ],
436
+ "ignore": [
437
+ "color-contrast" // Temporarily ignore while fixing
438
+ ]
439
+ }
440
+ ```
441
+
442
+ **Usage:**
443
+ ```javascript
444
+ const pa11y = require('pa11y');
445
+
446
+ async function runA11yTests() {
447
+ const results = await pa11y('https://example.com', {
448
+ standard: 'WCAG2AA',
449
+ includeWarnings: true,
450
+ includeNotices: false
451
+ });
452
+
453
+ console.log(`Found ${results.issues.length} issues`);
454
+
455
+ results.issues.forEach(issue => {
456
+ console.log(`${issue.type}: ${issue.message}`);
457
+ console.log(`Element: ${issue.selector}`);
458
+ console.log(`Code: ${issue.code}\n`);
459
+ });
460
+ }
461
+ ```
462
+
463
+ ---
464
+
465
+ ### 3. Lighthouse Accessibility Audit
466
+
467
+ **Chrome DevTools:**
468
+ ```
469
+ 1. Open DevTools (F12)
470
+ 2. Go to Lighthouse tab
471
+ 3. Select "Accessibility" category
472
+ 4. Click "Analyze page load"
473
+ 5. Review score and recommendations
474
+ ```
475
+
476
+ **Programmatic:**
477
+ ```javascript
478
+ const lighthouse = require('lighthouse');
479
+ const chromeLauncher = require('chrome-launcher');
480
+
481
+ async function runLighthouse() {
482
+ const chrome = await chromeLauncher.launch({ chromeFlags: ['--headless'] });
483
+
484
+ const options = {
485
+ logLevel: 'info',
486
+ output: 'html',
487
+ onlyCategories: ['accessibility'],
488
+ port: chrome.port
489
+ };
490
+
491
+ const runnerResult = await lighthouse('https://example.com', options);
492
+
493
+ const accessibilityScore = runnerResult.lhr.categories.accessibility.score * 100;
494
+ console.log(`Accessibility Score: ${accessibilityScore}`);
495
+
496
+ await chrome.kill();
497
+ }
498
+ ```
499
+
500
+ ---
501
+
502
+ ## ARIA Best Practices
503
+
504
+ ### When to Use ARIA
505
+
506
+ **First Rule of ARIA:** Don't use ARIA if you can use native HTML
507
+
508
+ ```html
509
+ <!-- ❌ BAD: ARIA on native element -->
510
+ <div role="button" tabindex="0" onclick="submit()">Submit</div>
511
+
512
+ <!-- ✅ GOOD: Native element -->
513
+ <button onclick="submit()">Submit</button>
514
+
515
+ <!-- ✅ ARIA OK: Custom component with no native equivalent -->
516
+ <div role="tablist">
517
+ <button role="tab" aria-selected="true">Tab 1</button>
518
+ <button role="tab" aria-selected="false">Tab 2</button>
519
+ </div>
520
+ ```
521
+
522
+ ---
523
+
524
+ ### Common ARIA Patterns
525
+
526
+ **Landmark Roles:**
527
+ ```html
528
+ <header role="banner">Site header</header>
529
+ <nav role="navigation">Main navigation</nav>
530
+ <main role="main">Main content</main>
531
+ <aside role="complementary">Sidebar</aside>
532
+ <footer role="contentinfo">Site footer</footer>
533
+ ```
534
+
535
+ **Live Regions:**
536
+ ```html
537
+ <!-- Polite: Announces when convenient -->
538
+ <div role="status" aria-live="polite" aria-atomic="true">
539
+ 3 items added to cart
540
+ </div>
541
+
542
+ <!-- Assertive: Announces immediately -->
543
+ <div role="alert" aria-live="assertive">
544
+ Error: Payment failed. Please try again.
545
+ </div>
546
+ ```
547
+
548
+ **Form Accessibility:**
549
+ ```html
550
+ <label for="username">Username</label>
551
+ <input
552
+ type="text"
553
+ id="username"
554
+ aria-required="true"
555
+ aria-describedby="username-help username-error"
556
+ >
557
+ <span id="username-help">Choose a unique username</span>
558
+ <span id="username-error" role="alert" class="error">
559
+ Username already taken
560
+ </span>
561
+ ```
562
+
563
+ **Modals/Dialogs:**
564
+ ```html
565
+ <div
566
+ role="dialog"
567
+ aria-labelledby="dialog-title"
568
+ aria-describedby="dialog-desc"
569
+ aria-modal="true"
570
+ >
571
+ <h2 id="dialog-title">Confirm Action</h2>
572
+ <p id="dialog-desc">Are you sure you want to delete?</p>
573
+ <button onclick="confirmDelete()">Confirm</button>
574
+ <button onclick="closeDialog()">Cancel</button>
575
+ </div>
576
+ ```
577
+
578
+ ---
579
+
580
+ ## Common Accessibility Issues
581
+
582
+ ### Issue 1: Missing Alt Text
583
+ ```html
584
+ <!-- ❌ Problem -->
585
+ <img src="chart.png">
586
+
587
+ <!-- ✅ Solution -->
588
+ <img src="chart.png" alt="Sales growth chart showing 25% increase in Q4">
589
+
590
+ <!-- ✅ Decorative images -->
591
+ <img src="decorative-line.png" alt="" role="presentation">
592
+ ```
593
+
594
+ ---
595
+
596
+ ### Issue 2: Empty Links
597
+ ```html
598
+ <!-- ❌ Problem -->
599
+ <a href="/products">
600
+ <img src="icon.png" alt="">
601
+ </a>
602
+
603
+ <!-- ✅ Solution -->
604
+ <a href="/products">
605
+ <img src="icon.png" alt="View all products">
606
+ </a>
607
+ ```
608
+
609
+ ---
610
+
611
+ ### Issue 3: Form Labels Missing
612
+ ```html
613
+ <!-- ❌ Problem -->
614
+ <input type="text" placeholder="Email">
615
+
616
+ <!-- ✅ Solution -->
617
+ <label for="email">Email Address</label>
618
+ <input type="email" id="email" placeholder="you@example.com">
619
+
620
+ <!-- ✅ Alternative: aria-label -->
621
+ <input
622
+ type="email"
623
+ aria-label="Email Address"
624
+ placeholder="you@example.com"
625
+ >
626
+ ```
627
+
628
+ ---
629
+
630
+ ### Issue 4: Poor Focus Management
631
+ ```javascript
632
+ // ❌ Problem: Focus lost when modal opens
633
+ function openModal() {
634
+ document.getElementById('modal').style.display = 'block';
635
+ }
636
+
637
+ // ✅ Solution: Manage focus properly
638
+ function openModal() {
639
+ const modal = document.getElementById('modal');
640
+ const previouslyFocused = document.activeElement;
641
+
642
+ modal.style.display = 'block';
643
+ modal.querySelector('button').focus(); // Focus first button
644
+
645
+ // Trap focus within modal
646
+ modal.addEventListener('keydown', (e) => {
647
+ if (e.key === 'Tab') {
648
+ trapFocus(modal, e);
649
+ }
650
+ });
651
+
652
+ // Restore focus on close
653
+ modal.dataset.previousFocus = previouslyFocused;
654
+ }
655
+
656
+ function closeModal() {
657
+ const modal = document.getElementById('modal');
658
+ modal.style.display = 'none';
659
+
660
+ // Restore focus
661
+ const previousFocus = document.querySelector(modal.dataset.previousFocus);
662
+ if (previousFocus) previousFocus.focus();
663
+ }
664
+ ```
665
+
666
+ ---
667
+
668
+ ## Using with QE Agents
669
+
670
+ ### qe-accessibility-validator: Automated Compliance
671
+
672
+ ```typescript
673
+ // Agent runs comprehensive a11y validation
674
+ const a11yResults = await agent.validateAccessibility({
675
+ url: 'https://example.com/checkout',
676
+ standard: 'WCAG2.2',
677
+ level: 'AA',
678
+ includeScreenReaderSimulation: true
679
+ });
680
+
681
+ // Returns:
682
+ // {
683
+ // score: 0.92,
684
+ // violations: [
685
+ // { rule: 'color-contrast', severity: 'serious', count: 3 },
686
+ // { rule: 'label', severity: 'critical', count: 1 }
687
+ // ],
688
+ // passes: 47,
689
+ // incomplete: 2,
690
+ // screenReaderReport: {
691
+ // navigation: 'good',
692
+ // formLabels: 'needs-improvement',
693
+ // landmarkStructure: 'excellent'
694
+ // }
695
+ // }
696
+ ```
697
+
698
+ ---
699
+
700
+ ### qe-visual-tester: Keyboard & Focus Testing
701
+
702
+ ```typescript
703
+ // Agent validates focus indicators
704
+ await agent.visualA11yTest({
705
+ page: '/signup',
706
+ checks: ['focus-visible', 'keyboard-navigation', 'tab-order'],
707
+ generateReport: true
708
+ });
709
+
710
+ // Captures screenshots of:
711
+ // - Focus states for all interactive elements
712
+ // - Tab order visualization
713
+ // - Keyboard navigation paths
714
+ ```
715
+
716
+ ---
717
+
718
+ ### Fleet Coordination for Comprehensive A11y
719
+
720
+ ```typescript
721
+ const a11yFleet = await FleetManager.coordinate({
722
+ strategy: 'comprehensive-accessibility',
723
+ agents: [
724
+ 'qe-accessibility-validator', // Automated scanning
725
+ 'qe-visual-tester', // Visual & keyboard checks
726
+ 'qe-test-generator', // Generate a11y tests
727
+ 'qe-quality-gate' // Enforce compliance
728
+ ]
729
+ });
730
+
731
+ await a11yFleet.execute({
732
+ target: 'production-candidate',
733
+ wcagLevel: 'AA',
734
+ failOn: 'critical-violations',
735
+ generateRemediationGuide: true
736
+ });
737
+ ```
738
+
739
+ ---
740
+
741
+ ## Related Skills
742
+
743
+ **Core Testing:**
744
+ - [agentic-quality-engineering](../agentic-quality-engineering/) - Agent-driven a11y testing
745
+ - [regression-testing](../regression-testing/) - A11y in regression suite
746
+ - [visual-testing-advanced](../visual-testing-advanced/) - Visual a11y checks
747
+
748
+ **Specialized Testing:**
749
+ - [mobile-testing](../mobile-testing/) - Mobile a11y (VoiceOver, TalkBack)
750
+ - [compatibility-testing](../compatibility-testing/) - Cross-browser a11y
751
+ - [compliance-testing](../compliance-testing/) - Legal compliance (ADA)
752
+
753
+ ---
754
+
755
+ ## Remember
756
+
757
+ **Accessibility is a legal requirement, not a nice-to-have.**
758
+
759
+ - 1 billion people with disabilities globally
760
+ - $13 trillion purchasing power
761
+ - 250%+ increase in lawsuits (2019-2024)
762
+ - ADA, Section 508, EU regulations enforced
763
+
764
+ **Automated testing catches only 30-50% of issues.**
765
+
766
+ Combine automated scans with:
767
+ - Manual keyboard testing
768
+ - Screen reader testing
769
+ - Real user testing with people with disabilities
770
+
771
+ **Shift accessibility left:**
772
+ - Design with accessibility in mind
773
+ - Develop with semantic HTML + ARIA
774
+ - Test throughout development (not at the end)
775
+ - Include a11y in definition of done
776
+
777
+ **With Agents:** `qe-accessibility-validator` automates WCAG 2.2 compliance checking, screen reader simulation, and focus management validation. Use agents to enforce accessibility standards in CI/CD and catch violations before production.