/// import * as axe from 'axe-core/axe'; /** * Reports the violations results. */ export declare class JasmineAxeReporter { /** * Helper method to dump violation details on test fail only. * This will help investigating issue with context specific help links. * @param violations all violations reported by the axe-core engine. */ static reportResults(violations: axe.Result[]): string; } /** * JasmineAxeMatcher is a custom Jasmine matcher responsible for accessibility scan using axe-core. * Axe-core is running on default configurations running all rules related to * WCAG2a, WCAG2aa, WCAG21aa, section-508, best-practice and experimental. * See https://www.deque.com/axe/axe-for-web/documentation/api-documentation/#api-name-axegetrules * * Runs all axe-core rules. * elementContext: Context of the element code be document Node | string | inclusion-exclusion object * Examples: * fixture.nativeElement * document.getElementById(id) *
* A node List: document.querySelectorAll * A CSS selector for .className, div, #tag. * inclusion-exclusion object * Examples: * Include all elements with id foobar but exclude any div within it. * { * include: ['#foobar '], * exclude: [['#foobar div']] * } * Include all elements if id header and all links and exclude a link with id foobarLink * { * include: [['#header '], ['a ']]; * exclude: [['a', '#foobarLink']] * } */ export declare const JasmineAxeMatcher: jasmine.CustomMatcherFactories;