carbon-design-system / carbon-platform

The "next" version of the Carbon Design System website, as a platform.
https://next.carbondesignsystem.com
Apache License 2.0
21 stars 5 forks source link

Set unique meta title tags #908

Closed mattrosno closed 1 year ago

mattrosno commented 2 years ago

Summary

Per https://moz.com/learn/seo/title-tag, every page should have a unique page titles for SEO. The most important part of the title should be first, as that's shown in browser tabs. They should be 50 - 60 characters in length, but that's not as important; we can go over 60 characters.

This is great: image.png

When we have page tabs, the meta title should be Color - Accessibility - Carbon Design System: image.png

Let's include the library in the asset meta titles, so this example should be Alluvial - Carbon Charts Svelte - Carbon Design System: image.png

Also Library assets - Carbon Charts Svelte - Carbon Design System, for example: image.png

We don't need to include library versions in meta titles because in a separate issue, we'll set canonical links so only the "latest" version of library and asset web pages will get indexed by search engines.

Also, this information could be useful for our search service for when we provide a site search.

Acceptance criteria

What requirements must be met to complete this request?

  1. All pages have unique page titles
mattrosno commented 2 years ago

This will also give us better reporting in Google Analytics, once all page titles are unique across the site.

image
mattrosno commented 2 years ago

Hey team! Please add your planning poker estimate with ZenHub @alisonjoseph @andreancardona @jdharvey-ibm