Skip to main content

afrigov is an open-source project. It is not a government website and is not affiliated with any government.

Previewing neutral core Change

afrigov Accessible government design system

Summary list

Label and value pairs, each with a change link. The check-your-answers page before submitting.

Name
Amina Bello
Change name
Date of birth
27 March 1990
Change date of birth
Contact
SMS to 0803 000 0000
Change contact
Show HTML
<dl class="ag-summary ag-mb-0">
  <div class="ag-summary__row">
    <dt class="ag-summary__key">Name</dt>
    <dd class="ag-summary__value">Amina Bello</dd>
    <dd class="ag-summary__action">
      <a href="#summary-example">Change<span class="ag-visually-hidden"> name</span></a>
    </dd>
  </div>
  <div class="ag-summary__row">
    <dt class="ag-summary__key">Date of birth</dt>
    <dd class="ag-summary__value">27 March 1990</dd>
    <dd class="ag-summary__action">
      <a href="#summary-example">Change<span class="ag-visually-hidden"> date of birth</span></a>
    </dd>
  </div>
  <div class="ag-summary__row">
    <dt class="ag-summary__key">Contact</dt>
    <dd class="ag-summary__value">SMS to 0803 000 0000</dd>
    <dd class="ag-summary__action">
      <a href="#summary-example">Change<span class="ag-visually-hidden"> contact</span></a>
    </dd>
  </div>
</dl>

Accessibility

  • It is a description list, so screen readers read each label with its value.
  • Every change link says what it changes, with the words visually hidden, so a list of links makes sense out of context.
  • The change link goes back to that question's page and returns here afterwards.
  • Without a change link, drop the third column; the grid adjusts.