-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix: Fixed aria-current in BreadcrumbItem
#17311
fix: Fixed aria-current in BreadcrumbItem
#17311
Conversation
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current breadcrumb now gets the focus ring via keyboard navigation and VO is announcing the status 🔥
One questions :
via keyboard navigation: the last/current breadcrumb gets focus ring, and underline.
on mouse hover : underline and cursor pointer is missing on the last/current breadcrumb
Wanted to confirm the expected behaviour, It seems alright to me
Screen.Recording.2024-09-04.at.09.30.16.mov
I'm not sure about this one. I guess this is right.
This one is correct, if the breadcrumb item has |
Should the current page have the hover state, this feels odd without the cursor change. 🤔 |
BreadcrumbItem
BreadcrumbItem
@carbon-design-system/design Can anyone help on this one? |
As per the Interaction guidelines, the current page should receive no interaction, so no hover, no colour change. It technically shouldn't even receive tab stop as per Accessibility guidelines |
* fix: fixed aria-current * fix: fixed test to match the new stories * fix: fixed changes in storybook --------- Co-authored-by: Nikhil Tomar <[email protected]>
ac90647
Hey there! v11.66.0 was just released that references this issue/PR. |
Closes #16749
Added prop
isCurrent
to the logic and also added anhref
to make the breadcrumb tabbable.Testing / Reviewing