alphagov / government-frontend

Serves government pages on GOV.UK
https://docs.publishing.service.gov.uk/apps/government-frontend.html
MIT License
51 stars 17 forks source link

HMRC Manuals: Do not show the title of a section group if the group is empty #3267

Closed unoduetre closed 1 month ago

unoduetre commented 1 month ago

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

Follow these steps if you are doing a Rails upgrade.

What

In the content item for this page:https://www.gov.uk/hmrc-internal-manuals/capital-gains-manual the second child_section_group contains a title field, but an empty child_section_group array. Which renders a random looking “Updates” heading underneath the list of sections.

Why

It’s confusing, and probably an accessibility fail.

Trello ticket