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

aria-progressbar-name

ما الذي تفعله

هذه المهارة تفحص أن أشرطة التقدم لها اسم واضح وتفاصيل قيمة مناسبة. وهي موجهة لمطوري مؤشرات الرفع والتحميل وخطوات التقدم.

متى تستخدمها

  • ✓عندما تعرض شريط تقدم لرفع ملف أو مهمة في الخلفية.
  • ✓عندما لا يملك شريط التقدم اسمًا، أو يصف نفسه بكلمة تقدم فقط.
  • ✓عندما يُبنى مؤشر تقدم مرئي من عناصر div عادية ولا يعرض حالته.

رابط المهارة

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

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

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

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

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

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

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

“اجعل شريط تقدم الرفع في نموذجي يخبر قارئ الشاشة بما يُرفع، وإلى أي مدى وصل.”

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

كيف تعمل

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

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

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

Provide accessible names for progress bars

Without an accessible name, screen reader users will only hear that a progress bar exists but won't know what task or process it represents.

Quick Reference

  • Use aria-label or aria-labelledby to name progress bars
  • Ensure the name describes what the progress indicates
  • Avoid redundant text like "progress" in the label
  • Provide aria-valuenow, aria-valuemin, and aria-valuemax when the value is known
  • Visual progress meters should use real progress semantics rather than decorative divs when they communicate status

Check

Check if all progress bar elements (role="progressbar") have an accessible name via aria-label or aria-labelledby.

Fix

Add an aria-label or aria-labelledby attribute to the progress bar to describe what it is measuring.

Explain

Explain why progress bars need accessible names for screen reader users to understand the context of the loading state.

Code Review

Review the rendered markup and interactive states that affect Provide accessible names for progress bars. 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-progressbar-name

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

ماذا يسمع قارئ الشاشة دون اسم؟

قد يعلن فقط أن شريط التقدم موجود، دون معرفة المهمة التي يمثلها.

هل يجب أن يكرر الاسم كلمة تقدم؟

لا. تنصح المهارة بتجنب كلمات زائدة مثل «تقدم» في التسمية.

ماذا عن القيمة الحالية؟

توصي المهارة بـ aria-valuenow وaria-valuemin وaria-valuemax عندما تكون القيمة معروفة.

التفاصيل

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

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Provide accessible names for progress bars. 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
الترتيب
#2733
الترخيص
MIT
آخر تحديث
31‏/10‏/2026

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

0

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

التعليقات

  • …

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

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