- معرفی
- الگوهای Design SystemDesign System Patterns
- چند Design System در Next.jsMulti Design System
- دسترسپذیری و استاندارد WCAGAccessibility Compliance
- راهنمای رابط کاربری وبWeb Interface Guidelines
- سئو برای سایت فارسیpersian-seo
- طراحی تعاملInteraction Design
- طراحی واکنشگراResponsive Design
- نمودار فارسی و راستچینRTL Charts
- Open Graph و پیشنمایش لینکOpen Graph & Social Preview
دسترسپذیری و استاندارد WCAG
کمک میکند کامپوننتها برای کاربران مختلف قابل استفاده باشند و مواردی مثل کیبورد، Focus، کنتراست و Screen Reader از ابتدا درست پیاده شوند.
کاربردها
- رعایت اصول WCAG
- پشتیبانی از Keyboard Navigation
- مدیریت درست Focus
- استفاده صحیح از ARIA
- بررسی کنتراست و وضعیتهای مختلف کامپوننت
مثال
یک Dialog فقط با کلیک ماوس کار نمیکند؛ Focus را مدیریت میکند، با Escape بسته میشود و برای Screen Reader هم ساختار قابل فهمی دارد.
فایل مهارت
---
name: accessibility-compliance
description: >
Implement WCAG 2.2 compliant interfaces with mobile accessibility, inclusive
design patterns, and assistive technology support. Use when auditing
accessibility, implementing ARIA patterns, building for screen readers, or
ensuring inclusive user experiences.
---
# Accessibility Compliance
Master accessibility implementation to create inclusive experiences that work
for everyone, including users with disabilities.
## When to Use This Skill
- Implementing WCAG 2.2 Level AA or AAA compliance
- Building screen reader accessible interfaces
- Adding keyboard navigation to interactive components
- Implementing focus management and focus trapping
- Creating accessible forms with proper labeling
- Supporting reduced motion and high contrast preferences
- Building mobile accessibility features (iOS VoiceOver, Android TalkBack)
- Conducting accessibility audits and fixing violations
## Best Practices
1. **Use Semantic HTML**: Prefer native elements over ARIA when possible
2. **Test with Real Users**: Include people with disabilities in user testing
3. **Keyboard First**: Design interactions to work without a mouse
4. **Don't Disable Focus Styles**: Style them, don't remove them
5. **Provide Text Alternatives**: All non-text content needs descriptions
6. **Support Zoom**: Content should work at 200% zoom
7. **Announce Changes**: Use live regions for dynamic content
8. **Respect Preferences**: Honor `prefers-reduced-motion` and `prefers-contrast`
## Common Issues
- **Missing alt text**: Images without descriptions
- **Poor color contrast**: Text hard to read against background
- **Keyboard traps**: Focus stuck in component
- **Missing labels**: Form inputs without associated labels
- **Auto-playing media**: Content that plays without user initiation
- **Inaccessible custom controls**: Recreating native functionality poorly
- **Missing skip links**: No way to bypass repetitive content
- **Focus order issues**: Tab order doesn't match visual order
## Dialog checklist (example)
- Focus moves into the dialog on open and returns on close
- Focus is trapped while open
- Escape closes the dialog
- Title is announced; content has a clear accessible name
- Works without a pointer (keyboard / assistive tech)
## Testing Tools
- **Automated**: axe DevTools, WAVE, Lighthouse
- **Manual**: VoiceOver (macOS/iOS), NVDA/JAWS (Windows), TalkBack (Android)
- **Simulators**: NoCoffee (vision), Silktide (various disabilities)
## Source
Adapted from [wshobson/agents — accessibility-compliance](https://github.com/wshobson/agents/tree/main/plugins/ui-design/skills/accessibility-compliance).
نصب
راهنمای کامل در نحوه نصب.
نصب سریع با CLI
npx farsiui@latest add accessibility-complianceنصب دستی
فایل را دانلود کنید یا خودتان بسازید و در یکی از مسیرهای زیر بگذارید:
Claude Code.claude/skills/accessibility-compliance/SKILL.md
Cursor.cursor/skills/accessibility-compliance/SKILL.md
Codex.agents/skills/accessibility-compliance/SKILL.md