What problem does it solve?
This skill provides a standardized, accessible solution for hierarchical navigation (breadcrumbs), ensuring compliance with WCAG 2.1 AA guidelines and consistent UI/UX across the platform. It eliminates the need for manual accessibility checks and design iterations.
Core Features & Use Cases
- WCAG 2.1 AA Compliance: Generate semantic HTML (
<nav>, <ol>, <li>) with correct ARIA attributes (aria-label, aria-current) for screen reader compatibility.
- Responsive Design: Automatically implement mobile-friendly collapsing behavior (e.g.,
... > Last Item) for optimal display on all devices.
- React Component Integration: Provide a ready-to-use React component (
Breadcrumb.jsx) with clear props for easy integration into various learning system views.
- Use Case: Implement the breadcrumb for the "Curso de Bash" view, showing "Hub > Curso de Bash", and for "Aula 1.1", showing "Hub > Curso de Bash > Aula 1.1", ensuring all items are clickable except the current one.
Quick Start
Use the breadcrumb-impl skill to create the Breadcrumb.jsx component, integrating it into the BashLearningSystem.jsx component.