WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Breadcrumbs, aria-current, and tabindex zero

for

From: Joe Chidzik
Date: Jan 2, 2018 5:45AM


An approach I've seen in navigation lists, though not breadcrumbs (I think I saw this in Heydon Pickering's book on inclusive design) was to leave the current page text as a link, but point it to the main content area of the current page e.g.

<li><a href="#main" aria-current="page">Baz</a></li>
...
<main id="main" tabindex="-1">...</main>

This seemed like quite a neat approach to same page links as used in nav lists.

Joe




>