axe-core 4.11.0 → 4.11.1-canary.0281fa1
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/axe.d.ts +12 -2
- package/axe.js +7094 -7012
- package/axe.min.js +3 -3
- package/locales/_template.json +10 -3
- package/package.json +5 -7
- package/sri-history.json +4 -0
package/axe.d.ts
CHANGED
|
@@ -147,6 +147,9 @@ declare namespace axe {
|
|
|
147
147
|
performanceTimer?: boolean;
|
|
148
148
|
pingWaitTime?: number;
|
|
149
149
|
}
|
|
150
|
+
interface NormalizedRunOptions extends RunOptions {
|
|
151
|
+
runOnly?: RunOnly;
|
|
152
|
+
}
|
|
150
153
|
interface PreloadOptions {
|
|
151
154
|
assets: string[];
|
|
152
155
|
timeout?: number;
|
|
@@ -386,8 +389,10 @@ declare namespace axe {
|
|
|
386
389
|
frameContext: FrameContextObject;
|
|
387
390
|
}
|
|
388
391
|
|
|
389
|
-
interface RawCheckResult
|
|
390
|
-
|
|
392
|
+
interface RawCheckResult extends Omit<
|
|
393
|
+
CheckResult,
|
|
394
|
+
'relatedNodes' | 'impact'
|
|
395
|
+
> {
|
|
391
396
|
relatedNodes?: Array<SerialDqElement | DqElement>;
|
|
392
397
|
impact?: ImpactValue;
|
|
393
398
|
}
|
|
@@ -465,6 +470,10 @@ declare namespace axe {
|
|
|
465
470
|
}
|
|
466
471
|
|
|
467
472
|
interface Utils {
|
|
473
|
+
getElementSource: (
|
|
474
|
+
element: Node | null | undefined,
|
|
475
|
+
options?: { maxLength?: number; attrLimit?: number }
|
|
476
|
+
) => string;
|
|
468
477
|
getFrameContexts: (
|
|
469
478
|
context?: ElementContext,
|
|
470
479
|
options?: RunOptions
|
|
@@ -495,6 +504,7 @@ declare namespace axe {
|
|
|
495
504
|
offset?: number
|
|
496
505
|
) => string | Uint8Array | Array<number>;
|
|
497
506
|
nodeSerializer: NodeSerializer;
|
|
507
|
+
normalizeRunOptions: (options?: RunOptions) => NormalizedRunOptions;
|
|
498
508
|
}
|
|
499
509
|
|
|
500
510
|
interface Aria {
|