شعار Aria Patterns

Aria Patterns

مؤسسة
weAAAre
aria-patterns

Expert knowledge base for building accessible UI components with awareness of real-world assistive technology (AT) support gaps. Goes beyond the WAI-ARIA spec to provide actual AT compatibility data from a11ysupport.io, known screen reader quirks, proven workarounds, and the critical gotchas that emerge when ARIA meets real users on real devices. Use this skill whenever the user is building, reviewing, fixing, or testing an interactive UI component for accessibility — especially when they need to know what actually works across screen readers, not just what the spec says should work. Trigger on mentions of "ARIA", "a11y", "accessibility", "screen reader", "keyboard navigation", "WAI-ARIA", "APG patterns", "AT support", "assistive technology", "aria-modal", "tooltip role", "combobox", "menu pattern", "switch role", or any question about whether an ARIA feature actually works in practice. Also trigger when the user mentions specific screen readers (JAWS, NVDA, VoiceOver, TalkBack, Narrator) or asks about cross-browser/cross-AT compatibility for accessible components.

نظرة عامة

الناشرweAAAre
المستودعa11y-agents-kit
اسم المهارةaria-patterns
النجوم
35
التفريعات
6
الملفات المرفقة
12
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/weAAAre/a11y-agents-kit/tree/main/skills/aria-patterns
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/weAAAre/a11y-agents-kit.git /tmp/a11y-agents-kit
mkdir -p .claude/skills
cp -r /tmp/a11y-agents-kit/skills/aria-patterns .claude/skills/aria-patterns
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

ARIA Accessible Component Patterns

This skill provides deep, practical knowledge about accessible UI component patterns based on the WAI-ARIA Authoring Practices Guide (APG).

Why this skill exists

LLMs already know the ARIA spec reasonably well. What they often get wrong is the gap between spec and reality:

  • role="tooltip" has 3/33 MUST support on a11ysupport.io — it's essentially dead
  • aria-modal="true" is not supported by TalkBack, Narrator, or Orca — your modal isn't actually modal
  • aria-autocomplete has 11/55 MUST support — screen readers mostly ignore it
  • aria-errormessage has ~20% MUST support — designed for form errors but AT ignores it; use aria-describedby instead
  • aria-relevant is completely broken for ANY non-default value — "additions" alone has 0/11 full support (NVDA ZERO on all browsers — stops announcing entirely); "text" alone also 0/11 (Narrator, VoiceOver iOS/macOS = none); "removals" 2/11 (VoiceOver only); the default "additions text" is the ONLY value that works (11/11)
  • aria-controls navigation works only in JAWS — other screen readers don't expose it
  • role="menu" is for application commands, not site navigation — this is the #1 ARIA misuse
  • aria-busy="true" is supposed to suppress live region updates but only JAWS supports it — every other screen reader ignores it
  • aria-live="assertive" does NOT interrupt in JAWS — the most-used desktop screen reader queues it instead
  • aria-details has 7/11 MUST support — VoiceOver (macOS + iOS), Narrator, and TalkBack completely ignore it; use aria-describedby as primary link to descriptions
  • aria-activedescendant is completely unsupported for combobox on VoiceOver macOS/Safari — it works for menus but combobox options are invisible; use DOM focus (roving tabindex) instead
  • aria-current has ZERO support on Narrator and Orca — the attribute recommended for breadcrumbs, step indicators, and nav is invisible to Windows built-in and Linux screen readers; dynamic state changes only announced by NVDA and VoiceOver iOS
  • aria-pressed="mixed" has near-zero support — only JAWS (Chrome/Firefox) and VoiceOver macOS convey the tri-state; NVDA, Narrator, Orca, TalkBack, VoiceOver iOS all ignore it
  • aria-sort dynamic changes are announced by only NVDA+Firefox (1/11 combos) — when a user clicks a column header to change sort direction, JAWS, Narrator, VoiceOver (all platforms), Orca, and TalkBack are all silent; Orca and TalkBack can't even read static ascending/descending values
  • aria-colcount="-1" (unknown column count) is broken in ALL screen readers (0/11) — every AT ignores the spec's MUST NOT and announces its own calculated count, misleading users; VoiceOver (macOS + iOS) and TalkBack don't support aria-colcount at all
  • aria-flowto has 10/44 MUST support (23%) — only JAWS supports alternate reading order navigation; NVDA, VoiceOver, TalkBack, Narrator, and Orca completely ignore it, making it useless for defining multi-column or complex layout reading paths
  • aria-level above 6 has ZERO support in JAWS (all browsers) and TalkBack — only 4/11 combos fully support heading levels >6; JAWS announces "heading" with no level number; restructure headings to stay within 1–6 or encode depth context in the accessible name

This skill provides the AT support reality data that prevents developers from shipping components that work in theory but fail for real screen reader users.

How to use this skill

  1. Read the reference file for the pattern the user needs
  2. Always check references/at-support-gotchas.md for cross-cutting AT support issues — this file contains the most critical knowledge that other sources miss
  3. Check references/live-regions.md whenever the user's component involves dynamic content updates, notifications, or status messages — live region behavior is deeply unintuitive
  4. Check references/form-validation.md whenever the user is implementing form validation, error handling, or required field patterns — aria-errormessage is deceptively broken
  5. Adapt to the user's context (framework, building vs auditing, testing)

When the user asks about a pattern, prioritize AT support reality over idealized spec behavior. If a feature has known support gaps, say so explicitly and provide workarounds.

Available patterns

PatternReference fileKey AT insight
Accordionreferences/accordion.mdWell-supported; heading structure is the critical factor
Checkboxreferences/checkbox.mdNative recommended; tri-state has nuanced AT behavior
Comboboxreferences/combobox.mdaria-autocomplete is nearly unsupported — use live regions
Dialog (Modal)references/dialog.mdaria-modal fails in 3+ screen readers — use inert or native <dialog>
Menu and Menubarreferences/menu.mdNOT for site navigation — only for app-style commands
Switchreferences/switch.mdFalls back to "checkbox" in many screen readers
Tabsreferences/tabs.mdAutomatic activation recommended; Tab key goes to panel, NOT next tab
Tooltipreferences/tooltip.mdrole="tooltip" is essentially dead — rely on aria-describedby/aria-labelledby

Cross-cutting reference

ReferenceFileContent
AT Support Gotchasreferences/at-support-gotchas.mdCritical ARIA features with broken AT support, workarounds, and testing recommendations
Live Regionsreferences/live-regions.mdaria-busy broken everywhere except JAWS, assertive doesn't interrupt in JAWS, DOM-first rule, debouncing
Form Validationreferences/form-validation.mdaria-errormessage barely works — use aria-describedby; group/radiogroup mobile gaps; DOM-first rule for alerts

Reference file structure

Each reference file follows the same structure:

  1. Identity — what makes a component this pattern (and what doesn't), with a comparison table against similar patterns
  2. Variants — behavioral differences between sub-types
  3. Anatomy & markup — required HTML structure and ARIA attributes, with code for both native and custom implementations
  4. Keyboard interaction — every key the component must respond to, organized as required vs. optional
  5. State management — how ARIA states change in response to user interaction, with state transition rules
  6. Screen reader expectations — what semantic information must be conveyed, acknowledging differences across screen readers
  7. Implementation guide — practical guidance for building the component correctly, with native-first approach
  8. Common mistakes — frequent accessibility failures and how to fix them
  9. Acceptance criteria — concise, verifiable checklist for auditing, organized by severity

General principles

Prefer native HTML (First Rule of ARIA)

Use native HTML elements whenever they provide the needed semantics. A <button> is always preferable to a <div role="button">. Only reach for ARIA when no native element can achieve the result.

Spec vs reality

The ARIA spec defines what SHOULD happen. Real AT support determines what DOES happen. When this skill flags a support gap, take it seriously — millions of users depend on screen readers that may not implement the spec correctly. Always provide fallbacks for features with known gaps.

Screen reader announcements are semantic, not verbatim

When this skill describes what a screen reader should announce, it refers to the semantic information that must be conveyed — not the exact words. NVDA, JAWS, VoiceOver, and TalkBack each phrase things differently, but the underlying meaning must be present.

Severity levels

  • Critical — Failure makes the component unusable for AT users. Must be resolved.
  • Major — Failure significantly degrades the experience. Should be resolved.
  • Minor — Usability inconvenience. Resolve when possible.

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

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

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

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

Expert knowledge base for building accessible UI components with awareness of real-world assistive technology (AT) support gaps. Goes beyond the WAI-ARIA spec to provide actual AT compatibility data from a11ysupport.io, known screen reader quirks, proven workarounds, and the critical gotchas that emerge when ARIA meets real users on real devices. Use this skill whenever the user is building, reviewing, fixing, or testing an interactive UI component for accessibility — especially when they need to know what actually works across screen readers, not just what the spec says should work. Trigge...

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

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

كيف أثبّت Aria Patterns في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/weAAAre/a11y-agents-kit/tree/main/skills/aria-patterns. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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