0Pricing
Web Accessibility Academy · درس

قراءة APG: الأنماط والمفاتيح والأمثلة

استخدموا الدليل مرجعاً معيارياً لأي أداة

قراءة APG: الأنماط والمفاتيح والأمثلة درس مجاني في Web Accessibility Academy على CoddyKit. هذا هو الدرس 1 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Web Accessibility Academy، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Web Accessibility Academy 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

Meet the APG

The ARIA Authoring Practices Guide is the official W3C playbook for building custom widgets the right way. When you are unsure, it is your spec. 📘

Don't Reinvent It

The APG gives you proven patterns for tabs, menus, dialogs, and more. You copy a tested recipe instead of guessing at roles and keys yourself.

Anatomy of a Pattern

Every APG pattern has the same sections: an overview, the keyboard interaction, the required ARIA roles and attributes, and live examples to study.

Keyboard Is the Contract

The Keyboard Interaction table tells you exactly what each key must do. Users expect these keys, so treat the table as a hard requirement.

The Roles Table

The WAI-ARIA Roles, States, and Properties table lists every attribute the widget needs and when each one changes. Skip none of them.

Study the Examples

Each pattern ships a working example with full source. Read it, test it with a screen reader, then adapt the markup to your own UI.

<div role="tablist" aria-label="Settings">
  <button role="tab" aria-selected="true">General</button>
</div>

Native First, Always

The APG opens with a warning: prefer native HTML when it exists. Only reach for these patterns when no real element does the job.

States Change at Runtime

Patterns separate fixed roles from changing states. You set aria-expanded or aria-selected with JavaScript as the user interacts, not once in the HTML.

Focus Is Part of the Spec

Many patterns describe exactly where focus must go and how it moves. Following that focus choreography is as important as the ARIA itself.

Test Against the Pattern

Once built, walk your widget through the APG keyboard table key by key. If every row passes, you have matched the proven behavior.

It Is a Living Guide

The APG is versioned and updated as ARIA evolves, so check the current edition rather than an old blog post copying it.

Quick Check

You are about to build a custom widget. What should the APG steer you toward first?

Recap

The APG is your widget spec: native first, then follow each pattern's roles, states, keys, and focus. Test against its tables and you ship behavior users already know. ✅

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

هل درس «قراءة APG: الأنماط والمفاتيح والأمثلة» مجاني؟

نعم — نص درس «قراءة APG: الأنماط والمفاتيح والأمثلة» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Web Accessibility Academy، انتقل إلى CoddyKit PRO. تتضمن دورة Web Accessibility Academy 4 دروس في المجموع.

ماذا ستتعلم في «قراءة APG: الأنماط والمفاتيح والأمثلة»؟

استخدموا الدليل مرجعاً معيارياً لأي أداة تتمرن على Web Accessibility Academy مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ Web Accessibility Academy؟

لا تُشترط خبرة سابقة. Web Accessibility Academy على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 1 من أصل 4.

كم من الوقت يستغرق درس «قراءة APG: الأنماط والمفاتيح والأمثلة»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس Web Accessibility Academy هذا؟

نعم. كل درس في Web Accessibility Academy يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. قراءة APG: الأنماط والمفاتيح والأمثلة
  2. إتقان Combobox والإكمال التلقائي
  3. القائمة وMenubar وزر القائمة
  4. Treegrid والأنماط المتقدمة الأخرى
← العودة إلى Web Accessibility Academy