attest 0.9.0 copy "attest: ^0.9.0" to clipboard
attest: ^0.9.0 copied to clipboard

Continuous accessibility-compliance engine for Flutter. Pure-Dart rules that map findings to WCAG and EN 301 549 success criteria, with CI baseline gating.

attest #

The pure-Dart core of the attest accessibility-compliance toolkit for Flutter: the data model, the rule engine, the tree-walking rules, report aggregation and baseline diffing.

Honest framing. Automated checks catch roughly 30–40% of accessibility issues. This package provides automated coverage of machine-checkable criteria plus a structured checklist for the rest. It does not certify "EAA compliance."

This package has no Flutter dependency. Every rule is a pure function over a serializable SemanticsSnapshot, which makes rules fast and exhaustively unit-testable. The Flutter-facing helpers (the WidgetTester extension and the raster/text-scale collectors) live in attest_flutter.

Standard packs #

Audits run against a versioned pack, chosen with RuleConfig.standard:

  • Standard.en301549_v3_2_1 (default) — WCAG 2.1 Level AA, the current EU legal baseline.
  • Standard.wcag22 — WCAG 2.2 Level AA, the basis for the forthcoming EN 301 549 v4.1.1.

A rule runs only when its cited criterion belongs to the selected pack, so switching packs changes both the checks that run and the criteria cited. For example attest/target-size (WCAG 2.5.8) is new in 2.2, so it is inactive under the default en301549_v3_2_1 pack and active under wcag22.

Migrating to WCAG 2.2: set standard: Standard.wcag22, then re-run attest baseline --update — the newly active rules may add findings you will want to review and accept.

Status #

Early development. The public API is not yet stable.

License #

BSD-3-Clause.

1
likes
160
points
0
downloads

Documentation

API reference

Publisher

verified publishersahland.tech

Weekly Downloads

Continuous accessibility-compliance engine for Flutter. Pure-Dart rules that map findings to WCAG and EN 301 549 success criteria, with CI baseline gating.

Repository (GitHub)
View/report issues
Contributing

Topics

#accessibility #a11y #wcag #testing

License

BSD-3-Clause (license)

Dependencies

collection, meta

More

Packages that depend on attest