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
Some breadcrumbs aren't following established IA pattern #14724
Comments
Noting: this week, content build got broken and created 1900 broken links due to a breadcrumb related issue, where some URLs are reverse engineered based on the breadcrumb. Tim and Steve know more about this, so we keep it in mind if/when we pick this up. There will be a retro and a postmortem we can read. |
@laflannery Are we able to get as comprehensive a list as possible of the pages that don't have the appropriate breadcrumbs? Breadcrumbs have a few different ways of being created:
It would be helpful to add as many pages as possible so we can confidently call this done when that time comes. |
@randimays Do you know if the 3 ways you have noted above of breadcrumbs bring created are specific to content types and/or FE templates? For example, the 3 example pages I have in the description are all Benefits Detail pages - do these all generate breadcrumbs in the same way? And if so what why would that be? And a follow up question - if I were to find examples of other content types (i.e. Vet Center pages, VAMC Detail pages, etc.) do you know if each of those templates all generate breadcrumbs in the same way as well? Or is there a possibility that 2 pages of the same content type could generate breadcrumbs in different ways? |
@laflannery The first way in the list is specific to content-build templates (not necessarily content types because each of these Benefit Detail pages uses the |
I think this is just a CMS-driven issue. I've found quite a few forms (which is my only guess at react things?) that do not have this issue. Mostly I've been looking at forms on the Supplemental forms page. The discharge wizard also does not have the issue. So with that, I'm thinking it's just a CMS issue |
👍 Thanks for the clarification! |
I believe this Slack question has to do with this ticket: https://dsva.slack.com/archives/CDHBKAL9W/p1696603359744219 |
Agree |
Also: turns out there's an epic: #5677 . Add this to it. |
@laflannery Noting: The 3 examples mentioned in the ticket body are resolved in prod. All show Home > Title in the crumbs. I suspect that was resolved by the AP recent work that established patterns for breadcrumbs for all CMS content, including cases where the FE used to be reverse engineering the breadcrumbs. Not sure if we want to keep this open for bigger eval of other pages where it may still be a problem? |
@jilladams From reading the related slack thread, I believe this was "solved" because Randi and other content folks went into the CMS and manually changed menu options. However, also from that thread there were some other questions and points that were raised regarding breadcrumbs. Has everything from that thread been addressed - it wasn't completely clear to me. It might be a good idea to update this ticket to be more generalized OR close this ticket entirely because technically it is solved as you mentioned but open a more general ticket for any lingering questions. |
@randimays a clarification for modern times. Above in thread you'd said:
That was before the recent AP work. We know now that:
So I think it's now true that #1 in your original list no longer applies, bc AP got rid of that pieces, and it all looks more like this today:
I'm not certain about the state of #2, Using breadcrumbs "automagically" created through content-build's application registry (pure React app). If that's easy to answer, I'd love to hear. If not, we can rat hole on it some time when you have time. |
@jilladams and @randimays - While working on this issue around breadcrumb guidance (thank you for filling it) I followed the thread in here and in Slack. Thus I had Micah dig into why the Veteran-facing Forms we've recently shipped were not using a web-component for breadcrumbs. Here is what he discovered:
Thus the Design System Team now has an issue to update the liquid template to use va-breadcrumb. We'll prioritize that into an upcoming sprint to be worked on hopefully this month or at the latest April. |
Interesting. This is many wires coming together and crossing in various ways as a result of our Sitewide PW / Facilities teams working to get custom code migrated to use V3 components, before the typography deadline. Currently, we'd asked Facilities FE engineers to assess our custom breadcrumb implementations in the liquid template, and prepare the way to adopt the component. That would apply to Facilities and Public Websites products that use the current liquid template, but it's a good call out that it may affect even more products if not all 57 custom-code applications belong to us. Thus: would love to let the Design System team run with solving this problem, if that works for our teams. @mmiddaugh @davidconlon any objections? (cc @xiongjaneg @FranECross) |
@jilladams This was discussed in this Slack thread between @xiongjaneg and Matt because of the confusion and duplication. The decision was that Facilities would still own it but Matt noted 2 folks to be added as PR reviewers. |
Ah, thank you. Many wires. |
Description
On some top level pages, the breadcrumbs are not following the established IA pattern, from Platform. There is just a single breadcrumb for "Home" when the proper pattern should be "Home > {currentPage}".
I also noticed that these pages are not using the
<va-breadcrumbs>
component. If these pages are able to use the component, it might be a good idea to update to this as well.Examples
Additional info
I was following up on older accessibility issues for the Harassment page trying to close them and realized that the issues still existed and applied to more pages. The tickets I was following up on, which state that this is the pattern that should be followed are:
I also found a related issue when the Resources and Support section was being built:
Acceptance Criteria
Team
Please check the team(s) that will do this work.
CMS Team
Public Websites
Facilities
User support
Accelerated Publishing
The text was updated successfully, but these errors were encountered: