UNPKG

accessibility-checker-engine

Version:

An automated accessibility checking engine for use by other tools

13 lines (12 loc) 467 B
import { SRCursor } from "./SRCursor"; import { NavigationMode } from "./SRTypes"; export declare class SRRendererRule { private ruleDefinition; constructor(ruleDefinition: { modes: NavigationMode[]; roles: string[]; elems: string[]; tests: Array<(cursor: SRCursor, oldCursor?: SRCursor, mode?: NavigationMode) => string | null>; }); test(mode: NavigationMode, cursor: SRCursor, oldCursor?: SRCursor): string | null; }