@modus/gimbal-plugin-axe
Version:
Plugin to add axe audits to Gimbal
18 lines (17 loc) • 599 B
TypeScript
import { ImpactValue } from 'axe-core';
import { PluginOptions } from "../../typings/config/plugin";
declare type ThresholdValueString = ImpactValue | 'none';
interface Config {
disabledRules?: string | string[];
exclude?: string | string[];
include?: string | string[];
rules?: string | string[];
showSuccesses: boolean;
tags?: string | string[];
thresholds: {
impact: number | ThresholdValueString;
[name: string]: number | ThresholdValueString;
};
}
declare const Axe: ({ bus }: PluginOptions, config: Config) => Promise<void>;
export default Axe;