-
-
Notifications
You must be signed in to change notification settings - Fork 835
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
feat(seo): shift h1 tag from logo to discussion title #3724
Conversation
Many times have we seen opponents of using h2 as the discussion title. Although my own SEO knowledge is limited, I have seen the importance of structuring pages according to the content you wish to prioritize. If we only take that into consideration there is zero reason for the app-wide identical logo to take precedence over any other heading. This change makes the logo a standard (visually identical) element, and makes the discussion hero title a h1. Reviewers should focus on: - [ ] Do we want to do this (for 1.x)? - [ ] Do we need to make the logo element a different one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The .Hero h2
to .Hero h1
can be considered a breaking change styling-wise, but IMO a minor one that is easily fixable in custom designs.
Can you please also change other hero titles? (WelcomeHero
TagHero
and UserCard
)
Yeah I couldn't find a way to change this ti draft. Sorry. |
Looking at my code, it seems, making the change completely, does affect quite some rendered HTML. If we merge this for 1.7 (or 1.x in general) an entry for the Dev Upgrade Guide is required and a possible warning for end users to report issues related to it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at my code, it seems, making the change completely, does affect quite some rendered HTML
I would reduce changes, for example, admin side components don't matter.
Co-authored-by: Sami Mazouz <[email protected]>
I think we should keep our structure uniform across frontends. If we make the change it's easier to explain priority changed across all frontends instead of just one. |
Co-authored-by: Sami Mazouz <[email protected]>
@rob006 please feel free to contribute the other changes you mention in another PR 🙏🏼. |
Many times have we seen opponents of using h2 as the discussion title. Although my own SEO knowledge is limited, I have seen the importance of structuring pages according to the content you wish to prioritize. If we only take that into consideration there is zero reason for the app-wide identical logo to take precedence over any other heading.
Changes proposed in this pull request:
This change makes the logo a standard (visually identical) element, and makes the discussion hero title a h1.
Reviewers should focus on:
Necessity
Confirmed
composer test
).Required changes: