Claude Cursor Skill

flutter-accessibility

Build or audit Flutter accessibility for semantics, screen readers, focus, keyboard access, text scaling, contrast, target size, and motion preferences. Pair with flutter-responsive-layout when large text causes reflow, clipping, or overflow across constraints.

LLM Mart · 0 points · 0 views 0 listing impressions 0 install-command copies
Download thienqo-flutter-skills-skills_flutter-accessibility-af9552b.zip · 4 KB

Install

skills CLI npx skills add https://github.com/thienqo/flutter-skills/tree/main/skills/flutter-accessibility
Claude Code claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install thienqo-flutter-skills@llmmart
Git git clone https://github.com/thienqo/flutter-skills.git

The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole thienqo/flutter-skills collection as a plugin from our marketplace. Git is the plain clone.

Skill manifest

Flutter Accessibility

Treat accessibility as behavior to implement and verify, not a label-only cleanup.

Audit the flow

Identify the primary task, semantic reading order, actionable controls, dynamic announcements, focus transitions, text scaling, contrast, motion, and keyboard or switch access on each target platform.

Rules

  • Prefer semantic built-in controls before manually adding Semantics.
  • Give custom interactive widgets roles, labels, values, states, and actions without duplicating child semantics.
  • Keep visual, semantic, and keyboard focus order aligned.
  • Allow text to scale without clipping or hiding essential actions.
  • Meet platform-appropriate target sizes and do not rely on color alone.
  • Preserve functionality with reduced motion and increased contrast preferences.
  • Announce meaningful asynchronous state changes without creating repetitive noise.
  • Exclude decorative content from the semantics tree when it adds no information.

Verification

Use widget tests with semantics enabled and Flutter's accessibility guideline matchers where suitable. Also test the changed flow with TalkBack or VoiceOver and keyboard navigation on supported desktop/web targets.

References

  • Read semantics and screen readers when annotating custom widgets with Semantics, merging subtrees, or triggering dynamic voice announcements.
  • Read target sizes and contrast when auditing WCAG AA contrast ratios, minimum touch targets, or large text scaling adaptation.

Sources

Files (flutter-skills)
  • references
    • semantics-and-screen-readers.md 5.3 KB
      Loading…
    • target-sizes-and-contrast.md 2.3 KB
      Loading…
  • SKILL.md 2 KB
    ---
    name: flutter-accessibility
    description: Build or audit Flutter accessibility for semantics, screen readers, focus, keyboard access, text scaling, contrast, target size, and motion preferences. Pair with flutter-responsive-layout when large text causes reflow, clipping, or overflow across constraints.
    ---
    
    # Flutter Accessibility
    
    Treat accessibility as behavior to implement and verify, not a label-only cleanup.
    
    ## Audit the flow
    
    Identify the primary task, semantic reading order, actionable controls, dynamic announcements, focus transitions, text scaling, contrast, motion, and keyboard or switch access on each target platform.
    
    ## Rules
    
    - Prefer semantic built-in controls before manually adding `Semantics`.
    - Give custom interactive widgets roles, labels, values, states, and actions without duplicating child semantics.
    - Keep visual, semantic, and keyboard focus order aligned.
    - Allow text to scale without clipping or hiding essential actions.
    - Meet platform-appropriate target sizes and do not rely on color alone.
    - Preserve functionality with reduced motion and increased contrast preferences.
    - Announce meaningful asynchronous state changes without creating repetitive noise.
    - Exclude decorative content from the semantics tree when it adds no information.
    
    ## Verification
    
    Use widget tests with semantics enabled and Flutter's accessibility guideline matchers where suitable. Also test the changed flow with TalkBack or VoiceOver and keyboard navigation on supported desktop/web targets.
    
    ## References
    
    - Read [semantics and screen readers](references/semantics-and-screen-readers.md) when annotating custom widgets with Semantics, merging subtrees, or triggering dynamic voice announcements.
    - Read [target sizes and contrast](references/target-sizes-and-contrast.md) when auditing WCAG AA contrast ratios, minimum touch targets, or large text scaling adaptation.
    
    ## Sources
    
    - [Flutter accessibility](https://docs.flutter.dev/ui/accessibility)
    - [Accessibility testing](https://docs.flutter.dev/ui/accessibility/accessibility-testing)
    

Comments (0)

Sign in to join the conversation.

No comments yet.

Reviews (0)

No reviews yet.