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

breadcrumb-navigation

Skill này làm gì

Skill này kiểm tra xem breadcrumb có được đánh dấu để trình đọc màn hình hiểu hay không. Skill dành cho lập trình viên thêm các đường dẫn cho thấy trang nằm ở đâu trên website.

Khi nào nên dùng

  • ✓Khi bạn thêm đường dẫn breadcrumb vào template trang.
  • ✓Khi breadcrumb chỉ là văn bản thường, không có phần tử list hay nav.
  • ✓Khi bạn rà soát cách đánh dấu trang hiện tại trong đường dẫn.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/breadcrumb-navigation/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/breadcrumb-navigation/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

“Hãy làm cho đường dẫn breadcrumb trên trang sản phẩm của tôi dễ tiếp cận và đánh dấu đúng trang hiện tại.”

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

Cách hoạt động

Agent bọc đường dẫn trong phần tử nav có nhãn Breadcrumb, dùng danh sách có thứ tự, và đánh dấu mục cuối bằng aria-current với giá trị page.

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.

Implement accessible breadcrumb navigation

Proper breadcrumb markup helps screen reader users understand site hierarchy and their current location, while also improving SEO through structured data.

Quick Reference

  • Use nav element with aria-label='Breadcrumb'
  • Use ordered list (ol) for semantic structure
  • Mark current page with aria-current='page'
  • Keep any structured data aligned with the visible breadcrumb trail

Check

Verify breadcrumbs use nav element with aria-label, ordered list markup, and aria-current for the current page.

Fix

Implement breadcrumbs using semantic nav, ol/li structure, and proper ARIA attributes including aria-current='page'.

Explain

Explain how properly marked up breadcrumbs improve navigation, SEO, and screen reader accessibility.

Code Review

Review templates, server-rendered HTML, and shared components that output markup related to Implement accessible breadcrumb navigation. Flag exact elements, attributes, and routes where the rendered HTML violates the rule.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/html/breadcrumb-navigation

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

aria-current page dùng để làm gì?

Nó cho trình đọc màn hình biết mục nào trong đường dẫn là trang hiện tại.

Vì sao dùng danh sách có thứ tự?

Skill nói nó giúp đường dẫn breadcrumb có cấu trúc rõ ràng, mang ý nghĩa ngữ nghĩa.

Dữ liệu breadcrumb có cần khớp với đường dẫn hiển thị không?

Có. Skill nói mọi dữ liệu có cấu trúc nên khớp với breadcrumb mà người xem nhìn thấy.

Chi tiết

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

Use when reviewing templates, rendered HTML, or shared components related to Implement accessible breadcrumb navigation. Validate the final browser-facing markup, not just the source framework abstraction.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#2756
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ự