@diegovelasquezweb/a11y-engine 0.2.0 → 0.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diegovelasquezweb/a11y-engine",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "WCAG 2.2 AA accessibility audit engine — scanner, analyzer, and report builders",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -214,6 +214,7 @@ export interface RunAuditOptions {
214
214
  framework?: string;
215
215
  projectDir?: string;
216
216
  skipPatterns?: boolean;
217
+ screenshotsDir?: string;
217
218
  onProgress?: (step: string, status: string, extra?: Record<string, unknown>) => void;
218
219
  }
219
220
 
package/scripts/index.mjs CHANGED
@@ -480,6 +480,7 @@ export async function runAudit(options) {
480
480
  axeTags: options.axeTags,
481
481
  onlyRule: options.onlyRule,
482
482
  excludeSelectors: options.excludeSelectors,
483
+ screenshotsDir: options.screenshotsDir,
483
484
  },
484
485
  { onProgress },
485
486
  );