-
Notifications
You must be signed in to change notification settings - Fork 180
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
feat: add BreadcrumbSkeleton component #200
feat: add BreadcrumbSkeleton component #200
Conversation
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.
Disable active elements, it's currently possible to tab to them and activate them using the keyboard
@@ -0,0 +1,15 @@ | |||
<template> | |||
<div class="bx--breadcrumb-item"> | |||
<a href="/#" class="bx--link"> |
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.
This should be disabled (as other active content e.g. button in CvAccordionItemSkeleton).
Use the following for link
aria-disabled tabindex="-1"
The same for buttons, input etc if setting disabled has other visual consequences.
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.
Looks like it's enough to remove its href
attribute to fix this. Is it ok?
Fine with me.
Regards Lee
On 13 Feb 2019, at 13:37, Aleksandr Sabov <[email protected]<mailto:[email protected]>> wrote:
@sabov commented on this pull request.
________________________________
In src/components/cv-breadcrumb/_cv-breadcrumb-item-skeleton.vue<#200 (comment)>:
@@ -0,0 +1,15 @@
+<template>
+ <div class="bx--breadcrumb-item">
+ <a href="/#" class="bx--link">
Looks like it's enough to remove its href attribute to fix this. Is it ok?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#200 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AOY0DCi8Jefmj6JKWVNhcz5asPmCTFqnks5vNBUdgaJpZM4a5H5Y>.
|
* feat: add AccordionSkeleton and SkeletonText components * feat: add BreadcrumbSkeleton component * chore: disable active elements like links and buttons
* feat: add AccordionSkeleton and SkeletonText components * feat: add BreadcrumbSkeleton component * chore: disable active elements like links and buttons
Issue #167
Adds
CvBreadcrumbSkeleton
components. UpdatesCvBreadcrumb
story.Changelog
New
CvBreadcrumbSkeleton
Changed
CvBreadcrumb
story