Automattic / Automattic/jetpack
Likes: remove uncrawlable a tag
- 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 - ,
### 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
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