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

link-text

ما الذي تفعله

تراجع هذه المهارة نصوص الروابط في الصفحة، وتستبدل العبارات العامة بعبارات وصفية. وهي موجهة إلى كل من يبني صفحات الويب أو يحررها ويريد أن تعمل جيدًا مع قارئ الشاشة.

متى تستخدمها

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

رابط المهارة

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

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

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

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

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

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

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

“هل تستطيع المرور على صفحتي وتغيير أي نص رابط يقول «انقر هنا» أو «اقرأ المزيد»؟”

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

كيف تعمل

يقرأ الوكيل كل رابط ويتحقق مما إذا كان نصه يصف الوجهة وحده. وإذا لم يكن كذلك، يقترح صياغة أوضح أو تسمية aria-label مناسبة.

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

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

Use descriptive link text

Screen reader users navigate by listing all links—'click here' repeated 10 times tells them nothing, while descriptive links let them jump directly to relevant content.

Quick Reference

  • Avoid generic text like 'click here', 'read more', 'learn more'
  • Link text should describe the destination without surrounding context
  • Use links for navigation to a URL, not for in-page actions
  • Use aria-label when visual design requires short text
  • Include file type and size for download links

Check

Review all links and verify text describes the destination. Avoid generic phrases like 'click here', 'read more', 'learn more' without additional context. Check that screen readers can understand link purpose out of context.

Fix

Replace generic link text with descriptive phrases. Use aria-label or aria-labelledby when visual design requires short text but context is needed. Ensure each link's purpose is clear from its text alone.

Explain

Explain how screen reader users often navigate by listing all links on a page, and why 'click here' repeated multiple times provides no useful information about where each link leads.

Code Review

Review the rendered markup and interactive states that affect Use descriptive link 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/link-text

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

لماذا يهم نص الرابط لمستخدمي قارئ الشاشة؟

كثير من مستخدمي قارئ الشاشة يتنقلون بين قائمة الروابط في الصفحة كلها، فيجب أن يكون لكل رابط معنى بمفرده.

متى تكون تسمية aria-label ضرورية؟

تفيد عندما يحتاج التصميم إلى نص قصير، لكن الرابط ما زال يحتاج سياقًا أوسع.

هل تحتاج روابط التنزيل إلى شيء خاص؟

نعم. تقترح المهارة إدراج نوع الملف وحجمه في نص رابط التنزيل.

التفاصيل

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

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

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

0

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

التعليقات

  • …

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

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