Open verdansk opened 3 months ago
The ARIA Authoring Practices (APG) Task Force just discussed Should the current location on a breadcrumb trail be an anchor element?
.
Per discussion in July 2, 2024 meeting,raised Modify G65 to support implementing current location in a breadcrumb trail as a link with `aria-current="page"` · Issue #3948 · w3c/wcag
@verdansk
Thank you for the question. If the meeting minutes and issue I raised regarding WCAG technique G65 do not provide a sufficient answer, please feel free to re-open this issue.
Waiting for publication of this merged pull request: Update G65.html by scottaohara · Pull Request #3951 · w3c/wcag
Issue
There are two accessibility documents conflicting on the topic of implementing breadcrumbs. From these docs it's unclear on how the last item in the breadcrumb list should be structured.
Example 1
In this example the last item is structured as an
<a>
anchor-element together with thearia-current
-attirbute:Example2
However in this document the last item on the breadcrumb trail should not be an
<a>
anchor element, as we can digest from the test-scenarios (5a, 5b). But also from the third example.Question
So this leaves me with the question what the accessibility best practices should be when it comes to the last item on a breadcrumb trail? From a UX-perspective I can see why it should be an
<a>
anchor-element, so that it can be focusable, but on the other hand it doesn't make sense to have an empty<a>
anchor-element or even a link to the current page in the breadcrumb trail. As I don't see the added value of having those.Anybody who can shed some light on this?