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

07-22-2024: Demote multiple h1s on homepage #3923

Open
AnitaYCheng opened this issue Jul 22, 2024 · 0 comments · May be fixed by #4065
Open

07-22-2024: Demote multiple h1s on homepage #3923

AnitaYCheng opened this issue Jul 22, 2024 · 0 comments · May be fixed by #4065

Comments

@AnitaYCheng
Copy link
Contributor

Expected Behavior

Each section heading on the TTS Handbook homepage should be h2 to be semantically correct and accessible to screen readers.

Current Behavior

Each section heading on the TTS Handbook homepage is actually an h1, resulting in 11 h1s on the homepage.
image

Possible Solution

The section headings look like they're automatically pulled in from a navigation file. There could be some kind of processing that "demotes" the headings before they're rendered on the homepage. (I have no idea how to do this in Eleventy, just wanted to put this out there!)

@mgwalker mgwalker linked a pull request Jan 13, 2025 that will close this issue
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 a pull request may close this issue.

1 participant