-
Notifications
You must be signed in to change notification settings - Fork 17
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
Show breadcrumbs consistently #238
Conversation
Currently we don't show the breadcrumbs if the format traditionally doesn't have them. On other pages on GOV.UK we've introduced the breadcrumbs, whether or not they're set. For example, https://www.gov.uk/aaib-reports just has a "Home" breadcrumb, because https://www.gov.uk/aaib-reports/aaib-investigation-to-airbus-a319-111-g- ezfj has a breadcrumb to that page. This adds consistent breadcrumbs to all pages. This means that we'll show empty "Home" breadcrumbs for fatality notices, statistics announcements, statistical data sets, "take part" pages and groups.
👍 to the simplification However, is this useful to users? It looks like we're pushing the content down further and adding a duplicate link (ie Home is the same as clicking on the GOV.UK logo). |
I think @alextea mentioned they had user research suggesting that people do indeed use the home breadcrumb on it's own. |
@NickColley we've not tested showing pages with just "Home", so not sure about that, but not all users understand that the logo is a link so I think adding this is a step in the right direction. |
Just to weigh in - I'm currently fixing a bug in whitehall's statistical data set presenter to include In general, I'll echo @fofr on the 👍 for simplification, but also raise a question about the user need for a single breadcrumb that only goes home. |
@NickColley In a lot of the user research users would go to click the "Home" breadcrumb link first before anything else, but like Alex said we haven't tested pages with home on it's own. |
We've also done a quick research in analytics just now: If we take https://www.gov.uk/aaib-reports as an example of a page with only a "Home" breadcrumb. It has 7,691 unique pageviews over the last month, of which 160 people clicked "Home". That's quite a lot. Overall in the last 30 days 741,789 people clicked the "Home" in the breadcrumb, mostly from browse & done pages. |
#238 introduced breadcrumbs on all pages. Because HTML publications weren't in the list of migrated formats in the readme (fixed in #239) I hadn't checked that. @fofr helpfully pointed me to that. Because HTML publications have its publication in the links as `parent`, the breadcrumb magically shows the parent publication. This means we can remove the link on the right. Because the breadcrumb takes care of its own height, we no longer need to include the responsive-top-margin mixin.
#238 introduced breadcrumbs on all pages. Because HTML publications weren't in the list of migrated formats in the readme (fixed in #239) I hadn't checked that. @fofr helpfully pointed me to that. Because HTML publications have its publication in the links as `parent`, the breadcrumb magically shows the parent publication. This means we can remove the link on the right. Because the breadcrumb takes care of its own height, we no longer need to include the responsive-top-margin mixin.
#238 introduced breadcrumbs on all pages. Because HTML publications weren't in the list of migrated formats in the readme (fixed in #239) I hadn't checked that. @fofr helpfully pointed me to that. Because HTML publications have its publication in the links as `parent`, the breadcrumb magically shows the parent publication. This means we can remove the link on the right. Because the breadcrumb takes care of its own height, we no longer need to include the responsive-top-margin mixin.
We should validate that "Home" takes people to the place they expect. |
Currently we don't show the breadcrumbs if the format traditionally doesn't have them.
On other pages on GOV.UK we've introduced the breadcrumbs, whether or not they're set. For example, https://www.gov.uk/aaib-reports just has a "Home" breadcrumb, because
https://www.gov.uk/aaib-reports/aaib-investigation-to-airbus-a319-111-g-ezfj has a breadcrumb to that page.
This adds consistent breadcrumbs to all pages. This means that we'll show empty "Home" breadcrumbs for fatality notices, statistics announcements, statistical data sets, "take part" pages and groups. Note that it's super easy to set the breadcrumb for these pages, by adding a
parent
link to the presenter in Whitehall.This should make #237 a little easier.
@NickColley @fofr thoughts?
Examples