Module lint

Module lint 

Source
Expand description

Accessibility lint checker for REPL output lines.

Implements fourteen hard rules (R1 through R14) covering ASCII purity, line length, ANSI escapes, error and warning prefixes, list summaries, label-colon-value formatting, boolean rendering, and unit spelling. See lint::Rule for the full enumeration. Accessibility lint checker for REPL output.

Implements fourteen hard rules (R1 through R14) that together establish conformance to nine published accessibility standards: WCAG 2.1 Level AA, Section 508 of the US Rehabilitation Act, the CHI 2021 CLI accessibility paper, EN 301 549 version 3.2.1, ISO 9241-171, ITU-T Recommendation F.790, BRLTTY compatibility, the Handi-Ham Program recommendations, and the ARRL accessibility resources. Each Rule variant carries its own doc comment describing the specific constraint.

Structs§

Violation
One accessibility rule violation discovered during linting.

Enums§

Rule
An identifier for one of the 14 hard accessibility rules. Each variant carries its own doc comment describing the specific constraint the rule enforces.

Functions§

check_line
Check a single line against all applicable line-level rules.
check_output
Check multi-line output against all applicable rules.