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

Display an H1 of the page title on some worldwide org pages #3525

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

hannako
Copy link
Contributor

@hannako hannako commented Jan 17, 2025

What

Before After
Screenshot 2025-01-17 at 14 59 20 Screenshot 2025-01-17 at 14 58 02

How

Current behaviour: The logo is wrapped in an H1
New behaviour: If the logo text and the page title is the same, the logo is wrapped in an H1, if it's not, the page title is added as an H1

Trello

@govuk-ci govuk-ci temporarily deployed to government-frontend-pr-3525 January 17, 2025 14:57 Inactive
@hannako hannako requested a review from MartinJJones January 17, 2025 15:01
Worldwide or pages wrap the logo and logo text in an H1. When the logo text
is different from the page title, we will add the page title as an H1 instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants