a11yship 0.1.0
a11yship: ^0.1.0 copied to clipboard
Accessibility checks for Flutter apps (WCAG 2.2, EN 301 549, European Accessibility Act). Finds unlabeled buttons, low contrast, small touch targets and 200% text-size overflows in your tests and poin [...]
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate a11yshipUse it
The package has the following executables:
$ a11yship
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add a11yshipThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
a11yship: ^0.1.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:a11yship/a11yship.dart';