flutter_a11y_lints 0.4.0
flutter_a11y_lints: ^0.4.0 copied to clipboard
Semantic IR-based accessibility analyzer for Flutter applications.
Changelog #
0.4.0 #
New #
- Added multiple new accessibility rules for:
- Decorative and informative images.
- Composite and dynamic controls.
- Numeric values, toggle states, custom gestures, and minimum tap targets.
- Improved semantic analysis accuracy using unit-aware constant evaluation.
- Expanded documentation for all lint rules with clearer guidance and examples.
- Added comprehensive tests covering composite, recursive, dynamic, and quick-path widgets.
Improved #
- More accurate widget summary synthesis and semantic tree processing.
- Enhanced label extraction and control-flow handling for complex widgets.
- Better caching of semantic summaries using stable identifiers.
Refactor #
- Simplified and centralized constant evaluation logic.
- General code quality improvements across semantic builder and tree logic.
0.3.0 #
New #
- Added new lint rules:
- A03, A04, A05 — image semantics and redundant wrappers.
- A18 — hidden focus traps.
- A21 — tooltip guidance for IconButton.
- A22 — ListTile semantic boundaries.
- Expanded semantic node structure with additional fields and metadata.
- Introduced
SemanticNeighborhoodand new semantic utility classes.
Improved #
- Updated A02, A06, and A07 with clearer messages and suggestions.
- Improved semantic tree builder: better handling of conditional branches and label extraction.
- Added tests for A01 and several new rule scenarios.