Open Kelderro opened 2 years ago
Hi @Kelderro , thanks for opening this issue!
Storefront is in maintenance mode and, at least for now, we will not work on this issue.
Hey @Kelderro,
This is what I’ve done:
Through ftp go to /themes/inc/woocommerce/storefront-woocommerce-template-functions
then search for storefront_handheld_footer_bar_search
probably line 715
.
Modify echo '<a href=""'
for echo '<a href="#"'
.
This way Google Pagespeed Insight mobile search error it’s solved.
However, keep in mind every time parent theme it’s updated, you got to do it again.
Best regards,
Mercadearse
Is your feature request related to a problem? Please describe.
PageSpeed Insights reports the following when the active theme is storefront: This is caused by the handheld footer bar search. The tag that is used contains an empty href attribute which affect the SEO scoring.
Describe the solution you'd like
There are two solutions to implement this enhancement:
javascript:;
. This can be done by changing line 706 in the storefront-woocommerce-template-functions.php file. From:to
Describe alternatives you've considered
#
. This is not acceptable as this could be a valid link in HTML5.