@casoon/auditmysite
Version:
Professional website analysis suite with robust accessibility testing, Core Web Vitals performance monitoring, SEO analysis, and content optimization insights. Features isolated browser contexts, retry mechanisms, and comprehensive API endpoints for profe
38 lines • 1.39 kB
TypeScript
/**
* Accessibility Whitelist Configuration
*
* This file contains URL-specific whitelist rules for accessibility checks.
* Use this to document known false positives that cannot be automatically detected.
*/
export interface AccessibilityWhitelistRule {
/** URL pattern to match (can be exact URL or contains string) */
url: string;
/** Rules to ignore for this URL */
ignoreRules?: {
[ruleId: string]: {
/** Specific CSS selectors to ignore (optional) */
selectors?: string[];
/** Reason for whitelisting (for documentation) */
reason: string;
/** Date when this was added (for tracking) */
addedDate?: string;
/** Who verified this manually */
verifiedBy?: string;
};
};
}
/**
* Global accessibility whitelist
*
* Add entries here for known false positives that are manually verified.
*/
export declare const ACCESSIBILITY_WHITELIST: AccessibilityWhitelistRule[];
/**
* Check if a URL should ignore a specific rule based on whitelist
*/
export declare function shouldIgnoreRule(url: string, ruleCode: string, selector?: string): boolean;
/**
* Get whitelist reason for a specific URL and rule
*/
export declare function getWhitelistReason(url: string, ruleCode: string): string | undefined;
//# sourceMappingURL=accessibility-whitelist.d.ts.map