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

identical-links-same-purpose

ما الذي تفعله

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

متى تستخدمها

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

رابط المهارة

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/identical-links-same-purpose/SKILL.md

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

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

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

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

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

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

“هل يمكنك فحص ما إذا كانت الروابط التي لها النص نفسه تقود إلى المكان نفسه؟”

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

كيف تعمل

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

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

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

Ensure identical links have consistent destinations

When links with identical text lead to different destinations, it creates confusion and unpredictability, especially for users who rely on a list of links to navigate.

Quick Reference

  • Links with the same text should point to the same URL
  • Differentiate links that lead to different places
  • Reduces confusion for screen reader users navigating by link list

Check

Identify any links on the page that have identical link text but point to different URLs.

Fix

Change the link text to be unique for each destination, or ensure that identical text always leads to the same resource.

Explain

Explain how identical link text for different destinations can mislead users, particularly those using screen readers to scan a list of links.

Code Review

Review the rendered markup and interactive states that affect Ensure identical links have consistent destinations. 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/identical-links-same-purpose

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

لماذا يهم هذا؟

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

ما أبسط حل؟

تقترح المهارة أن يصف نص كل رابط وجهته الخاصة.

كيف يُتحقق من الإصلاح؟

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

التفاصيل

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

Use when reviewing rendered HTML, interactive components, or design-system patterns related to Ensure identical links have consistent destinations. 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
الترتيب
#2881
الترخيص
MIT
آخر تحديث
31‏/10‏/2026

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

0

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

التعليقات

  • …

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

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