Improving Breadcrumb accessibility
See original GitHub issuePlease see the APG pattern for Breadcrumb and consider revising the Carbon Breadcrumb in the following ways (that are shown in the APG example):
- use a list (ordered list is the most semantically correct, because the order of the links matters) to contain the links (use css to hide the bullets and make the list horizontal). The advantage of this is that a screen reader can tell the user how many links are in the breadcrumb (i.e. it counts the items in the list. It would not count the children of a div because there is no semantic reason to do so).
- add
aria-current="page"
to the final link in the breadcrumb, so that screen readers can tell the user that this is the breadcrumb’s current page.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
How Can I Make Breadcrumbs Accessible for People with ...
Generally speaking, breadcrumbs improve the on-page experience for all users. WAI-ARIA markup helps to ensure that your site is accessible ...
Read more >Accessible Breadcrumbs - example and best practices - Aditus
Learn how to create accessible breadcrumbs with practical examples and code ... This page shows how you can make breadcrumbs accessible to all...
Read more >Breadcrumb Example | APG | WAI - W3C
Accessibility Features. The set of links is structured using an ordered list . A nav element labeled Breadcrumb identifies the structure as a...
Read more >Accessibility - Breadcrumb - Carbon Design System
No accessibility annotations are needed for breadcrumbs, but keep these considerations in mind if you are modifying Carbon or creating a custom component....
Read more >Breadcrumbs | Yale UI Component Library - GitLab
Breadcrumb navigation can greatly enhance the users ability to navigate and find their place within a website or web application. To prevent screen...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dakahn Also be sure the breadcrumb is in a navigation landmark region. The latest version in the Carbon sandbox is in main and it should be nav and have an aria-label=“breadcrumb”.
v10 breadcrumb is still a valid candidate for a refactor into an ordered list. keeping this open