Skip to content

Commit

Permalink
Merge pull request #274 from canada-ca/footer-updates-en-2023-06-27
Browse files Browse the repository at this point in the history
Footer update (2023-06-27)
  • Loading branch information
Peter Crane committed Jun 28, 2023
2 parents 23d7cd0 + 0c4935e commit 0b61ca3
Show file tree
Hide file tree
Showing 9 changed files with 917 additions and 2,026 deletions.
14 changes: 13 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,16 @@ defaults:
- title: Global header
link: https://design.canada.ca/common-design-patterns/global-header.html
permalink: /common-design-patterns/:basename:output_ext

- scope:
path: "common-design-patterns/global-footer/*.md"
values:
breadcrumbs:
- title: About Canada.ca
link: https://www.canada.ca/en/government/about.html
- title: Canada.ca design system
link: https://www.canada.ca/en/government/about/design-system.html
- title: Template and pattern library for Canada.ca
link: https://www.canada.ca/en/government/about/design-system/pattern-library.html
- title: Global footer
link: https://design.canada.ca/common-design-patterns/site-footer.html
permalink: /common-design-patterns/:basename:output_ext
180 changes: 180 additions & 0 deletions common-design-patterns/global-footer/site-footer-contextual.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,180 @@
---
altLangPage: "https://conception.canada.ca/configurations-conception-communes/pied-page-contextuelle.html"
date: 2022-11-30
dateModified: 2023-04-06
description: "This is an optional element of the global (site-wide) footer."
title: "Global footer: Contextual band"
---
<p><strong>Last updated</strong>: {{ page.dateModified }}</p>
<section>
<p><span class="label label-info">Optional</span></p>
<p>The contextual footer band is an optional element of the global footer.</p>
<p>It provides support links that are specific to an entire group of pages, such as contact details for a program. A group of pages
might be an entire theme, all the pages related to a specific program or service, or all the pages related to a single
organization.</p>
<p><strong>2022 design update</strong>: We’ve recently updated this pattern as part of a new navigation strategy coming
out of the Wayfinding research project. To find out more about this project, visit the <a href="#research">Research and rationale</a> section on this page.</p>
<div class="pattern-demo mrgn-tp-lg"> <img src="../../images/footer-contextual.jpg" class="img-responsive"
alt="Diagram of contextual band for large screens. Text version below:"> </div>
<h2>On this page</h2>
<ul>
<li><a href="#use">When to use</a></li>
<li><a href="#avoid">What to avoid</a></li>
<li><a href="#design">Content and design</a></li>
<li><a href="#implement">How to implement</a></li>
<li><a href="#research">Research and rationale</a></li>
<li><a href="#latest">Latest changes</a></li>
<li><a href="#discuss">Discussion</a></li>
</ul>
<h2 id="use">When to use</h2>
<p>The footer generally acts as a rescue for people. They check it if they don't find what they want in the main content of
the page.</p>
<p>Use a contextual footer band when you have a consistent set of rescue links that should be available throughout a
specific group of pages.</p>
<ul>
<li>For example, the Taxes theme pages could have a contextual footer band with a link to Contact the CRA.</li>
</ul>
<p><strong>Tip:</strong> If your pages have previously had a contextualized Contact us link in the global footer, you should add a contextual footer band.</p>
<h2 id="avoid">What to avoid</h2>
<p>The content of this band shouldn’t duplicate the Government of Canada links in the <a href="./site-footer.html">main footer band</a>.</p>
<p>Don’t use this band for a single page. It should apply to a group of related pages.</p>
<h2 id="design">Content and design</h2>
<p>Include only 1 contextual footer band on any page.</p>
<h3>Content specifications</h3>
<p>Limit this band to a single row with a maximum of 3 links.</p>
<p>Include a heading that’s relevant to the content in this band, such as the name of the organization, theme or program.</p>
<p>Remember that it's a rescue pattern when you're choosing content for this band. It’s ok if something like a contact link appears
in both the content area and the footer. If you have a page that has contact information in the body, it’s ok to have another contact link in the footer.</p>
<p>Choose links that people will expect to find in a footer based on web conventions. Common contextual footer links could
include:</p>
<ul>
<li>Contact [...] or [...] Contacts (link to the organization or program contact page)</li>
<li>Careers (link to job postings)</li>
<li>News (or other curated indexes such as consultations)</li>
</ul>
<h3>Design specifications</h3>
<p>Design specifications for this band are:</p>
<ul>
<li>Background colour: Contextual footer blue (#33465c)</li>
<li>Text colour: white (#FFFFFF)</li>
<li>Text size: 14 px or 0.875 em</li>
<li>Font: Noto Sans</li>
<li>Columns: 3 column in large and medium screen formats, 1 column in small screen format</li>
</ul>
<h3>Visual examples</h3>
<p>The contextual band should remain the same for the whole group of pages under the theme or institution.</p>
<div class="pattern-demo">
<figure class="mrgn-bttm-lg">
<figcaption><b>Example for the Veterans and military theme</b></figcaption>
<img src="../../images/contextual-footer-theme-en.jpg" class="img-responsive" alt="Contextual band for a theme. Text version below:">
<details>
<summary class="wb-toggle" data-toggle="{&quot;print&quot;:&quot;on&quot;}">Text version</summary>
<p>Contextual band for the Veterans and military theme with the title “Contacts” and 3 contextual links: “Veterans contacts,” “Military contacts,” and “Contact the RCMP”</p>
</details>
</figure>
</div>
<div class="pattern-demo">
<figure class="mrgn-bttm-lg">
<figcaption><b>Example for an institution</b></figcaption>
<img src="../../images/contextual-footer-institutional-en.jpg" class="img-responsive" alt="Contextual band for an institution. Text version below:">
<details>
<summary class="wb-toggle" data-toggle="{&quot;print&quot;:&quot;on&quot;}">Text version</summary>
<p>Contextual band for an institution with the title “Agriculture and Agri-Food Canada” and 3 contextual links: “Contact AAFC,” “News,” and “Consultations”</p>
</details>
</figure>
</div>
</section>
<section>
<h2 id="implement">How to implement</h2>
<h3>GCweb (WET) theme implementation reference</h3>
<h4>Default</h4>
<ul>
<li><a href="https://wet-boew.github.io/GCWeb/sites/footers/no-footer-contextual-en.html">Main band and sub-footer band</a></li>
</ul>
<h4>Alternate options for standard pages</h4>
<ul>
<li><a href="https://wet-boew.github.io/GCWeb/sites/footers/footers-en.html">Complete footer (contextual, main and sub-footer bands)</a></li>
</ul>
<h4>Alternate options for transactional or campaign pages</h4>
<ul>
<li><a href="https://wet-boew.github.io/GCWeb/sites/footers/no-footer-contextual-en.html">Main band and sub-footer band</a></li>
<li><a href="https://wet-boew.github.io/GCWeb/sites/footers/only-footer-main-en.html">Main band and sub-footer band with no optional links</a></li>
<li><a href="https://wet-boew.github.io/GCWeb/sites/footers/no-footer-main-en.html">Contextual band and sub-footer band</a></li>
<li><a href="https://wet-boew.github.io/GCWeb/sites/footers/only-footer-contextual-en.html">Contextual band and sub-footer band with no optional links</a></li>
<li><a href="https://wet-boew.github.io/GCWeb/sites/footers/only-footer-corporate-en.html">Sub-footer band only</a></li>
<li><a href="https://wet-boew.github.io/GCWeb/sites/footers/no-footers-en.html">Sub-footer band only with no optional links</a></li>
</ul>
</section>
<section>
<h3>Implementations</h3>
<p>Determine the footer configuration that best suits your needs for the type of page you're creating. Refer to your implementation's guidance to customize the contextual band or sub-footer band links.</p>
<div class="wb-tabs mrgn-tp-lg">
<div class="tabpanels">
<details id="004" open="open">
<summary><strong>GC-AEM</strong></summary>
<p class="mrgn-tp-lg">For the Government of Canada Adobe Experience Manager (AEM):</p>
<ul>
<li><a href="https://www.gcpedia.gc.ca/gcwiki/images/2/22/AEM-6.5-Documentation-Unit_3-1-1-_Customizing_Global_Footer.pdf">Customizing the Global footer (PDF - only available on the Government of Canada network)</a></li>
<li><a href="https://www.gcpedia.gc.ca/wiki/AEM_GC-specific_Documentation_6.5">AEM/Managed Web Service documentation (only available on the Government of Canada network)</a></li>
</ul>
</details>
<details id="005">
<summary><strong>CDTS</strong></summary>
<p class="mrgn-tp-lg">For the Centrally Deployed Templates Solution (CDTS):</p>
<ul>
<li><a href="https://cdts.service.canada.ca/app/cls/WET/gcweb/v4_0_47/cdts/samples/footer-en.html">Complete footer (contextual, main, sub-footer bands)</a></li>
<li><a href="https://cenw-wscoe.github.io/sgdc-cdts/docs/index-en.html">CDTS documentation</a></li>
</ul>
</details>
<details id="006">
<summary><strong>Drupal WxT</strong></summary>
<p class="mrgn-tp-lg">For Drupal WxT:</p>
<ul>
<li><a href="https://drupalwxt.github.io/en/">Drupal WxT documentation</a></li>
</ul>
<p>2023 footer update:</p>
<ul>
<li><a href="https://github.com/drupalwxt/wxt/releases/tag/4.4.1">Drupal WxT (4.4.1) release notes</a></li>
<li><a href="https://drupalwxt.github.io/en/docs/general/update/">Drupal WxT update process</a></li>
</ul>
</details>
</div>
</div>
</section>
<section>
<h2 id="research">Research and rationale</h2>
<p>We updated the global footer for Canada.ca to align with a new overall navigation strategy that came out of the
Wayfinding research project.</p>
<ul>
<li><a href="https://blog.canada.ca/research-summaries/wayfinding-on-canada-ca">Wayfinding on Canada.ca research summary</a><br>
This summary explains the context of the research and the insights that drove the design updates.</li>
<li><a href="https://blog.canada.ca/2022/12/21/wayfinding-research-project">Wayfinding research project improves our approach to navigation on Canada.ca</a><br>
This blog post explains the changes that are being made to the Canada.ca design, and how they are being implemented.</li>
</ul>
</section>
<section>
<h2 id="latest">Latest changes</h2>
<dl class="dl-horizontal">
<dt>
<time datetime="2023-02-08" class="link-muted">2023-02-08</time>
</dt>
<dd>Added links to GC-AEM, CDTS and Drupal WxT implementation guidance</dd>
<dt>
<time datetime="2022-12-23" class="link-muted">2022-12-23</time>
</dt>
<dd>Added links to the research summary and blog post for the Wayfinding project</dd>
<dt>
<time datetime="2022-11-30" class="link-muted">2022-11-30</time>
</dt>
<dd>Added guidance for this new pattern</dd>
</dl>
</section>
<section>
<h2 id="discuss">Discussion</h2>
<ul>
<li><a href="https://github.com/canada-ca/design-system-systeme-conception/issues">Discuss the pattern in GitHub
issues</a></li>
<li><a href="https://design-gc-conception.slack.com/join/shared_invite/enQtODE1OTc5Mzg5NzQ4LWQ3MjZjMTdjMjk2ZTZmMTJjYWQ3ZmRiNDYwYjRmN2NjYzQyNjFlNDBlY2FkNWE1ODg2YjExY2QwZmVjN2MwMGM">Join the conversation on Slack</a></li>
<li><a href="mailto:dto.btn@tbs-sct.gc.ca">Send an email to the Digital Transformation Office</a></li>
</ul>
</section>
Loading

0 comments on commit 0b61ca3

Please sign in to comment.