Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Conversation

unoduetre
Copy link
Contributor

⚠️ 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

@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3267 July 16, 2024 13:37 Inactive
@unoduetre unoduetre force-pushed the 2681-hmrc-manuals-do-not-show-the-title-of-a-section-group-if-its-empty-s-m branch from f5ca3a5 to fe1bae9 Compare July 16, 2024 13:48
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3267 July 16, 2024 13:48 Inactive
@unoduetre unoduetre marked this pull request as ready for review July 16, 2024 13:50
@unoduetre unoduetre merged commit a6f2a6d into main Jul 16, 2024
11 checks passed
@unoduetre unoduetre deleted the 2681-hmrc-manuals-do-not-show-the-title-of-a-section-group-if-its-empty-s-m branch July 16, 2024 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants