Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When the contents list component doesn't display (if there's 2 groups or less), then the heading level skips from H1 (page title) to H3 (group headings). Someone raised this issue in a Zendesk ticket: https://govuk.zendesk.com/agent/tickets/3800830 This commit checks whether a contents list will be displayed, and uses a H2 if not.
- Loading branch information