While using an anchor link with a hash is a common practice for linking to a JavaScript-powered interaction, I understand your concern about staying up to date with the latest recommendations for best practices. Therefore, we'll take a look into altering that to use a button instead. I can provide you with a pre-release copy of the theme with that change here in this ticket once it's implemented in the upcoming few days.
Hello, unfortunately the following code is displayed as standard for all Salient themes:
<div class="col span_9 col_last">
<div class="nectar-mobile-only mobile-header"><div class="inner"></div></div>
<div class="slide-out-widget-area-toggle mobile-icon slide-out-from-right" data-custom-color="false" data-icon-animation="simple-transform">
<div> <a href="#sidewidgetarea" role="button" aria-label="Navigation Menu" aria-expanded="false" class="closed">
The empty link (href=#sidwidgetarea) is penalised by Google, which is very bad, as it then affects all pages of a website immediately.
The "Off Canvas Menu" option is already switched off in the WordPress Salient menu. The code remains anyway.
How can the problem be solved in the short term? And can you please fix this problem in a later update?
Thank you
Felix
Hey Felix,
While using an anchor link with a hash is a common practice for linking to a JavaScript-powered interaction, I understand your concern about staying up to date with the latest recommendations for best practices. Therefore, we'll take a look into altering that to use a button instead. I can provide you with a pre-release copy of the theme with that change here in this ticket once it's implemented in the upcoming few days.
Kind regards,
Thank you.