@webability/core 1.8.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 { J as JudgeOptions, P as PageLike, S as ScanResult } from './types-BgiJ7PGs.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
@@ -11,8 +11,6 @@ import { J as JudgeOptions, P as PageLike, S as ScanResult } from './types-BgiJ7
11
11
  * Parity notes vs the server `scan()`:
12
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
  */
@@ -20,7 +18,10 @@ import { J as JudgeOptions, P as PageLike, S as ScanResult } from './types-BgiJ7
20
18
  interface DomScanOptions {
21
19
  /** AI judge for undecided findings (text-only here: no layout, no screenshots). */
22
20
  judge?: JudgeOptions;
23
- /** Also run axe-core (bundled, ~104 rules). Default true. */
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
+ */
24
25
  includeAxe?: boolean;
25
26
  /** axe tag filter. Default WCAG 2.x A/AA. */
26
27
  wcagTags?: string[];
package/dist/dom.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { J as JudgeOptions, P as PageLike, S as ScanResult } from './types-BgiJ7PGs.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
@@ -11,8 +11,6 @@ import { J as JudgeOptions, P as PageLike, S as ScanResult } from './types-BgiJ7
11
11
  * Parity notes vs the server `scan()`:
12
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
  */
@@ -20,7 +18,10 @@ import { J as JudgeOptions, P as PageLike, S as ScanResult } from './types-BgiJ7
20
18
  interface DomScanOptions {
21
19
  /** AI judge for undecided findings (text-only here: no layout, no screenshots). */
22
20
  judge?: JudgeOptions;
23
- /** Also run axe-core (bundled, ~104 rules). Default true. */
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
+ */
24
25
  includeAxe?: boolean;
25
26
  /** axe tag filter. Default WCAG 2.x A/AA. */
26
27
  wcagTags?: string[];