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

fix(gatsby-starter-blog): Use ol for blog post list #26601

Merged
merged 5 commits into from
Sep 28, 2020
Merged

fix(gatsby-starter-blog): Use ol for blog post list #26601

merged 5 commits into from
Sep 28, 2020

Conversation

marcobiedermann
Copy link
Contributor

@marcobiedermann marcobiedermann commented Aug 23, 2020

Description

Since posts are a collection of items that are sorted/ordered by date, they should be rendered as an ordered list in order to improve the page structure which will help search engines and screen readers to interpreter the content.

Documentation

<ol>
  <li>
    <article></article>
  </li>
</ol>

Related Issues

Moved from gatsbyjs/gatsby-starter-blog#202

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Aug 23, 2020
@wardpeet
Copy link
Contributor

Could you give us more information on why this would help SEO? Any blog posts/documentation that we can look at?

@wardpeet wardpeet added the status: needs more info Needs triaging and reproducible examples or more information to be resolved label Aug 25, 2020
@blainekasten blainekasten removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Aug 25, 2020
@marcobiedermann
Copy link
Contributor Author

@wardpeet

An ordered list, created using the OL element, should contain information where order should be emphasized

https://www.w3.org/TR/html4/struct/lists.html

Even independent from any SEO improvement this is, in general, a good practise how to structure your content.

@LekoArts LekoArts changed the title feat: Blog Markup fix(gatsby-starter-blog): Use ol for blog post list Sep 28, 2020
Copy link
Contributor

@LekoArts LekoArts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs more info Needs triaging and reproducible examples or more information to be resolved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants