Axe rules that CANNOT produce meaningful results under jsdom and are therefore
disabled by default for every ExpectNoAxeViolations call:
color-contrast — needs a real layout/paint engine to resolve effective fore/background
colors; jsdom performs no layout, so the rule either errors or reports garbage.
region, landmark-one-main, page-has-heading-one, bypass — PAGE-level structure
rules ("all content in landmarks", "page has a main landmark / h1 / skip link"). A
component fixture is a fragment, not a page — these belong to the e2e tier
(see e2e/specs/a11y.spec.ts), where the full Explorer shell is scanned.
Exported so specs (and the e2e tier) can see exactly what the jsdom preset waives.
Axe rules that CANNOT produce meaningful results under jsdom and are therefore disabled by default for every ExpectNoAxeViolations call:
color-contrast— needs a real layout/paint engine to resolve effective fore/background colors; jsdom performs no layout, so the rule either errors or reports garbage.region,landmark-one-main,page-has-heading-one,bypass— PAGE-level structure rules ("all content in landmarks", "page has a main landmark / h1 / skip link"). A component fixture is a fragment, not a page — these belong to the e2e tier (seee2e/specs/a11y.spec.ts), where the full Explorer shell is scanned.Exported so specs (and the e2e tier) can see exactly what the jsdom preset waives.