Chuyển đến nội dung
Skillpedia
Website và giao diện (frontend)75k · #2922

link-text

Skill này làm gì

Skill này xem lại văn bản của các link trên trang và thay những từ chung chung bằng cụm từ mô tả. Skill dành cho bất kỳ ai xây hoặc chỉnh sửa trang web muốn trang hoạt động tốt với trình đọc màn hình.

Khi nào nên dùng

  • ✓Khi bạn nhờ agent xem lại văn bản link trên trang cho rõ ràng hơn.
  • ✓Khi trang có nhiều link ghi “read more” hoặc “learn more” và bạn muốn cải thiện chúng.
  • ✓Khi bạn xây một component hoặc hệ thiết kế cần link có nghĩa khi đứng riêng.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/link-text/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể đọc qua trang của tôi và sửa mọi link chỉ ghi “click here” hoặc “read more” không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent đọc từng link và kiểm tra xem văn bản của nó có tự mô tả đích đến không. Nếu không, agent gợi ý cách viết rõ hơn hoặc nhãn truy cập bằng aria-label.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

Câu hỏi thường gặp

Vì sao văn bản link quan trọng với người dùng trình đọc màn hình?

Nhiều người dùng trình đọc màn hình nhảy qua danh sách mọi link trên trang, nên mỗi link cần có nghĩa khi đứng một mình.

Khi nào cần aria-label?

aria-label hữu ích khi thiết kế cần văn bản ngắn nhưng link vẫn cần thêm ngữ cảnh.

Link tải xuống có nên ghi gì đặc biệt không?

Có. Skill gợi ý ghi loại tệp và dung lượng trong văn bản link của các tệp tải xuống.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#2922
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự