a11yanalyze
Version:
A command-line tool for developers and QA engineers to test web pages and websites for WCAG 2.2 AA accessibility compliance
28 lines • 1.09 kB
TypeScript
import Handlebars from 'handlebars';
export declare function registerCustomHelpers(helpers: Record<string, Handlebars.HelperDelegate>): void;
export interface VpatCriterion {
id: string;
name: string;
status: 'Supports' | 'Partially Supports' | 'Does Not Support' | 'Not Applicable' | 'Not Evaluated';
remarks: string;
}
export interface VpatReport {
component: string;
vpatVersion: string;
criteria: VpatCriterion[];
summary: {
supports: number;
partiallySupports: number;
doesNotSupport: number;
notApplicable: number;
notEvaluated: number;
};
}
export declare class VpatReporter {
static generateJsonReport(component: string, scanResult: any, vpatVersion?: string): VpatReport;
static generateMarkdownReport(report: any): string;
static generateCustomReport(report: VpatReport, template: string): string;
static mapSeverityToStatus(severity: string): VpatCriterion['status'];
static summarize(criteria: VpatCriterion[]): VpatReport['summary'];
}
//# sourceMappingURL=vpat-reporter.d.ts.map