Closed adamjohnson closed 5 years ago
I believe you can already do this by adding a breadcrumbs
data point in mock_data.yml
breadcrumbs: |
<ul class="wvu-breadcrumbs__crumbs">
<li><a href="/">Home</a></li>
<li class="active">Page</li>
</ul>
By doing this however you lose the interpolation of attribute options from the radius tag.
We see this accessibility error in local development on every single site we make. The "Home"
href
in the main nav is different from the "Home"href
in the breadcrumbs. For example, one is:https://launchlab.wvu.edu/home
#home
I would like to be able to customize the content of the
href
attribute in ther:breadcrumbs
tag. I think this will help CleanSlate designers when remediating their sites. People like to be able to achieve a "clean slate" in local development (see what I did there?).Relevant:
https://github.com/wvuweb/hammer/blob/master/hammer/services/tags/basic.rb#L487