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

Restore HTML publication H1s #3577

Merged
merged 1 commit into from
Feb 27, 2025
Merged

Restore HTML publication H1s #3577

merged 1 commit into from
Feb 27, 2025

Conversation

andysellick
Copy link
Contributor

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

What / why

  • we recently swapped out the title component (which displays a H1) with the heading component (which defaults to a H2)
  • but forgot to explicitly tell the heading component to render a H1
  • this fixes that, restoring the title of HTML publications to a H1

Example HTML publication: https://www.gov.uk/government/publications/govuk-proposition/govuk-proposition

Visual changes

None.

- we recently swapped out the title component (which displays a H1) with the heading component (which defaults to a H2)
- but forgot to explicitly tell the heading component to render a H1
- this fixes that, restoring the title of HTML publications to a H1
@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3577 February 27, 2025 15:32 Inactive
Copy link
Contributor

@KludgeKML KludgeKML left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@andysellick andysellick merged commit c1f8470 into main Feb 27, 2025
12 checks passed
@andysellick andysellick deleted the fix-html-pub-heading branch February 27, 2025 15:41
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