Skillpedia
المواقع والواجهات (frontend)75k · #2730

aria-labels

ما الذي تفعله

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

متى تستخدمها

  • ✓عندما تضيف أزرارًا أيقونية أو روابط أو عناصر تفاعلية إلى الصفحة.
  • ✓عندما تستخدم أدوات التحكم كلمات غامضة مثل «المزيد» أو «انقر هنا».
  • ✓عندما تدقق صفحة من حيث الأسماء الأساسية التي يمكن الوصول إليها.

رابط المهارة

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/aria-labels/SKILL.md

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

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

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

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

استخدم هذه المهارة لمساعدتي: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/aria-labels/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

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

“دقّق لوحة التحكم لدي، وأخبرني أي الأزرار والروابط تحتاج إلى تسميات أفضل.”

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

كيف تعمل

يفحص الوكيل كل أداة تحكم بحثًا عن اسم نصي أو aria-label أو aria-labelledby، ويقترح أسماء قصيرة وواضحة لكل ما هو ناقص أو غامض.

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

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

Provide accessible names for all interactive elements

Interactive elements are the core of web navigation; without names, they become 'mystery meat' that users cannot confidently interact with.

Quick Reference

  • Buttons, links, and other controls must have a discernable name
  • Names should be concise and describe the action or destination
  • Avoid generic names like 'Click Here' or 'More'

Check

Audit all interactive elements (buttons, links, widgets) for missing or unhelpful accessible names.

Fix

Add descriptive text content or aria-label attributes to all interactive elements.

Explain

Explain how clear labels on interactive elements improve accessibility and general usability.

Code Review

Review the rendered markup and interactive states that affect Provide accessible names for all interactive elements. Flag exact elements, roles, labels, focus behavior, or keyboard interactions that violate the rule, and note how to verify the fix with browser accessibility tooling or assistive tech.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/accessibility/aria-labels

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

ما الاسم الجيد لأداة التحكم؟

توصي المهارة باسم موجز يصف الإجراء أو الوجهة، لا كلمة عامة مثل «المزيد».

هل يمكن أن يكون النص المرئي هو الاسم؟

نعم. يمكن أن يكون محتوى النص الوصفي هو الاسم القابل للوصول.

لماذا تحذر المهارة من أدوات التحكم الغامضة؟

لأنه بدون اسم لا يستطيع المستخدم معرفة ما تفعله الأداة دون تخمين.

التفاصيل

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

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Provide accessible names for all interactive elements. Check native semantics first, then inspect keyboard behavior, focus flow, accessible names, and screen-reader output where relevant.

repo: thedaviddias/Front-End-Checklist

الشعبية

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

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

0

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

التعليقات

  • …

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

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