WCAG
WCAGإرشادات إمكانية الوصول لمحتوى الويب (WCAG)
Definition
The international standard for web accessibility — defines criteria for making web content accessible to people with disabilities.
المعيار الدولي لإمكانية وصول الويب — يُعرّف معايير لجعل محتوى الويب قابلاً للوصول للأشخاص ذوي الإعاقات.
Why It Matters
Brand colors like brand-purple on white backgrounds in 404Fault must meet 4.5:1 contrast ratio. Lighthouse accessibility audit flags WCAG violations automatically.
ألوان العلامة التجارية مثل brand-purple على خلفيات بيضاء في 404Fault يجب أن تستوفي نسبة التباين 4.5:1. مراجعة Lighthouse لإمكانية الوصول تُشير إلى انتهاكات WCAG تلقائيًا.
Full Definition
Example Usage
“// WCAG AA requires 4.5:1 contrast ratio: // brand-purple (#8b5cf6) on white (#fff) = 4.7:1 ✅ // Light gray text on white = might fail ❌”
“// WCAG AA تتطلب نسبة تباين 4.5:1: // brand-purple (#8b5cf6) على أبيض (#fff) = 4.7:1 ✅ // نص رمادي فاتح على أبيض = قد يفشل ❌”
AI Builder Tips
Avoid these mistakes when using WCAG:
Low contrast 'placeholder' or 'muted' text that looks elegant but fails AA
Icon-only buttons without aria-label — screen readers announce them as unlabelled
Sign in to unlock guided AI explanations from AI Teacher.
Generate a Prompt
Copy this prompt and use it directly with any AI model — no setup needed.
Help me build a project using WCAG. Explain: 1. What is WCAG and why it matters 2. The core architecture and required tools 3. Step-by-step implementation plan 4. Common mistakes to avoid: Low contrast 'placeholder' or 'muted' text that looks elegant but fails AA, Icon-only buttons without aria-label — screen readers announce them as unlabelled 5. Best practices and production tips