@webability/core 1.7.0 → 1.9.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/dist/dom.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PageLike, S as ScanResult } from './types-CbNyAKbT.cjs';
1
+ import { m as JudgeOptions, P as PageLike, a as ScanResult } from './types-g-bI_MhR.cjs';
2
2
 
3
3
  /**
4
4
  * In-DOM scan entry — runs the full detector engine directly against a live
@@ -9,16 +9,19 @@ import { P as PageLike, S as ScanResult } from './types-CbNyAKbT.cjs';
9
9
  * injection is impossible), the widget, or any bundled in-browser consumer.
10
10
  *
11
11
  * Parity notes vs the server `scan()`:
12
- * - Same detectors, same dedupe, same confidence tiering (issues/incomplete).
12
+ * - Same detectors, same dedupe, same verdict discipline (judged or dropped).
13
13
  * - axe-core runs as a bundled module (no injection) when `includeAxe`.
14
- * - HTML_CodeSniffer is NOT run — the server loads it from a CDN, which is
15
- * remote code a browser extension may not execute.
16
14
  * - No navigation/bot-challenge/auth-wall guards — the user is already on the
17
15
  * page they want scanned.
18
16
  */
19
17
 
20
18
  interface DomScanOptions {
21
- /** Also run axe-core (bundled, ~104 rules). Default true. */
19
+ /** AI judge for undecided findings (text-only here: no layout, no screenshots). */
20
+ judge?: JudgeOptions;
21
+ /**
22
+ * Run axe-core (bundled, ~104 rules). Default true. axe is the only engine
23
+ * for form-field / select / combobox names and valid ARIA roles; false skips them.
24
+ */
22
25
  includeAxe?: boolean;
23
26
  /** axe tag filter. Default WCAG 2.x A/AA. */
24
27
  wcagTags?: string[];
package/dist/dom.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { P as PageLike, S as ScanResult } from './types-CbNyAKbT.js';
1
+ import { m as JudgeOptions, P as PageLike, a as ScanResult } from './types-g-bI_MhR.js';
2
2
 
3
3
  /**
4
4
  * In-DOM scan entry — runs the full detector engine directly against a live
@@ -9,16 +9,19 @@ import { P as PageLike, S as ScanResult } from './types-CbNyAKbT.js';
9
9
  * injection is impossible), the widget, or any bundled in-browser consumer.
10
10
  *
11
11
  * Parity notes vs the server `scan()`:
12
- * - Same detectors, same dedupe, same confidence tiering (issues/incomplete).
12
+ * - Same detectors, same dedupe, same verdict discipline (judged or dropped).
13
13
  * - axe-core runs as a bundled module (no injection) when `includeAxe`.
14
- * - HTML_CodeSniffer is NOT run — the server loads it from a CDN, which is
15
- * remote code a browser extension may not execute.
16
14
  * - No navigation/bot-challenge/auth-wall guards — the user is already on the
17
15
  * page they want scanned.
18
16
  */
19
17
 
20
18
  interface DomScanOptions {
21
- /** Also run axe-core (bundled, ~104 rules). Default true. */
19
+ /** AI judge for undecided findings (text-only here: no layout, no screenshots). */
20
+ judge?: JudgeOptions;
21
+ /**
22
+ * Run axe-core (bundled, ~104 rules). Default true. axe is the only engine
23
+ * for form-field / select / combobox names and valid ARIA roles; false skips them.
24
+ */
22
25
  includeAxe?: boolean;
23
26
  /** axe tag filter. Default WCAG 2.x A/AA. */
24
27
  wcagTags?: string[];