mix excessibility.review (Excessibility v0.15.0)

Copy Markdown View Source

Reports what the current snapshots changed relative to the baseline.

For every snapshot with a baseline, this diffs the rendered output and reports, per view, the regions that changed and the accessibility issues the change newly introduced, with a risk tier:

  • block — a new critical/serious issue (e.g. a keyboard-inaccessible control introduced by this change)
  • review — a new moderate/minor issue, or content that changed without an aria-live announcement; worth a human glance
  • auto — rendering changed but introduced no accessibility issues

Usage

# Generate/refresh snapshots, then review against the baseline
mix test
mix excessibility.review

# Fail the build only on :block (default), on :review, or never
mix excessibility.review --fail-on review
mix excessibility.review --fail-on never

# Fold in behavioral findings from a telemetry timeline (N+1 queries,
# dead state, render thrash) captured by `mix excessibility.debug`
mix excessibility.review --timeline test/excessibility/timeline.json --judge

Establish the baseline with mix excessibility.baseline.