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

Flutter widget-test integration for attest: a WidgetTester accessibility audit, raster and text-scale collectors, and gate matchers for CI.

attest_flutter #

Flutter test integration for the attest accessibility-compliance toolkit. This package provides the developer-facing entry point — tester.auditAccessibility() — plus the raster (contrast) and text-scale (reflow/overflow) collectors and the gate matchers.

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

import 'package:flutter_test/flutter_test.dart';
import 'package:attest_flutter/attest_flutter.dart';

void main() {
  testWidgets('CheckoutScreen is accessible', (tester) async {
    await tester.pumpWidget(const MyApp(home: CheckoutScreen()));

    final report = await tester.auditAccessibility();

    expect(report, passesAccessibilityGate());
  });
}

The API above is the target surface; it is being built out (see the roadmap).

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

Flutter widget-test integration for attest: a WidgetTester accessibility audit, raster and text-scale collectors, and gate matchers for CI.

Repository (GitHub)
View/report issues
Contributing

Topics

#accessibility #a11y #wcag #testing

License

BSD-3-Clause (license)

Dependencies

attest, flutter, flutter_test, meta

More

Packages that depend on attest_flutter