Skillpedia
الواجهات (UI/UX)48k · #6035

ui-a11y

ما الذي تفعله

تفحص هذه المهارة ما إذا كان مكوّن ويب أو صفحة متاحًا للجميع، خاصة لذوي الإعاقة، وتحاول إصلاح المشكلات التي تجدها.

متى تستخدمها

  • ✓عندما تريد التأكد من أن موقعك يعمل لذوي الإعاقة البصرية.
  • ✓عندما تنشئ أزرارًا أو روابط وتجعلها سهلة النقر على الشاشات اللمسية.
  • ✓للتحقق من أن النص والألوان في موقعك متباينان بما يكفي لتسهيل القراءة.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-a11y/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/ui-a11y/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“تحقق من مشكلات إمكانية الوصول في هذه الصفحة وأصلحها: [رابط الصفحة]”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تحلل المهارة كود صفحتك بحثًا عن مشكلات شائعة في إمكانية الوصول، مثل تباين الألوان المنخفض، أو غياب أوصاف الصور، أو الأزرار الصغيرة جدًا. وتحاول إصلاح بعض هذه المشكلات تلقائيًا.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Accessibility Audit

When to Use

Use this skill when you need audit a component or page for accessibility issues and fix them.

When NOT to use

  • For general design system compliance review → use /ss-review
  • For Nielsen UX heuristics → use /ss-audit
  • For non-StyleSeed code (no data-slot, no semantic tokens) — assumes StyleSeed conventions
  • For runtime testing — this is a static code audit, not a screen-reader simulation

Target: $ARGUMENTS

Audit Criteria

WCAG 2.2 AA Compliance

1. Perceivable

  • Color contrast: Text must meet 4.5:1 (normal) or 3:1 (large/bold text)
    • Check text-muted-foreground (#717182) on bg-background (#FFFFFF) = 4.6:1 (passes)
    • Check text-brand on white (verify contrast with your skin's brand color)
    • Flag any custom colors that don't meet ratio
  • Non-text contrast: UI controls/graphics must meet 3:1
  • Text alternatives: All <img> need alt, icons need aria-label when meaningful
  • Color independence: Don't convey info by color alone (add icons/text)

2. Operable

  • Touch targets: Minimum 44x44px (min-h-11 min-w-11)
    • Common violation: h-9 (36px) buttons — should be h-11
    • Icon buttons need explicit size: w-11 h-11
  • Keyboard navigation: All interactive elements must be keyboard-accessible
    • Tab order should be logical
    • focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2
  • Motion: Animations must respect prefers-reduced-motion
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
    }
    

3. Understandable

  • Labels: Form inputs must have visible labels or aria-label
  • Error messages: Form errors must be programmatically associated (aria-describedby)
  • Language: <html lang="en"> (or appropriate language code for your project)

4. Robust

  • Semantic HTML: Use appropriate elements (<button>, <nav>, <main>, <header>)
  • ARIA: Use Radix UI components (they handle ARIA automatically)
  • Roles: Custom interactive elements need proper role attributes

Design System Token Reference

Token Minimum Contrast Note
--foreground 7:1+ Body text — verify with your skin
--muted-foreground 4.5:1+ Secondary text — verify with your skin
--brand 4.5:1+ Accent — verify with your skin's brand color
--destructive 4.5:1+ Error — verify with your skin
--success 3:1+ Large text/icons only — verify with your skin
--warning 4.5:1+ Warning text — some skins need a darker variant

Output

  1. Issues found: List with severity (Critical/Major/Minor)
  2. Auto-fixes: Apply fixes directly where possible
  3. Manual review needed: Flag items that need human judgment

Example

User request:

Audit a component or page for accessibility issues and fix them.

Limitations

  • Use this skill only when the task clearly matches its upstream source and local project context.
  • Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
  • Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
الأسئلة الشائعة

ما هي إمكانية الوصول على الويب؟

هي ضمان أن يستطيع الجميع استخدام المواقع والتطبيقات، بمن فيهم ذوو الإعاقات البصرية والسمعية والحركية والمعرفية.

ما هي إرشادات WCAG 2.2 AA؟

هي إرشادات دولية لجعل محتوى الويب متاحًا للجميع. والمستوى AA معيار شائع يجب اتباعه.

هل تصلح المهارة كل المشكلات؟

تحاول إصلاح المشكلات الشائعة تلقائيًا، لكن بعضها قد يحتاج إلى مراجعة وتعديل يدويين من شخص.

التفاصيل

الوصف الأصلي من المؤلف

Audit a component or page for accessibility issues and fix them

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#6035
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة