You can add Guideline API tests
in test/widget_test.dart of your app directory, or as a separate test
file (such as test/a11y_test.dart in the case of the Name Generator).

Testing accessibility on web

You can debug accessibility by visualizing the semantic nodes created for your web app
using the following command line flag in profile and release modes:

flutter run

d chrome

-profile

-dart-define

FLUTTER_WEB_DEBUG_SHOW_SEMANTICS

true

With the flag activated, the semantic nodes appear on top of the widgets;
you can verify that the semantic elements are placed where they should be.
If the semantic nodes are incorrectly placed, please file a bug report.

Accessibility release checklist

Here is a non-exhaustive list of things to consider as you prepare your
app for release.