accessibility
/accessibility
Sprawdza i poprawia dostępność aplikacji Flutter: etykiety dla czytników ekranu, rozmiary celów dotyku i kontrast.
- Autor
- ChandraChaan ↗
- Repozytorium
- flutter-agent-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Sprawdza i poprawia dostępność aplikacji Flutter: etykiety dla czytników ekranu, rozmiary celów dotyku i kontrast.
Oryginalny opis (EN)
Audit and fix Flutter accessibility - screen reader labels and semantics, tap target sizes, text scaling, contrast, focus order and keyboard navigation - and add automated accessibility tests. Use when the user asks about accessibility, TalkBack, VoiceOver, large text, or an accessibility review.
Jak działa
- 1. Automated checks first
- 2. Manual review of the code
- 3. Large text and small screens
- 4. Try it with a screen reader
- 5. Report
Podgląd SKILL.md
---
name: accessibility
description: Audit and fix Flutter accessibility - screen reader labels and semantics, tap target sizes, text scaling, contrast, focus order and keyboard navigation - and add automated accessibility tests. Use when the user asks about accessibility, TalkBack, VoiceOver, large text, or an accessibility review.
---
# Flutter accessibility audit
## 1. Automated checks first
Add (or run) a widget test for each main screen:
```dart
testWidgets('meets accessibility guidelines', (tester) async {
final handle = tester.ensureSemantics();
await tester.pumpWidget(const MyApp());
await tester.pump();
await expectLater(tester, meetsGuideline(androidTapTargetGuideline)); // 48x48 dp
await expectLater(tester, meetsGuideline(iOSTapTargetGuideline)); // 44x44 pt
await expectLater(tester, meetsGuideline(labeledTapTargetGuideline));
await expectLater(tester, meetsGuideline(textContrastGuideline)); // 4.5:1
handle.dispose();
});
```
Fix every failure before the manual review.
## 2. Manual review of the code
Go through each screen's widgets:
| Check | Fix |
|---|---|
| `IconButton` without `tooltip` | Add a `tooltip` (it's also the screen reader label) |
| `GestureDetector` / `InkWell` on custom content | Prefer a real button; otherwise wrap in `Semantics(button: true, label: ...)` |
| Meaningful `Image` / `Icon` without a label | `semanticLabel:` |
| Decorative images | `excludeFromSemantics: true` |
| A card read as many separate fragments | `MergeSemantics`, or `Semantics(label: 'Lunch, ₹240, yesterday')` with `ExcludeSemantics` inside |
| State only shown by colour (red = error) | Add text or an icon, and `Semantics(liveRegion: true)` for messages that appear |
| Custom toggle or slider | `Semantics(toggled:, value:, increasedValue:, onIncrease:)` |
| Fixed heights around text | Let text wrap; test at 200% text scale |
| Text in images | Real text instead |
| Focus order wrong for keyboard / switch access | Reorder widgets, or `FocusTraversalGroup` with `OrderedTraversalPolicy` |
| Error shown in a `SnackBar` only | Also show it next to the field (`InputDecoration.errorText`) |
## 3. Large text and small screens
- Test with `textScaler` at 2.0 and a 320 px wide screen (see the `tests` skill for how). Nothing should overflow or be cut off.
- Don't clamp text scaling app-wide to avoid layout work. If one specific widget can't grow, limit that widget and explain why.
## 4. Try it with a screen reader
If a device or simulator is available, turn on TalkBack (Android) or VoiceOver (iOS) and:
1. Swipe through each screen: is every element announced once, in a sensible order, with a useful label?
2. Activate each control with a double tap.
3. Check that dialogs and bottom sheets trap focus and announce their title.
Use the Flutter Inspector's **Show semantics** (or `showSemanticsDebugger: true` on `MaterialApp`) to see what assistive technology sees.
## 5. Report
List each issue as: screen → problem → fix made (or recommended), and which automated checks now pass.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · ChandraChaan/flutter-agent-skills | 100 | MIT |
| ericrisco/rsc-harness | 100 | MIT |
| Sanit-mann/The-Insectoids | 100 | MIT |
| evanca/flutter-ai-rules | 100 | MIT |
| yonatangross/orchestkit | 100 | MIT |
| yonatangross/orchestkit | 100 | MIT |
| xobotyi/cc-foundry | 100 | MIT |
| krzysztofsurdy/code-virtuoso | 100 | MIT |
| andreibesleaga/gabbe | 100 | CC-BY-4.0 |
Migawka bazy z 13.11.2026 · wersja paczki bc678774c714 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100flutter-accessibility
Wdraża lub audytuje dostępność ekranu we Flutter: widżet Semantics, etykiety czytników ekranu, kontrast, rozmiar celów dotykowych i skalowanie czcionek. - 100flutter-accessibility
Dodaje do aplikacji Flutter dostępność: semantykę, etykiety, cele dotyku, kontrast i testy TalkBack oraz VoiceOver. - 90mobile-accessibility
Audytuje i naprawia dostępność aplikacji mobilnych we Flutter, Androidzie, iOS, React Native i KMP, z etykietami dla czytników ekranu. - 90accessibility-design
Opisuje progi WCAG 2.2 AA dla frontendów Laravel i aplikacji mobilnych: kontrast, rozmiar celów, zarządzanie fokusem oraz VoiceOver i TalkBack. - 100accessible-design
Sprawdza dostępność projektu na telefonie, tablecie i komputerze: cele dotyku, kontrast, skalowanie tekstu i czytniki ekranu. - 90dev-accessibility-audit
Audytuje dostępność stron i aplikacji: semantykę, nawigację klawiaturą, fokus, etykiety, ARIA, kontrast i responsywność.