Page structure
Footer
Who runs the website, how to contact them, the main sections and the links every government website must have.
When to use
- On every page, at the bottom.
When not to use
- As a place for news or promotions.
How to use
- On the left: logo, name, what the institution does, address, email and phone.
- On the right: each main section with up to five of its most-used pages.
- Along the bottom: the copyright line, and at least Accessibility, Privacy and Disclaimer. NITA's standards ask every government website for these.
Accessibility
What GGDS does
- White text on every theme colour meets the strictest contrast level (7:1).
- Every link is at least 44px tall.
- Each section's links are a separate navigation area, named after the section.
- The flag band is decoration only.
What you need to do
- Link Accessibility, Privacy and Disclaimer pages in the bottom bar, and keep your accessibility statement up to date.
- Write the address in an
<address>and link email and phone withmailto:andtel:.
Example: Footer
<footer class="ggds-footer">
<div class="ggds-container ggds-footer__main">
<div>
<p class="ggds-footer__identity"><span class="ggds-header__monogram" aria-hidden="true">EA</span><span>Example Agency</span></p>
<p class="ggds-footer__purpose">We license telecommunications and broadcasting services and protect consumers.</p>
<address class="ggds-footer__contact">
<span>1 Example Road, Accra, Ghana · GA-000-0000</span>
<a href="mailto:info@example.gov.gh">info@example.gov.gh</a>
<span>General enquiries: +233 30 000 0000</span>
</address>
<p class="ggds-footer__more"><a href="/about/contact/">All contact details and offices</a></p>
</div>
<div class="ggds-footer__sections">
<nav class="ggds-footer__section" aria-label="Services">
<p class="ggds-footer__heading"><a href="/services/">Services</a></p>
<ul class="ggds-footer__list">
<li><a href="/services/">Find a service</a></li>
<li><a href="/services/fees/">Fees and charges</a></li>
<li><a href="/services/portals/">Application portals</a></li>
</ul>
</nav>
<nav class="ggds-footer__section" aria-label="Laws & regulations">
<p class="ggds-footer__heading"><a href="/regulation/">Laws & regulations</a></p>
<ul class="ggds-footer__list">
<li><a href="/regulation/?type=act">Laws & regulations</a></li>
<li><a href="/regulation/consultations/">Public consultations</a></li>
</ul>
</nav>
<nav class="ggds-footer__section" aria-label="About & contact">
<p class="ggds-footer__heading"><a href="/about/">About & contact</a></p>
<ul class="ggds-footer__list">
<li><a href="/about/contact/">Contact us</a></li>
<li><a href="/about/contact/#offices">Offices</a></li>
</ul>
</nav>
</div>
</div>
<div class="ggds-footer__bottom">
<ul class="ggds-container ggds-footer__bar">
<li>© 2026 Example Agency</li>
<li><a href="/accessibility/">Accessibility</a></li>
<li><a href="/privacy/">Privacy</a></li>
<li><a href="/disclaimer/">Disclaimer</a></li>
<li><a href="/sitemap/">Sitemap</a></li>
</ul>
</div>
</footer><footer className="ggds-footer">
<div className="ggds-container ggds-footer__main">
<div>
<p className="ggds-footer__identity"><span className="ggds-header__monogram" aria-hidden="true">EA</span><span>Example Agency</span></p>
<p className="ggds-footer__purpose">We license telecommunications and broadcasting services and protect consumers.</p>
<address className="ggds-footer__contact">
<span>1 Example Road, Accra, Ghana · GA-000-0000</span>
<a href="mailto:info@example.gov.gh">info@example.gov.gh</a>
<span>General enquiries: +233 30 000 0000</span>
</address>
<p className="ggds-footer__more"><a href="/about/contact/">All contact details and offices</a></p>
</div>
<div className="ggds-footer__sections">
<nav className="ggds-footer__section" aria-label="Services">
<p className="ggds-footer__heading"><a href="/services/">Services</a></p>
<ul className="ggds-footer__list">
<li><a href="/services/">Find a service</a></li>
<li><a href="/services/fees/">Fees and charges</a></li>
<li><a href="/services/portals/">Application portals</a></li>
</ul>
</nav>
<nav className="ggds-footer__section" aria-label="Laws & regulations">
<p className="ggds-footer__heading"><a href="/regulation/">Laws & regulations</a></p>
<ul className="ggds-footer__list">
<li><a href="/regulation/?type=act">Laws & regulations</a></li>
<li><a href="/regulation/consultations/">Public consultations</a></li>
</ul>
</nav>
<nav className="ggds-footer__section" aria-label="About & contact">
<p className="ggds-footer__heading"><a href="/about/">About & contact</a></p>
<ul className="ggds-footer__list">
<li><a href="/about/contact/">Contact us</a></li>
<li><a href="/about/contact/#offices">Offices</a></li>
</ul>
</nav>
</div>
</div>
<div className="ggds-footer__bottom">
<ul className="ggds-container ggds-footer__bar">
<li>© 2026 Example Agency</li>
<li><a href="/accessibility/">Accessibility</a></li>
<li><a href="/privacy/">Privacy</a></li>
<li><a href="/disclaimer/">Disclaimer</a></li>
<li><a href="/sitemap/">Sitemap</a></li>
</ul>
</div>
</footer>Use it
- Stylesheet
ggds.cssincludes it. To load only the parts you use:core.css, thencomponents/footer.css(0.9 KB with gzip, minified).- JavaScript
- None needed.
HTML
Copy the HTML under each example above. It works in any website.
Astro
With @ggds/astro:
import Footer from '@ggds/astro/Footer.astro';
<Footer name="National Communications Authority"
purpose="We regulate communications in Ghana."
contact={{ email: 'info@nca.org.gh', moreHref: '/contact/' }} />React and Next.js
With @ggds/react:
import { Footer } from '@ggds/react';
<Footer name="Example Agency" purpose="We license businesses and protect consumers."
contact={{ email: 'info@example.gov.gh', moreHref: '/contact/' }}
bar={[{ label: 'Accessibility', href: '/accessibility/' }, { label: 'Privacy', href: '/privacy/' }]} />Django
With ggds-django ({% load ggds %}):
{% ggds_footer name="National Communications Authority" purpose="We regulate communications in Ghana." sections=sections links=footer_links %}Classes and states
| Class | What it does |
|---|---|
.ggds-footer | The footer, in the institution's deep colour with the woven flag band. Leaves room for the tab bar when one follows it. |
.ggds-footer__main | The upper part: identity and contact on the left, sections on the right from 64rem. |
.ggds-footer__identity | Logo or initials, name and purpose. |
.ggds-footer__logo | The logo or initials badge. |
.ggds-footer__purpose | One sentence on what the institution does. |
.ggds-footer__contact | The <address>: postal address, email and phone. |
.ggds-footer__more | The link to the full contact page. |
.ggds-footer__sections | The main sections, in columns. |
.ggds-footer__section | One section: a <nav> named after it. |
.ggds-footer__heading | A section's heading, linking to the section. |
.ggds-footer__list | A section's most-used pages (up to five). |
.ggds-footer__bottom | The bottom bar: copyright and the required links. |
.ggds-footer__bar | The required links: Accessibility, Privacy, Disclaimer and others. |
Accessibility tests
Automated, on every change
These run each time GGDS changes. A change that fails one is not accepted.
- WCAG 2.2 A and AA rules (axe), at desktop and phone widths, on every example
- No sideways scrolling on a 320px screen, also with a wide font, on every example
- Every approved colour pair meets its contrast minimum, for every institution theme
- No inline scripts or styles, so it runs under a strict Content Security Policy
By people, with assistive technology
Automated tests find only some of the barriers people meet. These checks are still to be done.
| Check | Result | Notes |
|---|---|---|
| Keyboard only | Not tested yet | Waiting for the external audit with disabled people (decision D-09). |
| NVDA screen reader with Firefox or Chrome (Windows) | Not tested yet | Waiting for the external audit with disabled people (decision D-09). |
| JAWS screen reader with Chrome (Windows) | Not tested yet | Waiting for the external audit with disabled people (decision D-09). |
| VoiceOver screen reader with Safari (iPhone) | Not tested yet | Waiting for the external audit with disabled people (decision D-09). |
| TalkBack screen reader with Chrome (Android) | Not tested yet | Waiting for the external audit with disabled people (decision D-09). |
| Zoom to 400%, and increased text spacing | Not tested yet | Waiting for the external audit with disabled people (decision D-09). |
| Windows contrast themes (forced colours) | Not tested yet | Waiting for the external audit with disabled people (decision D-09). |
| Voice control (Voice Access or Dragon) | Not tested yet | Waiting for the external audit with disabled people (decision D-09). |
Changes
| Version | Change |
|---|---|
| 0.4.0 | Fix: a website made with a logo showed it in the footer with the header's class and size. It now has the footer's own, ggds-footer__logo at 48 pixels, as the footer component does. Websites without a logo are unchanged. |
| 0.1.0 | Header, hero, footer and cards share one design: one-row header with the flag-colour line, woven flag band in the footer, institution cards with a line in each institution's colour. |
| 0.1.0 | New: @ggds/astro, the page parts as Astro components (skip link, banner, header, hero, footer, tab bar). |
| 0.1.0 | New: ggds-django, for Django and Django-based CMSs such as Wagtail: the page parts as template tags, a form renderer that turns any Django form into GGDS markup with an error summary and accessible errors, and the GGDS styles, themes and script as static files. |
| 0.1.0 | Added. |
Related components
Something wrong, unclear or missing? or suggest a change to it on GitHub. You need a GitHub account.