PUA reducing Lighthouse SEO score by 8 points (SOLVED)
-
I am using a PUA shortcode to popup extra information – however, Google’s Lighthouse Report Viewer is taking 8 points off SEO because “Links are not crawlable: Search engines may use?
href
?attributes on links to crawl websites. Ensure that the?href
?attribute of anchor elements links to an appropriate destination, so more pages of the site can be discovered”., and showing this code:<a class="paoc-popup-click paoc-popup-cust-312358 paoc-popup-simple_link paoc-popup-…" href="javascript:void(0);">
I have solved this by replacing hyperlinks with spans, and styling the cursor and text to act like a hyperlink thus:
<!-- <a class="paoc-popup-click paoc-popup-cust-<?php echo esc_attr ...
<span style="text-decoration: underline; cursor:pointer" class="paoc-popup-click paoc-popup-cust-<?php echo esc_attr ...
<!-- <a class="paoc-popup-click paoc-popup-cust-<?php echo esc_attr ...
<span style="class=cursor:pointer" paoc-popup-click paoc-popup-cust-<?php echo esc_attr...
<!-- <a class="paoc-popup-click paoc-popup-cust-<?php echo esc_attr...
<span style="class=cursor:pointer" class="paoc-popup-click paoc-popup-cust-<?php echo esc_attr...
and
<!-- <a href="javascript:void(0);" class="paoc-close-popup paoc-popup-close"> -->
<span href="javascript:void(0);" class="paoc-close-popup paoc-popup-close">This is quite a big thing in industries with high competition, so you don’t want a marketing plugin that lowers your site in the SERPs due to a lower Lighthouse SEO score when all your competitors have a perfect Lighthouse score (Since making the above changes, I have 100 in every category on desktop and on mobile the same, except 96 Performance).
I am happy to offer the above bugfix for free, but should you wish to offer me a lifetime unlimited sites licence for Popup Anything Pro, it will be gratefully received.
Best regards,
Jason
- You must be logged in to reply to this topic.