Skip to main content

This is a draft (version 0.5.0). The National Information Technology Agency (NITA) plans to make GGDS official guidance for government websites after independent accessibility testing. What this means

Ghana Government Design System Design system for Government of Ghana websites – home Search

The HTML of “Check a contractor’s licence”

What goes inside <main> on each page of check a licence. The skip link, banner, header and footer around it are on the page template. Switch any block to JSX for React.

Open the example

Check a contractor’s licence (check.html)

HTML
<div class="ggds-container ggds-main">
  <h1>Check a contractor’s licence</h1>
  <p class="ggds-lead">Before you pay a contractor, check they are licensed for the work.</p>
  <form class="sc-search" action="check.html" method="get" role="search">
    <div class="ggds-field">
  <label class="ggds-label" for="q">Licence number or company name</label>
  <input class="ggds-input ggds-input--width-long" id="q" name="q" type="text" spellcheck="false" value="Asante">
</div>
    <div class="ggds-button-group"><button class="ggds-button" type="submit">Search</button></div>
  </form>
  <h2 id="results">3 licences found for “Asante”</h2>
  <div class="ggds-table-wrap" role="region" aria-labelledby="register-caption" tabindex="0">
  <table class="ggds-table">
    <caption class="ggds-table__caption" id="register-caption">Licences matching “Asante”</caption>
    <thead><tr><th scope="col">Company</th><th scope="col">Licence</th><th scope="col">Status</th><th scope="col">Until</th></tr></thead>
    <tbody>
      <tr><th scope="row"><a href="check-result.html">Asante Builders Limited</a><br><span class="sc-muted">EX-LA-2024-0318</span></th><td>Building contractor, class A</td><td><strong class="ggds-tag ggds-tag--success">Valid</strong></td><td>31 March 2027</td></tr>
      <tr><th scope="row"><a href="check-result.html">Asante and Sons Electrical</a><br><span class="sc-muted">EX-LA-2022-1150</span></th><td>Electrical contractor</td><td><strong class="ggds-tag ggds-tag--danger">Suspended</strong></td><td>Suspended 2 October 2026</td></tr>
      <tr><th scope="row"><a href="check-result.html">Asante Road Works</a><br><span class="sc-muted">EX-LA-2019-0047</span></th><td>Civil works contractor, class B</td><td><strong class="ggds-tag">Expired</strong></td><td>Ended 30 June 2025</td></tr>
    </tbody>
  </table>
</div>
</div>
JSX (React)
<div className="ggds-container ggds-main">
  <h1>Check a contractor’s licence</h1>
  <p className="ggds-lead">Before you pay a contractor, check they are licensed for the work.</p>
  <form className="sc-search" action="check.html" method="get" role="search">
    <div className="ggds-field">
  <label className="ggds-label" htmlFor="q">Licence number or company name</label>
  <input className="ggds-input ggds-input--width-long" id="q" name="q" type="text" spellCheck="false" defaultValue="Asante" />
</div>
    <div className="ggds-button-group"><button className="ggds-button" type="submit">Search</button></div>
  </form>
  <h2 id="results">3 licences found for “Asante”</h2>
  <div className="ggds-table-wrap" role="region" aria-labelledby="register-caption" tabIndex={0}>
  <table className="ggds-table">
    <caption className="ggds-table__caption" id="register-caption">Licences matching “Asante”</caption>
    <thead><tr><th scope="col">Company</th><th scope="col">Licence</th><th scope="col">Status</th><th scope="col">Until</th></tr></thead>
    <tbody>
      <tr><th scope="row"><a href="check-result.html">Asante Builders Limited</a><br /><span className="sc-muted">EX-LA-2024-0318</span></th><td>Building contractor, class A</td><td><strong className="ggds-tag ggds-tag--success">Valid</strong></td><td>31 March 2027</td></tr>
      <tr><th scope="row"><a href="check-result.html">Asante and Sons Electrical</a><br /><span className="sc-muted">EX-LA-2022-1150</span></th><td>Electrical contractor</td><td><strong className="ggds-tag ggds-tag--danger">Suspended</strong></td><td>Suspended 2 October 2026</td></tr>
      <tr><th scope="row"><a href="check-result.html">Asante Road Works</a><br /><span className="sc-muted">EX-LA-2019-0047</span></th><td>Civil works contractor, class B</td><td><strong className="ggds-tag">Expired</strong></td><td>Ended 30 June 2025</td></tr>
    </tbody>
  </table>
</div>
</div>

Asante Builders Limited (check-result.html)

HTML
<div class="ggds-container ggds-main">
  <nav class="ggds-breadcrumbs" aria-label="Breadcrumb">
    <ol class="ggds-breadcrumbs__list">
      <li class="ggds-breadcrumbs__item"><a class="ggds-breadcrumbs__link" href="check.html">Check a licence</a></li>
      <li class="ggds-breadcrumbs__item" aria-current="page">Asante Builders Limited</li>
    </ol>
  </nav>
  <h1>Asante Builders Limited</h1>
  <div class="sc-verdict">
    <p class="sc-verdict__title"><svg class="ggds-icon ggds-icon--lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z"/><path d="m8.5 12 2.5 2.5 4.5-5"/></svg> Licensed: valid until 31 March 2027</p>
    <p class="sc-verdict__text">Checked against our register today, 10 November 2026, at 6am.</p>
  </div>
  <div class="sc-layout">
    <div>
      <dl class="ggds-summary-list">
  <div class="ggds-summary-list__row">
    <dt class="ggds-summary-list__key">Licence number</dt>
    <dd class="ggds-summary-list__value">EX-LA-2024-0318</dd>
  </div>
  <div class="ggds-summary-list__row">
    <dt class="ggds-summary-list__key">Licensed for</dt>
    <dd class="ggds-summary-list__value">Building contractor, class A: buildings of any size</dd>
  </div>
  <div class="ggds-summary-list__row">
    <dt class="ggds-summary-list__key">Region</dt>
    <dd class="ggds-summary-list__value">Example Region</dd>
  </div>
  <div class="ggds-summary-list__row">
    <dt class="ggds-summary-list__key">First licensed</dt>
    <dd class="ggds-summary-list__value">1 April 2024</dd>
  </div>
  <div class="ggds-summary-list__row">
    <dt class="ggds-summary-list__key">Conditions</dt>
    <dd class="ggds-summary-list__value">None</dd>
  </div>
</dl>
      <div class="ggds-notice ggds-notice--warning" id="report">
        <p class="ggds-notice__title"><span class="ggds-visually-hidden">Warning:</span> Do the details match what you were shown?</p>
        <p>If the company name or number on their certificate is different, it may be a fake. Report it: call 030 000 0000 or email <a href="mailto:report@example.gov.gh">report@example.gov.gh</a>.</p>
      </div>
    </div>
    <aside class="sc-aside" aria-labelledby="check-help-h">
      <h2 id="check-help-h" class="sc-aside__title"><svg class="ggds-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="8.5"/><path d="M12 11v5M12 8h.01"/></svg> What the statuses mean</h2>
      <p><strong class="ggds-tag ggds-tag--success">Valid</strong> They can do this work.</p>
      <p><strong class="ggds-tag ggds-tag--danger">Suspended</strong> They must stop work until we lift it.</p>
      <p><strong class="ggds-tag">Expired</strong> They must renew before they work again.</p>
    </aside>
  </div>
</div>
JSX (React)
<div className="ggds-container ggds-main">
  <nav className="ggds-breadcrumbs" aria-label="Breadcrumb">
    <ol className="ggds-breadcrumbs__list">
      <li className="ggds-breadcrumbs__item"><a className="ggds-breadcrumbs__link" href="check.html">Check a licence</a></li>
      <li className="ggds-breadcrumbs__item" aria-current="page">Asante Builders Limited</li>
    </ol>
  </nav>
  <h1>Asante Builders Limited</h1>
  <div className="sc-verdict">
    <p className="sc-verdict__title"><svg className="ggds-icon ggds-icon--lg" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><path d="M12 3l8 3v6c0 4.5-3.4 8-8 9-4.6-1-8-4.5-8-9V6z" /><path d="m8.5 12 2.5 2.5 4.5-5" /></svg> Licensed: valid until 31 March 2027</p>
    <p className="sc-verdict__text">Checked against our register today, 10 November 2026, at 6am.</p>
  </div>
  <div className="sc-layout">
    <div>
      <dl className="ggds-summary-list">
  <div className="ggds-summary-list__row">
    <dt className="ggds-summary-list__key">Licence number</dt>
    <dd className="ggds-summary-list__value">EX-LA-2024-0318</dd>
  </div>
  <div className="ggds-summary-list__row">
    <dt className="ggds-summary-list__key">Licensed for</dt>
    <dd className="ggds-summary-list__value">Building contractor, class A: buildings of any size</dd>
  </div>
  <div className="ggds-summary-list__row">
    <dt className="ggds-summary-list__key">Region</dt>
    <dd className="ggds-summary-list__value">Example Region</dd>
  </div>
  <div className="ggds-summary-list__row">
    <dt className="ggds-summary-list__key">First licensed</dt>
    <dd className="ggds-summary-list__value">1 April 2024</dd>
  </div>
  <div className="ggds-summary-list__row">
    <dt className="ggds-summary-list__key">Conditions</dt>
    <dd className="ggds-summary-list__value">None</dd>
  </div>
</dl>
      <div className="ggds-notice ggds-notice--warning" id="report">
        <p className="ggds-notice__title"><span className="ggds-visually-hidden">Warning:</span> Do the details match what you were shown?</p>
        <p>If the company name or number on their certificate is different, it may be a fake. Report it: call 030 000 0000 or email <a href="mailto:report@example.gov.gh">report@example.gov.gh</a>.</p>
      </div>
    </div>
    <aside className="sc-aside" aria-labelledby="check-help-h">
      <h2 id="check-help-h" className="sc-aside__title"><svg className="ggds-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="8.5" /><path d="M12 11v5M12 8h.01" /></svg> What the statuses mean</h2>
      <p><strong className="ggds-tag ggds-tag--success">Valid</strong> They can do this work.</p>
      <p><strong className="ggds-tag ggds-tag--danger">Suspended</strong> They must stop work until we lift it.</p>
      <p><strong className="ggds-tag">Expired</strong> They must renew before they work again.</p>
    </aside>
  </div>
</div>

Back to top

Something wrong, unclear or missing? Report a problem with this page. You need a GitHub account.