axe-sarif-converter
Version:
Convert axe-core accessibility scan results to the SARIF format
13 lines (12 loc) • 489 B
TypeScript
import { DictionaryStringTo } from './dictionary-types';
import { WCAGLinkData } from './wcag-link-data';
export declare class WCAGLinkDataIndexer {
private wcagConfiguration;
private readonly sortedWcagTags;
private readonly wcagTagsToTaxaIndices;
constructor(wcagConfiguration: DictionaryStringTo<WCAGLinkData>);
getSortedWcagTags(): string[];
getWcagTagsToTaxaIndices(): DictionaryStringTo<number>;
private mapWcagTagToTaxaIndex;
private sortWcagTags;
}