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

Demote <h1> to <h2> on index page #44

Open
bastibe opened this issue Oct 21, 2019 · 1 comment
Open

Demote <h1> to <h2> on index page #44

bastibe opened this issue Oct 21, 2019 · 1 comment

Comments

@bastibe
Copy link
Owner

bastibe commented Oct 21, 2019

A website should only have one <h1>. However, our index page currently contains every post in its entirity, including each posts <h1>.

Possible solutions:

  • keep as is.
  • demote <h1> to <h2>. Then we might have multiple levels of <h2> in a single post. We could make it look right in CSS, but it is structurally wrong.
  • demote all <hX> to <hX-1>. What to do about <h5>? This might break the layout.

Any other ideas?

@fapdash
Copy link

fapdash commented Aug 25, 2024

There is a spec conforming way to define h7 for screen readers, but I don't know how many of them actually handle that as intended: https://www.w3.org/TR/WCAG20-TECHS/ARIA12.html#ARIA12-ex2

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

No branches or pull requests

2 participants