Automattic / Automattic/jetpack

Likes: remove uncrawlable a tag

Open
#30,094 4 comments 0 reactions 0 assignees View on GitHub
[Feature] Comment Likes [Feature] Likes [Platform] Atomic [Platform] Simple [Plugin] Jetpack [Pri] Low [Status] Auto-allocated [Status] Priority Review Triggered Bug Customer Report [LEGACY] Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

### Quick summary

When the Jetpack Likes module is enabled, and Social Sharing is enabled an uncrawlable link is added by the sharedaddy module - ![LlmGmx.png](https://user-images.githubusercontent.com/36801460/231803785-ef32b33e-4750-4978-9916-c6f50bfca356.png),

### Steps to reproduce

1. Ensure you have likes turned on for posts.
2. Visit a post in your site and confirm the like button is active.
3. Run the post through Page Speed Insights - https://pagespeed.web.dev/
4. Observe the crawlable link errors. on

### What you expected to happen

I expected no empty links tied to my likes and sharing buttons to affect my SEO.

### What actually happened

An empty link attribute is created tied to - 'sd-link-color'.

`

`

 

 You can also confirm this by searching in the page source for 'sd-link-color'.

### Impact

Most (> 50%)

### Available workarounds?

No but the platform is still usable

### Platform (Simple and/or Atomic)

Simple, Atomic

### Logs or notes

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with Jetpack Likes and Social Sharing enabled, then inspect the generated page source for the empty `sd-link-color` anchor added by the sharedaddy module. Use PageSpeed Insights to confirm the crawlable-link warning is gone; done means the empty link is no longer emitted while the Likes and sharing controls still work.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
performance, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.