Skip to content
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

Merged
merged 5 commits into from
Feb 13, 2019

Conversation

sabov
Copy link
Contributor

@sabov sabov commented Feb 13, 2019

Issue #167

Adds CvBreadcrumbSkeleton components. Updates CvBreadcrumb story.

Changelog

New

  • CvBreadcrumbSkeleton

Changed

  • CvBreadcrumb story

Copy link
Member

@lee-chase lee-chase left a 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">
Copy link
Member

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.

Copy link
Contributor Author

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?

@lee-chase
Copy link
Member

lee-chase commented Feb 13, 2019 via email

@lee-chase lee-chase merged commit cf5c443 into carbon-design-system:master Feb 13, 2019
@sabov sabov deleted the breadcrumb-skeleton branch February 14, 2019 08:52
dcwarwick pushed a commit to dcwarwick/carbon-components-vue that referenced this pull request Mar 18, 2019
* feat: add AccordionSkeleton and SkeletonText components

* feat: add BreadcrumbSkeleton component

* chore: disable active elements like links and buttons
dcwarwick pushed a commit to dcwarwick/carbon-components-vue that referenced this pull request Mar 18, 2019
* feat: add AccordionSkeleton and SkeletonText components

* feat: add BreadcrumbSkeleton component

* chore: disable active elements like links and buttons
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants