Skip to main content

Module a11y

Module a11y 

Source
Expand description

Accessibility linter.

Light, source-level checks. Two thresholds: a warning surfaces a problem in the UI’s badge; an error is something that would likely fail a real audit. We don’t render the HTML to compute contrast — instead we look at declared CSS colors and flag suspicious ratios. For the harder cases (color contrast against background images, accent text) the UI can layer a real DOM check on top.

Structs§

A11yFinding
A11yReport

Functions§

audit