axe-core 4.12.0-canary.a7d8f3e → 4.12.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/axe.d.ts +4 -2
- package/axe.js +105 -218
- package/axe.min.js +2 -2
- package/package.json +14 -19
- package/sri-history.json +4 -0
package/axe.d.ts
CHANGED
|
@@ -352,7 +352,7 @@ declare namespace axe {
|
|
|
352
352
|
helpUrl: string;
|
|
353
353
|
tags: string[];
|
|
354
354
|
actIds?: string[];
|
|
355
|
-
enabled
|
|
355
|
+
enabled?: boolean;
|
|
356
356
|
}
|
|
357
357
|
interface SerialDqElement {
|
|
358
358
|
source: string;
|
|
@@ -623,7 +623,9 @@ declare namespace axe {
|
|
|
623
623
|
* @param {Array} tags Optional array of tags
|
|
624
624
|
* @return {Array} Array of rules
|
|
625
625
|
*/
|
|
626
|
-
function getRules(
|
|
626
|
+
function getRules(
|
|
627
|
+
tags?: string[]
|
|
628
|
+
): (Omit<RuleMetadata, 'enabled'> & { enabled: boolean })[];
|
|
627
629
|
|
|
628
630
|
/**
|
|
629
631
|
* Restores the default axe configuration
|