-
Notifications
You must be signed in to change notification settings - Fork 20
feat(mistica-css): breadcrumbs #1349
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
Changes from 2 commits
66bd7f6
e6aca66
71c74ad
1ebe98c
5b630d5
a9da94b
f56e422
a617e87
fa6aa4a
d10b64d
e5246cc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -77,6 +77,31 @@ <h3 class="mistica-text-title2">Tag</h3> | |
| <div class="mistica-tag-error">Error</div> | ||
| </div> | ||
|
|
||
| <h3 class="mistica-text-title2">Breadcrumbs</h3> | ||
| <div class="cards-group"> | ||
| <nav> | ||
| <ol class="mistica-breadcrumb-list"> | ||
|
atabel marked this conversation as resolved.
Outdated
|
||
| <li class="mistica-breadcrumb-list-item"> | ||
| <a href="/" class="mistica-breadcrumb-text"> | ||
| Home | ||
| </a> | ||
| <span class="mistica-breadcrumb-separator">/</span> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we could avoid this span by adding the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. removed and added the pseudo element
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. WAI ARIA recommends to avoid including the element as content since the screen reader will stop at it and read it. This is how they solve this problem
Extracted from: https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/examples/breadcrumb/ Would be also ideal to change React implementation to follow this? @atabel
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. in react implementation we use separated divs for |
||
| </li> | ||
| <li class="mistica-breadcrumb-list-item"> | ||
| <a href="/" class="mistica-breadcrumb-text"> | ||
| Section | ||
| </a> | ||
| <span class="mistica-breadcrumb-separator">/</span> | ||
| </li> | ||
| <li class="mistica-breadcrumb-list-item"> | ||
| <span class="mistica-breadcrumb-text-current"> | ||
| Subsection | ||
| </span> | ||
|
atabel marked this conversation as resolved.
Outdated
|
||
| </li> | ||
| </ol> | ||
| </nav> | ||
| </div> | ||
|
|
||
| <h3 class="mistica-text-title2">Buttons</h3> | ||
| <div> | ||
| <a class="mistica-button-primary" href="#">Primary</a> | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.