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

Update side nav heading structure #231

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

davidhunter08
Copy link
Collaborator

What

  • changed the side nav default heading to a h3
  • added a visually hidden h2 (same as the gov design system).

Why

The side nav heading elements were not in a sequentially-descending order.

Screenshot 2025-01-23 at 12 28 48

GOV.UK code example:

Screenshot 2025-01-23 at 12 29 02

@davidhunter08 davidhunter08 merged commit 43163f5 into main Jan 23, 2025
4 checks passed
@davidhunter08 davidhunter08 deleted the side-nav-accessibility branch January 23, 2025 15:52
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