شعار Accessibility

Accessibility

المجتمع
flitzrrr
accessibility

WCAG conformance, BFSG compliance, semantic HTML, ARIA, keyboard navigation, contrast, forms, and assistive technologies. Defines binding rules for accessible web interfaces per WCAG 2.1 AA.

نظرة عامة

الناشرflitzrrr
المستودعfrontend-design-skills
اسم المهارةaccessibility
النجوم
9
التفريعات
2
الملفات المرفقة
1
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها flitzrrr على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Accessibility في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/flitzrrr/frontend-design-skills/tree/main/skills-src/accessibility
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/flitzrrr/frontend-design-skills.git /tmp/frontend-design-skills
mkdir -p .claude/skills
cp -r /tmp/frontend-design-skills/skills-src/accessibility .claude/skills/accessibility
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Accessibility في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Accessibility تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Accessibility بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

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

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Accessibility

Accessible web interfaces are mandatory -- legally, ethically, and commercially.

Scope

Use this skill when: You are auditing HTML structure and semantics, setting ARIA attributes, implementing keyboard navigation, checking contrasts, designing accessible forms, making media accessible, ensuring BFSG compliance, or auditing existing interfaces for accessibility.

Principles

1. Accessibility Is a Baseline Requirement -- Not a Special Feature

Accessible design benefits EVERYONE. Situational limitations (sunlight, noisy environments, one hand occupied) affect everyone.

2. From the Start -- Not Retrofitted

Retrofitting is 10x more expensive and 10x worse. Accessibility belongs in every phase: concept, design, development, testing.

3. The Four POUR Principles Are Mandatory

Perceivable, Operable, Understandable, Robust.

4. Technology and Design Must Work Together

Not just a developer concern (HTML) and not just a design concern (contrast). Both disciplines in sync.

5. Legal Obligation (BFSG Effective June 28, 2025)

The German Accessibility Reinforcement Act (BFSG) requires many companies to provide digital accessibility. It is not optional.

Rules

Semantic HTML

  • DO: Use native elements for their purpose: <button> for actions, <a> for navigation, <nav>, <main>, <article>.
  • DO: Maintain a logical heading hierarchy: exactly one <h1> per page. Do not skip levels.
  • DO: Use landmark elements: <header>, <nav>, <main>, <aside>, <footer>.
  • DON'T: Use <div> or <span> for interactive elements. <div onclick> is NOT a button.
  • DON'T: Misuse headings for styling.

ARIA Attributes

  • DO: Use ARIA only when no native HTML element fulfills the purpose.
  • DO: Add aria-label to interactive elements without visible text (icon buttons).
  • DO: Use aria-live="polite" for dynamic content (toast notifications).
  • DO: Use role="alert" for error messages.
  • DON'T: Overload elements with ARIA. Redundant ARIA does harm.
  • DON'T: Set aria-hidden="true" on visible, interactive elements.

Keyboard Navigation

  • DO: Make ALL interactive elements reachable via keyboard (Tab, Enter, Space, Escape, Arrow keys).
  • DO: Provide a visible focus indicator: min. 3:1 contrast, 2-3px outline.
  • DO: Implement focus trap in modals.
  • DO: Include a skip-to-content link as the first focusable element.
  • DO: Ensure tab order matches the visual reading order. Use tabindex only with values 0 or -1.
  • DON'T: Use tabindex > 0 (breaks natural order).
  • DON'T: Set outline: none without an adequate replacement.

Contrast & Colors

  • DO: Normal text: min. 4.5:1 (WCAG AA).
  • DO: Large text (>= 24px / >= 18.66px bold): min. 3:1.
  • DO: UI components: min. 3:1.
  • DO: NEVER use color as the only signal. Always provide a second signal: text, icon, pattern.
  • DO: Test for color vision deficiency (Chrome DevTools > Rendering > Emulate vision deficiencies).
  • DON'T: Rely on red-green distinctions for critical information (8% of male users affected).

Images & Media

  • DO: Informative images: descriptive alt text (content, not appearance).
  • DO: Decorative images: alt="" (empty alt text).
  • DO: Videos with captions. Audio with transcripts.
  • DO: Make animations pausable. Respect prefers-reduced-motion in CSS.
  • DON'T: Use flashing content (> 3 flashes/second can trigger seizures).

Forms

  • DO: Associate every field with a visible <label> via for/id.
  • DO: Required fields: text + aria-required="true".
  • DO: Error messages directly at the field + aria-describedby.
  • DO: Use autocomplete attributes on standard fields.
  • DON'T: Use placeholder as a label replacement.
  • DON'T: Use CAPTCHAs without an accessible alternative.

Responsive & Touch

  • DO: Touch targets min. 44x44px (WCAG), preferably 48x48px.
  • DO: Spacing between targets min. 8px.
  • DO: Support zoom up to 200% without loss of functionality.
  • DON'T: Block zooming (user-scalable=no, maximum-scale=1).

Motion & Animation

  • DO: Respect prefers-reduced-motion. Reduce or remove animations.
  • DO: Make automatic motion (carousels, videos) pausable.
  • DON'T: Use parallax or large motion effects without a prefers-reduced-motion fallback.

Detailed pattern descriptions and code examples: see references/patterns.md

Patterns

Skip Navigation

First focusable link: "Skip to content." Visually hidden, visible on focus. Links to <main>.

Accessible Modal

role="dialog" + aria-modal="true" + aria-labelledby. Focus trap. Escape closes. Focus returns to the trigger.

Error Summary

Error summary at the top of the form with links to affected fields. role="alert". Additionally inline errors.

Accessible Accordion

<button> as trigger with aria-expanded. Content with aria-labelledby. Arrow keys for navigation.

Anti-Patterns

Div Soup

Everything built from <div> and <span>. Solution: Use native HTML elements.

Invisible Focus Indicator

outline: none without replacement. Solution: Visible focus styles with min. 3:1 contrast.

Placeholder as Label

Fields without <label>. Solution: Always use a visible label. Placeholder only as supplementary.

Auto-Playing Media

Autoplay with sound. Solution: Start only on user action. Autoplay only muted with pause option.

ARIA Overload

role="button" on a <button>. Solution: Prefer native HTML. ARIA only as a last resort.

Zoom Blocking

maximum-scale=1 in the viewport meta tag. Solution: Viewport without zoom restrictions.

Checklist

Structure & Semantics

  • Exactly one <h1> per page?
  • Heading hierarchy without gaps?
  • Landmark elements present?
  • Skip-to-content link present?
  • No interactive <div> / <span> elements?

Contrast & Colors

  • Normal text min. 4.5:1?
  • Large text min. 3:1?
  • UI components min. 3:1?
  • Color never used as the only signal?
  • Color vision deficiency tested?

Keyboard & Interaction

  • Everything reachable via keyboard?
  • Visible focus indicator?
  • Focus trap in modals?
  • Tab order = visual order?
  • No tabindex > 0?

Images & Media

  • Informative images with alt text?
  • Decorative images with alt=""?
  • Videos with captions?
  • prefers-reduced-motion respected?

Forms

  • Every field with a visible <label>?
  • Required fields marked + aria-required?
  • Inline errors with aria-describedby?
  • No placeholder as label?

Mobile & Responsive

  • Touch targets min. 44x44px?
  • Zoom up to 200% possible?

Legal

  • BFSG relevance assessed?
  • WCAG 2.1 AA as the minimum standard?
  • Accessibility statement present?

Cross-References

  • ui-design -- Accessible UI components and states
  • web-typography -- Readable font sizes and contrast requirements
  • color-theory -- WCAG contrast requirements, color vision deficiency
  • usability -- Overlap between accessibility and usability
  • responsive-design -- Touch targets, zoom, mobile screen readers
  • navigation-design -- Keyboard navigation, skip links, landmarks

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Accessibility؟

WCAG conformance, BFSG compliance, semantic HTML, ARIA, keyboard navigation, contrast, forms, and assistive technologies. Defines binding rules for accessible web interfaces per WCAG 2.1 AA.

لماذا تستخدم Accessibility على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Accessibility عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Accessibility في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/flitzrrr/frontend-design-skills/tree/main/skills-src/accessibility. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Accessibility؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Accessibility؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Accessibility معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Accessibility مجانية؟

نعم. نشرها flitzrrr على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇