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

image-redundant-alt

ما الذي تفعله

تتحقق هذه المهارة من نص الصورة البديل بحثًا عن صياغة لا تضيف شيئًا، مثل «صورة لـ»، أو نص ينسخ الكلمات القريبة منه. وهي موجهة للمطورين والمحررين الذين يكتبون النص البديل.

متى تستخدمها

  • ✓عندما يبدأ النص البديل بعبارة «صورة لـ» أو «صورة فوتوغرافية لـ».
  • ✓عندما يكرر النص البديل التسمية التوضيحية أو الكلمات الموجودة بجوار الصورة.
  • ✓عندما يقرأ قارئ الشاشة المعلومة نفسها مرتين.

رابط المهارة

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/image-redundant-alt/SKILL.md

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

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

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

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

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

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

“هل يمكنك تنظيف النص البديل لصوري حتى لا يكون مكررًا؟”

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

كيف تعمل

يفحص الوكيل سمات alt بحثًا عن عبارات زائدة ونص يكرر المحتوى المجاور. ويقترح صياغة أقصر تركز على معنى الصورة.

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

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

Avoid redundant image alternative text

Redundant alt text increases the verbosity for screen reader users without adding value, leading to a poorer user experience and slower navigation.

Quick Reference

  • Do not repeat 'image of' or 'picture of' in alt text
  • Avoid alt text that exactly matches adjacent text
  • Keep alt text concise and focused on the image's meaning

Check

Scan image alt attributes for redundant phrases like 'image of', 'photo of', or text that duplicates surrounding content.

Fix

Remove redundant phrases from the alt attribute and ensure the text provides unique, descriptive information.

Explain

Explain why screen readers already announce 'graphic' or 'image', making phrases like 'image of' unnecessary and repetitive.

Code Review

Review the rendered markup and interactive states that affect Avoid redundant image alternative text. 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/image-redundant-alt

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

لماذا عبارات مثل «صورة لـ» غير ضرورية؟

يعلن قارئ الشاشة أصلًا أن العنصر صورة، فتكرارها يضيف ضجيجًا.

على ماذا يجب أن يركز النص البديل؟

تقول المهارة إنه يجب أن يقدم معلومات وصفية فريدة عما تُظهره الصورة.

كيف يمكن التحقق من النتيجة؟

تقترح المهارة أدوات إمكانية الوصول في المتصفح أو التقنيات المساعدة.

التفاصيل

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

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Avoid redundant image alternative text. 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
الترتيب
#2886
الترخيص
MIT
آخر تحديث
31‏/10‏/2026

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

0

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

التعليقات

  • …

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

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