dwp / govuk-casa

Framework for creating simple GOVUK Collect-And-Submit-Applications
ISC License
34 stars 24 forks source link

Follow Design System "Check Answers" pattern #10

Closed colinrotherham closed 5 years ago

colinrotherham commented 5 years ago

This primarily enables the govukSummaryList() macro for Check Answers review blocks like: https://design-system.service.gov.uk/patterns/check-answers/

Check Answers

I've also gone through the two example sites and added some tidy-ups.

Feel free to cherry pick what you'd like:

1. Upgraded examples to CASA v4 in package.json All CASA macros now include with context

2. Added a workaround for editOriginUrl It wasn't set correctly for custom review pages

3. Wired up the "Task List" pattern This now shows/hides the aria-describedby completed labels

Task list

lhokktyn commented 5 years ago

Thanks @colinrotherham 👍 Merged