Title: SEO &#8211; Crawlability SEVERITY
Last modified: August 13, 2026

---

# SEO – Crawlability SEVERITY

 *  [hossam91](https://wordpress.org/support/users/hossam91/)
 * (@hossam91)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/seo-crawlability-severity/)
 * Google PageSpeed Insights reports a crawlability issue under “Crawling and
   Indexing
   → Links are not crawlable.”
 * The Like and Dislike buttons are currently rendered as anchor elements
   with href
   =”javascript:void(0)” attributes. This construction violates SEObest practices
   because:
    1. Search engine crawlers (Googlebot) may attempt to follow these links
    2. javascript: protocol links are not valid URLs and cannot be crawled
    3. This creates unnecessary crawl errors in Google Search Console
    4. It’s semantically incorrect for JavaScript-triggered actions
    5. Accessibility standards (WCAG) recommend using for JavaScript actions
 * AFFECTED FILES:
    - /inc/views/frontend/like.php
    - /inc/views/frontend/dislike.php
 * CURRENT PROBLEMATIC CODE:[](https://wordpress.org/support/topic/seo-crawlability-severity/void(0)?output_format=md)
 * =============================================================================
   === PROPOSED SOLUTION:
 * Replace all Like/Dislike anchor elements with semantic elements. CHANGES REQUIRED:
   File: /inc/views/frontend/like.php
   Replace:<a href=”javascript:void(0)” class
   =”pld-like-trigger pld-like-dislike-trigger…” With:<button type=”button” class
   =”pld-like-trigger pld-like-dislike-trigger…” Remove the href attribute entirely
   and use proper tag instead. File: /inc/views/frontend/dislike.phpSame replacement
   as above:<a href=”javascript:void(0)” class=”pld-dislike-trigger pld-like-dislike-
   trigger…” With:<button type=”button” class=”pld-dislike-trigger pld-like-dislike-
   trigger…” File: /js/pld-frontend.js (Minor optimization)Line 56 – Update selector
   reference from ‘a’ to ‘.pld-like-dislike-trigger’ Change from:selector.closest(‘.
   pld-like-dislike-wrap’).find(‘a’).data(‘already-liked’, 1); To:selector.closest(‘.
   pld-like-dislike-wrap’).find(‘.pld-like-dislike-trigger’).data(‘already-liked’,
   1); =========================================================================
   ======= BENEFITS OF THIS SOLUTION: ✓ Resolves Google PageSpeed Insights crawlability
   warning✓ Improves accessibility (WCAG compliance)✓ Semantically correct HTML 
   markup✓ No breaking changes to existing functionality✓ No changes to styling 
   or user experience✓ Event listeners continue to work with elements✓ Reduces crawl
   errors in Google Search Console =============================================
   =================================== BACKWARD COMPATIBILITY: This change is fully
   backward compatible: Event delegation (jQuery .on(‘click’)) works with button
   elements Data attributes remain unchanged CSS classes and styling are preserved
   No database changes required Existing website functionality is not affected =
   =============================================================================
   == IMPLEMENTATION NOTES: The jQuery event listener uses event delegation and 
   class-based targeting,not element type, so it works seamlessly with elements 
   All data attributes (data-post-id, data-trigger-type, etc.) remain intact CSS
   styling may need minor adjustments for button element defaults(recommendation:
   add “appearance: none; border: none; background: transparent;”to reset default
   button styling if needed) ===================================================
   ============================= RECOMMENDATION: Implement these changes in the 
   next update to improve: SEO compliance Accessibility standards Overall code quality
   and best practices This is a non-breaking change that will benefit all users 
   of the plugin.

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fseo-crawlability-severity%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/posts-like-dislike/assets/icon-256x256.png?rev=2087699)
 * [Posts Like Dislike](https://wordpress.org/plugins/posts-like-dislike/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/posts-like-dislike/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/posts-like-dislike/)
 * [Active Topics](https://wordpress.org/support/plugin/posts-like-dislike/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/posts-like-dislike/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/posts-like-dislike/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [hossam91](https://wordpress.org/support/users/hossam91/)
 * Last activity: [1 week, 2 days ago](https://wordpress.org/support/topic/seo-crawlability-severity/)
 * Status: not resolved