-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accessibility - breadcrumb <a> tags cannot be navigated with keyboard #66
Comments
I think this also prevents the cursor from turning into a pointer when it hovers over a breadcrumb |
Updated to add the edit about not being able to activate links with keyboard |
A recent move from Thanks for reporting this issue on a11y. A fix will be rolled out shortly! |
Thanks a lot! |
🐞 Bug report
Description
Breadcrumbs use a (click) handler for navigation, and do not have a [href] attribute. Pressing tab key to navigate will skip these links. They should either have a href attribute, or then add a tabindex=0 (or customizable).
Edit: Also, if you add tabindex programatically to the
<a>
tags, you cannot activate the link with a keyboard, as it only has a(click)
handler, no keyboard handlers.🔬 Minimal Reproduction
Any regular use
💻Your Environment
Angular Version:
xng-breadcrumb version
6.3.4
The text was updated successfully, but these errors were encountered: