Summary list
Label and value pairs, each with a change link. The check-your-answers page before submitting.
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.