Components
The parts you build pages from. Each page says when to use it, when not to, and how, with live examples, the HTML to copy, the Astro and Django versions, its classes, its accessibility tests and its changes.
Page structure
Tells people the website belongs to the Government of Ghana, and how to check.
Your institution's logo and name, the main sections and search, at the top of every page.
Who runs the website, how to contact them, the main sections and the links every government website must have.
A "Skip to main content" link that appears when someone presses Tab.
Home, up to three main sections and Search, fixed to the bottom of the screen on phones.
How the parts of a page fit together, in the same order on every government website.
The top of a homepage, in your institution's colour. It asks visitors what they need.
The top of an inner page in the institution’s colour: the page’s title, a line above it and a short summary.
Classes that arrange content on a page: stacks, rows that wrap, grids and a side column, with the GGDS spacing, text sizes and colours.
Tells people a service is new and still being improved, and asks for their feedback.
Asks people before setting cookies the website does not need to work, such as analytics, and remembers their choice.
Navigation
A trail of links showing where the page sits in the website.
Links to move between pages of a long list.
Links that look like tabs, for moving between views of the same section.
A link to the previous page of a task, for when the browser's back button might not take people there.
The pages of one section of a website, beside its content, so people can move between them.
"On this page": links to the sections of a long page, so people can go straight to the part they need.
Links to the same page in other languages, each named in its own language.
A single form question with a label, an optional hint and an error message.
Let people choose one option (radios) or several (checkboxes) from a short list.
A box at the top of the page that lists every problem after a form is submitted.
Buttons do things: submit a form, save, continue.
Three boxes for day, month and year, for dates people already know, such as their date of birth.
The top of the page people see when they have finished a task: that it worked, and their reference number.
Shows people how far through a task they are, such as “Question 3 of 4”, in words and as a bar.
Tells people how many characters they can enter in a textarea, and how many they have left as they type.
The sections of a long application with the status of each, so people can do them in any order and come back later.
A password field with a Show button, so people can check what they typed before they send it.
One box for a code people receive by SMS or email, which their phone can fill in for them.
A box over the page that asks people to confirm something before it happens, such as deleting a draft.
Warns people before they are signed out for being inactive, and lets them stay signed in with one button.
Content
Asks "Did this page help you?" at the end of a page, so a service learns which pages fail people, and links to report a problem.
A message box for information, success, a warning or danger, and an urgent notice for the whole site.
A short label that shows a status, such as "Open" or "Closed".
A box that sums up a page, service or document and links to it.
Tables for data people need to compare, such as fees or opening hours.
Sections people can open and close, such as questions and answers.
Styles for text from a content management system.
Questions and answers, or labels and values, as a list, with links to change them. For "Check your answers" pages and records.
A small picture next to words, to help people find and recognise things quickly.
The few numbers that matter most on a page, each with what it measures, large enough to take in at a glance.
What has happened and what happens next, in order: the stages of an application, a complaint or a case.
An amount drawn as a bar, so people can compare rows of a table at a glance: a chart that is still a table.
A few numbered things to do, in order, each with an icon, a short title and one sentence.
Parts that rise into view, layers with depth, lines that draw themselves, and scenes that tell a story as people scroll. With no script, and still for anyone who asks for less motion.
What the status means
stable Used on live government websites and not expected to change. Any change is listed below and in What’s new.
beta Works, is tested, and is ready to use on government websites. It may still change before version 1.0, after research or the accessibility audit.
alpha New: tested automatically, but not yet used on a live government website. It may change after research with the people who use it. Tell us how it works for you.
Every component is tested automatically on every change. None has had its checks by people yet: they come with the external accessibility audit before version 1.0.