solidus_starter_frontend icon indicating copy to clipboard operation
solidus_starter_frontend copied to clipboard

Clean HTML Headings for SEO in preparation of structured data update

Open fthobe opened this issue 1 year ago • 0 comments

Desired Behavior

H1-H3 tags are solely used for labels and content that should be indexed. Content that is not supposed to be indexed shall be converted into span. Guidelines for Webmasters

This happens in preparation for two pull requests:

  • structured data implementation
  • Google Analytics Implementation

Current Behavior

The template makes exhaustive use of H1 tags also meta information that shouldn't be tagged such as:

  • prices
  • sizes
  • components of item list cards in taxons

(Optional) Additional notes

It is not advisable to generalise the usage of h tags in html for anything than search engine relevant content.

An example: There is a taxon called fridges: The relevant content for this page is not every fridge in the item list but the Title and Description of the taxon.

fthobe avatar Nov 14 '24 10:11 fthobe