audit-accessibility

द्वारा flutter

Ensure the plugin's custom UI components are accessible to users with screen readers and other assistive technologies.

npx skills add https://github.com/flutter/flutter-intellij --skill audit-accessibility

Skill: Accessibility (A11y) Audit

You are tasked with ensuring the plugin's custom UI components are accessible to users with screen readers and other assistive technologies.

Objective

Ensure the plugin's custom UI components are accessible to users with screen readers and other assistive technologies.

Workflow Instructions

1. Baseline

  • Run ./gradlew testClasses to ensure project compilation.
  • Run ./gradlew test to ensure the project is stable.
  • Run ./gradlew verifyPlugin to ensure no verification issues.

2. Identify Custom UI

  • List all custom JPanel, JComponent, or Dialog classes in the codebase.

3. Check Properties

  • Verify that every interactive component has:
    • getAccessibleContext().setAccessibleName(...)
    • getAccessibleContext().setAccessibleDescription(...)

4. Focus Management

  • Ensure custom components handle focus traversal correctly (Tab/Shift+Tab).

5. Color Contrast

  • If custom colors are used, verify they meet WCAG contrast guidelines (especially for dark themes).

6. Verify

  • Run ./gradlew testClasses and ./gradlew test to ensure no regressions.
  • Run ./gradlew verifyPlugin to ensure strict compliance.
  • Use the "Accessibility Inspector" (if available in the SDK) or a screen reader to navigate the UI.
  • Suggest manual test steps: Check the code changes made and write test steps for a user to execute that will trigger the code paths that have changed. If needed, add logging statements to verify that the code paths have successfully run.

7. Report & Review

  • Summarize the accessibility improvements in the form of a git commit message.
  • Test Location: Explicitly state where in the IDE the user should go to test the changed functionality (e.g., "Go to Preferences > Languages & Frameworks > Flutter").
  • Action: Ask the user to review the UI changes closely.
  • Do not commit or push.

flutter की और Skills

adding-release-notes
flutter
उपयोगकर्ता-सामना करने वाले परिवर्तन विवरणों को DevTools रिलीज़ नोट्स में जोड़ता है। NEXT_RELEASE_NOTES.md फ़ाइल में सुधार, सुधार या नई सुविधाओं का दस्तावेज़ीकरण करते समय उपयोग करें।
official
dart-modern-features
flutter
आधुनिकीकरण के लिए उम्मीदवार खोजने हेतु:
official
api-review
flutter
निर्दिष्ट कोड की विहित API डिज़ाइन दिशानिर्देशों के अनुसार समीक्षा करता है। इस कौशल का उपयोग तब करें जब उपयोगकर्ता API समीक्षा के लिए पूछे या API डिज़ाइन के अनुसार कोड की जाँच करने के लिए…
official
code-documentation
flutter
प्रभावी कोड दस्तावेज़ीकरण लिखने के लिए मार्गदर्शिका, जिसमें docstrings, JSDoc, dartdoc, और implementation comments शामिल हैं। नया कोड लिखते समय, जोड़ते समय इस skill का उपयोग करें…
official
dart-add-unit-test
flutter
Write and organize unit tests for functions, methods, and classes using `package:test`. Use when creating new logic or fixing bugs to ensure code remains…
official
dart-build-cli-app
flutter
प्रवेश बिंदु संरचना, निकास कोड, क्रॉस-प्लेटफ़ॉर्म स्क्रिप्ट। कमांड लाइन उपयोगिताओं, स्क्रिप्ट्स, या अनुप्रयोगों के निर्माण के समय उपयोग करें।
official
dart-collect-coverage
flutter
कवरेज पैकेज का उपयोग करके कवरेज एकत्र करें और एक LCOV रिपोर्ट बनाएं
official
dart-fix-runtime-errors
flutter
get_runtime_errors और lsp का उपयोग करके सक्रिय स्टैक ट्रेस प्राप्त करता है, विफल पंक्ति का पता लगाता है, सुधार लागू करता है, और hot_reload के माध्यम से समाधान सत्यापित करता है।
official